From dad56aa7392c7c914b38e4297b2e2ff4d062fab8 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期五, 18 八月 2023 23:55:06 +0800 Subject: [PATCH] 大部分模块的新增与详情中的“电子文件”改为“相关图片” --- ruoyi-ui/src/views/honor/index.vue | 23 +++++++---------------- 1 files changed, 7 insertions(+), 16 deletions(-) diff --git a/ruoyi-ui/src/views/honor/index.vue b/ruoyi-ui/src/views/honor/index.vue index 96ba9d9..0af73a3 100644 --- a/ruoyi-ui/src/views/honor/index.vue +++ b/ruoyi-ui/src/views/honor/index.vue @@ -18,7 +18,6 @@ </el-form-item> <el-form-item label="鍚嶇О" prop="name"> - <el-select v-model="queryParams.name" placeholder="鎵�鏈夊悕绉�" clearable style="width: 240px" @keyup.enter.native="handleQuery"> <el-option v-for="item in typeOptions" @@ -26,14 +25,6 @@ </el-select> </el-form-item> <el-form-item label="绫诲埆" prop="type" > -<!-- <el-input--> -<!-- v-model="queryParams.type"--> -<!-- placeholder="璇疯緭鍏ョ被鍒�"--> -<!-- clearable--> -<!-- style="width: 240px"--> -<!-- @keyup.enter.native="handleQuery">--> -<!-- <i slot="prefix" class="el-input__icon el-icon-search"></i>--> -<!-- </el-input>--> <el-select v-model="queryParams.type" placeholder="鎵�鏈夌被鍒�" @@ -137,8 +128,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> @@ -263,7 +254,7 @@ <el-input v-model="formDat.remark" placeholder="璇疯緭鍏ュ娉�" clearable :style="{width: '100%'}" ></el-input> </el-form-item> - <h4 class="form-header">鐢靛瓙鏂囦欢 </h4> + <h4 class="form-header">鐩稿叧鍥剧墖 </h4> <el-upload action="#" list-type="picture-card" @@ -479,9 +470,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 +500,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