From 6a010c2acd9864292854997a0ec8acd62d6bf3d2 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期六, 20 四月 2024 00:06:58 +0800 Subject: [PATCH] 检验模板调整 --- src/components/tool/value-table.vue | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue index 8448999..e3f3b28 100644 --- a/src/components/tool/value-table.vue +++ b/src/components/tool/value-table.vue @@ -178,7 +178,7 @@ v-if="showType(a.label, data.selectField) == null&&!showUpload(a.label)&&!showCascader(a.label)" :disabled="isDisabled(a.label)"></el-input> <el-select v-model="upData[a.label]" :multiple="data.selectField[a.label].choose" size="small" v-if="showType(a.label, data.selectField) != null" style="width: 100%;" :disabled="isDisabled(a.label)" - clearable> + clearable filterable> <el-option v-for="(b, bi) in data.selectField[a.label].select" :key="bi" :value="b.value" :label="b.label"> </el-option> @@ -222,7 +222,7 @@ v-if="showType(a.label, data.selectField) == null&&!showUpload(a.label)&&!showCascader(a.label)" :disabled="isDisabled(a.label)"></el-input> <el-select v-model="upData[a.label]" :multiple="data.selectField[a.label].choose" size="small" v-if="showType(a.label, data.selectField) != null" style="width: 100%;" :disabled="isDisabled(a.label)" - clearable> + clearable filterable> <el-option v-for="(b, bi) in data.selectField[a.label].select" :key="bi" :value="b.value" :label="b.label"></el-option> </el-select> @@ -263,7 +263,7 @@ <el-input v-model="upData[a.label]" size="small" clearable :placeholder="`璇疯緭鍏�${a.value}`" v-if="showType(a.label, data.selectField) == null&&!showUpload(a.label)&&!showCascader(a.label)"></el-input> <el-select v-model="upData[a.label]" size="small" v-if="showType(a.label, data.selectField) != null" - style="width: 100%;" :placeholder="`璇烽�夋嫨${a.value}`" clearable> + style="width: 100%;" :placeholder="`璇烽�夋嫨${a.value}`" clearable filterable> <el-option v-for="(b, bi) in data.selectField[a.label].select" :key="bi" :value="b.value" :label="b.label"></el-option> </el-select> @@ -1067,14 +1067,13 @@ // 鎵归噺鍒犻櫎 batchDelete(){ if(this.multipleSelection&&this.multipleSelection.length>0){ - // this.delUrl this.$confirm('鏄惁鍒犻櫎閫変腑鐨勬暟鎹�?', "璀﹀憡", { confirmButtonText: "纭畾", cancelButtonText: "鍙栨秷", type: "warning" }).then(() => { this.$axios.post(this.delUrl, { - id: this.multipleSelection.map(item => item.id).join(',') + ids: JSON.stringify(this.multipleSelection.map(item => item.id)) }).then(res => { if (res.code === 201) { return -- Gitblit v1.9.3