From 94cfe4c8e0ade78c36e29b2fbbe8c96362c8f0d0 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期二, 21 一月 2025 11:10:21 +0800 Subject: [PATCH] bulu --- src/views/hosp/advicerules/index.vue | 70 ++-------------------------------- 1 files changed, 5 insertions(+), 65 deletions(-) diff --git a/src/views/hosp/advicerules/index.vue b/src/views/hosp/advicerules/index.vue index 57f406d..d64735b 100644 --- a/src/views/hosp/advicerules/index.vue +++ b/src/views/hosp/advicerules/index.vue @@ -8,14 +8,6 @@ v-show="showSearch" label-width="68px" > - <!-- <el-form-item label="缂栫爜" prop="bm"> - <el-input - v-model="queryParams.bm" - placeholder="璇疯緭鍏ョ紪鐮�" - clearable - @keyup.enter.native="handleQuery" - /> - </el-form-item> --> <el-form-item label="绉戝" prop="ks"> <el-input v-model="queryParams.ks" @@ -94,7 +86,7 @@ <el-button type="warning" plain - icon="el-icon-download" + icon="el-icon-upload2" size="mini" @click="handleImport" >瀵煎叆 @@ -158,30 +150,17 @@ <el-table-column label="鑼冨洿鏈�澶у��" align="center" prop="fwzdz" /> <el-table-column label="寮傚父鏍囧織" align="center" prop="ycbz" /> <el-table-column label="鏄惁鐤剧梾" align="center" prop="sfjb"> - <!-- <template slot-scope="scope"> - <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfjb" /> - </template> --> </el-table-column> <el-table-column label="鏄惁甯歌鐥�" align="center" prop="sfcjb"> - <!-- <template slot-scope="scope"> - <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfcjb" /> - </template> --> </el-table-column> <el-table-column label="鏄惁鎱㈡�х梾" align="center" prop="sfmxb"> - <!-- <template slot-scope="scope"> - <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfmxb" /> - </template> --> </el-table-column> <el-table-column label="鏄惁閲嶅ぇ鐤剧梾" align="center" width="120" prop="sfzdjb" - > - <!-- <template slot-scope="scope"> - <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.sfzdjb" /> - </template> --> - </el-table-column> + ></el-table-column> <el-table-column label="鎿嶄綔" align="center" @@ -235,7 +214,7 @@ <el-select v-model="form.ks" placeholder="璇烽�夋嫨绉戝" - style="width: 200" + style="width: 200px" @change="idFn" > <el-option @@ -602,9 +581,6 @@ idFn(value) { console.log("Selected Value:", value); this.departmentOptions.forEach((item) => { - console.log(this.departmentOptions, 333); - console.log(item, 555); - if (item.value == value) { this.form.ks = item.label; } @@ -694,7 +670,6 @@ /* 寮规纭畾鎸夐挳 */ submit() { - this.ChangeList.forEach((item) => { this.form.jymc = item.title; @@ -718,7 +693,6 @@ this.title = "娣诲姞浣撴椤圭洰寤鸿瑙勫垯鏂拌〃"; deptTreeSelect().then((response) => { this.departmentOptions = response.data[0].children; - console.log(response, 999); }); }, /** 淇敼鎸夐挳鎿嶄綔 */ @@ -732,7 +706,6 @@ }); deptTreeSelect().then((response) => { this.departmentOptions = response.data[0].children; - console.log(response, 999); }); }, @@ -758,11 +731,9 @@ }); }, handleDelete(row) { - console.log(row,6677); - - const pkValue = row.id; // 鑾峰彇涓婚敭鍊硷紝濡傛灉row涓病鏈変富閿�硷紝鍒欎娇鐢╰his.ids + const pkValue = row.id || this.ids; // 鑾峰彇涓婚敭鍊硷紝濡傛灉row涓病鏈変富閿�硷紝鍒欎娇鐢╰his.ids this.$modal - .confirm(`鏄惁纭鍒犻櫎${row.ks}缂栧彿涓�"${pkValue}"鐨勬暟鎹」锛焋) + .confirm(`鏄惁纭鍒犻櫎"${pkValue}"鐨勬暟鎹」锛焋) .then(() => { return delAdvicerules(pkValue); // 璋冪敤鍒犻櫎鎺ュ彛锛屼紶鍏ヤ富閿�� }) @@ -797,43 +768,12 @@ dangerouslyUseHTMLString: true, }); } - /* this.ListObj = response.data; - this.advicerulesList = response.data.list; - - this.userList.forEach((item) => { - this.CompanyList.forEach((item1) => { - if (item1.drugManufacturerId == this.objs.drugManufacturerId) { - item.company = item1.cnName; - } - }); - }); */ this.upload.open = false; this.upload.isUploading = false; this.$refs.upload.clearFiles(); this.leftList = response.msg; console.log(response.code); - /* if (this.leftList == "鎿嶄綔澶辫触") { - this.isdisabled = true; - this.$alert( - "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + - response.msg + - "<div style='br;margin:10px'>" + - response.data[0] + - "韬唤璇佹垨鎵嬫満鍙风爜鏈夎" + - "</div>", - "瀵煎叆缁撴灉", - { dangerouslyUseHTMLString: true } - ); - } else { - this.isdisabled = false; - this.$alert( - "<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + - response.msg, - { dangerouslyUseHTMLString: true } - ); - this.rightList = response; - } */ for (let i = 0; i < fileList.length; i++) { if (file.name != fileList[i].name) { this.fileList.push({ -- Gitblit v1.8.0