From ed9308186907ecdf50be2bf5fcbd1d3ba500de76 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期三, 28 二月 2024 14:10:40 +0800 Subject: [PATCH] qxtj --- src/views/system/dept/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 685b27a..45949df 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -234,10 +234,11 @@ style="width: 200px" clearable filterable + @change="$forceUpdate()" > <el-option v-for="dict in deptOption" - :key="dict.label" + :key="dict.id" :label="dict.label" :value="dict.id" ></el-option> @@ -526,7 +527,6 @@ getlistHosp() { listHosp(this.queryParams).then((response) => { this.hospList = response.rows; - console.log(this.hospList); }); }, /** 杞崲閮ㄩ棬鏁版嵁缁撴瀯 */ @@ -659,7 +659,7 @@ // console.log(11111) // this.reset(); this.form = row; - // this.form.parentId = this.form.parentId.toString() + this.form.parentId = this.form.parentId.toString() if(this.form.parentId == 0){ this.deptOption.push({ "id": 0, "label": "涓荤被鐩�", }); } @@ -688,7 +688,7 @@ if (valid) { if (this.form.deptId != undefined) { if(this.form.hospId ){ - console.log(this.form); + // console.log(this.form); updateDept(this.form).then((response) => { this.$modal.msgSuccess("淇敼鎴愬姛"); this.open = false; -- Gitblit v1.8.0