From fb0f5d7ac6dabbfe9a1246ca07348d13a622d96c Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期三, 13 九月 2023 15:52:48 +0800 Subject: [PATCH] qxtjxg --- src/views/system/tijian/index.vue | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/views/system/tijian/index.vue b/src/views/system/tijian/index.vue index 594ee0c..1eee7b0 100644 --- a/src/views/system/tijian/index.vue +++ b/src/views/system/tijian/index.vue @@ -354,7 +354,10 @@ <el-table-column prop="proName" label="椤圭洰" width="180"> </el-table-column> <el-table-column prop="proType" label="鎬у埆" width="180"> - <template slot-scope="scope"> + <template slot-scope="scope" v-if="scope.row.proType == ''"> + {{ scope.row.proType == '' ? "鍏ㄩ儴" : ""}} + </template> + <template slot-scope="scope" v-else> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.proType" /> </template> </el-table-column> @@ -377,9 +380,12 @@ <el-table-column prop="proName" label="椤圭洰" width="180"> </el-table-column> <el-table-column prop="proType" label="鎬у埆" width="180"> - <template slot-scope="scope"> - <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.proType" /> - </template> + <template slot-scope="scope" v-if="scope.row.proType == ''"> + {{ scope.row.proType == '' ? "鍏ㄩ儴" : ""}} + </template> + <template slot-scope="scope" v-else> + <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.proType" /> + </template> </el-table-column> <el-table-column prop="ysPrice" label="搴旀敹閲戦"> </el-table-column> @@ -400,7 +406,10 @@ <el-table-column prop="proName" label="椤圭洰" width="180"> </el-table-column> <el-table-column prop="proType" label="鎬у埆" width="180"> - <template slot-scope="scope"> + <template slot-scope="scope" v-if="scope.row.proType == ''"> + {{ scope.row.proType == '' ? "鍏ㄩ儴" : ""}} + </template> + <template slot-scope="scope" v-else> <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.proType" /> </template> </el-table-column> -- Gitblit v1.8.0