From 887a5f685eb71763ce646e0c4405ff36f629a1a8 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 15 四月 2025 11:51:39 +0800 Subject: [PATCH] qx --- src/views/hosp/rules/index.vue | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue index e15b183..bee0558 100644 --- a/src/views/hosp/rules/index.vue +++ b/src/views/hosp/rules/index.vue @@ -108,7 +108,7 @@ <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> - <el-table border v-loading="loading" :data="rulesList" @selection-change="handleSelectionChange"> + <el-table border v-loading="loading" :data="rulesList" @selection-change="handleSelectionChange" height="540"> <el-table-column type="selection" width="55" align="center" /> <el-table-column label="搴忓彿" align="center" prop="newID" width="55" /> <!-- <el-table-column label="椤圭洰id" align="center" prop="proId" /> --> @@ -233,11 +233,11 @@ <el-form-item label="澶т簬鏍囪瘑" prop="heighSymbol"> <el-input v-model="form.heighSymbol" placeholder="璇疯緭鍏ュぇ浜庢爣璇�" style="width: 200px" /> </el-form-item> - <el-form-item label="瑙勫垯琛ㄧ幇" prop="ruleStr"> - <el-input type="textarea" :rows="3" v-model="form.ruleStr" placeholder="璇疯緭鍏ヨ鍒欒〃鐜�" style="width: 782px" /> + <el-form-item label="瑙勫垯琛ㄧ幇" prop="yxbx"> + <el-input type="textarea" :rows="3" v-model="form.yxbx" placeholder="璇疯緭鍏ヨ鍒欒〃鐜�" style="width: 782px" /> </el-form-item> - <el-form-item label="瑙勫垯缁撹 " prop="yxbx"> - <el-input type="textarea" :rows="3" v-model="form.yxbx" placeholder="璇疯緭鍏ヨ鍒欑粨璁�" style="width: 782px" /> + <el-form-item label="瑙勫垯缁撹 " prop="ruleStr"> + <el-input type="textarea" :rows="3" v-model="form.ruleStr" placeholder="璇疯緭鍏ヨ鍒欑粨璁�" style="width: 782px" /> </el-form-item> <!-- <el-form-item label="褰卞儚琛ㄧ幇 " prop="yxbx"> <el-input @@ -607,10 +607,10 @@ this.loading = true; // this.List = true; listAdvice(this.queryParam).then((response) => { - response.data.list.forEach((item, index) => { - item.newID = - (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; - }); + // response.data.list.forEach((item, index) => { + // item.newID = + // (this.queryParam.page - 1) * this.queryParam.pageSize + index + 1; + // }); this.adviceList = response.data.list; this.total = response.data.total; @@ -803,13 +803,13 @@ this.$modal.msgSuccess("淇敼鎴愬姛"); this.open = false; - this.getList(); + this.getListByXmId(); }); } else { addRules(this.form).then((response) => { this.$modal.msgSuccess("鏂板鎴愬姛"); this.open = false; - this.getList(); + this.getListByXmId(); }); } } @@ -824,7 +824,7 @@ return delRules(ids); }) .then(() => { - this.getList(); + this.getListByXmId(); this.$modal.msgSuccess("鍒犻櫎鎴愬姛"); }) .catch(() => { }); -- Gitblit v1.8.0