From ecec72d382a83718d3b1d8e60a473829c8d90d40 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期二, 15 八月 2023 21:38:03 +0800 Subject: [PATCH] 完善荣誉证书模块的类别和名称的选择输入功能;家根网可以按照身份、姓名搜索;成长经历阅历的各个小模块的时间在修改时变成可选形式 --- ruoyi-ui/src/views/honor/index.vue | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/honor/index.vue b/ruoyi-ui/src/views/honor/index.vue index 96ba9d9..d2811e5 100644 --- a/ruoyi-ui/src/views/honor/index.vue +++ b/ruoyi-ui/src/views/honor/index.vue @@ -137,8 +137,8 @@ <el-table-column type="selection" :reserve-selection="true" width="55" align="center" /> <el-table-column fixed label="搴忓彿" sortable type="index" align="center" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="60"/> <el-table-column label="绫诲埆" prop="type" sortable :show-overflow-tooltip="true" width="120" align="center" > -<!-- <template slot-scope="scope">{{scope.row.type? scope.row.type: '鈥斺�斺�斺��'}}</template>--> - <template slot-scope="scope">{{ getSrc1(scope.row.type) }}</template> + <template slot-scope="scope">{{scope.row.type? scope.row.type: '鈥斺�斺�斺��'}}</template> +<!-- <template slot-scope="scope">{{ getSrc1(scope.row.type) }}</template>--> </el-table-column> <el-table-column label="鍚嶇О" prop="name" sortable width="120" align="center" > <template slot-scope="scope">{{scope.row.name? scope.row.name: '鈥斺�斺�斺��'}}</template> @@ -479,9 +479,9 @@ newOption: undefined, showInput: true, typeOption:[ - {value:'0',label:'璇佷欢'}, - {value:'1',label:'鑽h獕'}, - {value:'2',label:'璧勮川'},] + {value:'璇佷欢',label:'璇佷欢'}, + {value:'鑽h獕',label:'鑽h獕'}, + {value:'璧勮川',label:'璧勮川'},] }; }, @@ -509,7 +509,7 @@ const newOption = this.newOption.trim(); if (newOption && !this.typeOptions.includes(newOption)) { this.typeOptions.push(newOption); - this.$set(this.formDat, 'type', newOption); // 鏇存柊formDat.type鐨勫�间负鏂扮殑閫夐」 + this.$set(this.formDat, 'name', newOption); // 鏇存柊formDat.type鐨勫�间负鏂扮殑閫夐」 } }, /** 鏌ヨ璁板綍鍒楄〃 */ -- Gitblit v1.9.1