diff --git a/src/views/basic-dictionary/Unit.vue b/src/views/basic-dictionary/Unit.vue index ab94ffd..ede5e8e 100644 --- a/src/views/basic-dictionary/Unit.vue +++ b/src/views/basic-dictionary/Unit.vue @@ -83,7 +83,7 @@ :title="title == 1 ? '新增' : '编辑'" :visible.sync="dialogVisible" width="75%" - :close-on-click-modal="false" + :close-on-click-modal="false" > @@ -210,7 +210,7 @@ export default { form: { displayName: "", }, - curRow:{}, + curRow: {}, title: 1, }; }, @@ -246,7 +246,7 @@ export default { rowick(row) { unitid(row.id).then((res) => { console.log(res); - this.curRow={...res.data} + this.curRow = { ...res.data }; // this.form = res.data; }); // console.log(row); @@ -303,7 +303,7 @@ export default { }, //置顶置底 topping() { - this.form={...this.curRow} + this.form = { ...this.curRow }; if (this.form.id == undefined) { this.$message.warning("请选择操作的数据"); } else { @@ -314,7 +314,7 @@ export default { } }, toppings() { - this.form={...this.curRow} + this.form = { ...this.curRow }; if (this.form.id == undefined) { this.$message.warning("请选择操作的数据"); } else { @@ -326,7 +326,7 @@ export default { }, //删除 delsrts() { - this.form={...this.curRow} + this.form = { ...this.curRow }; if (this.form.id == undefined) { this.$message.warning("请选择删除的数据"); } else { @@ -351,7 +351,7 @@ export default { }, //编辑弹框 editpopup(row) { - this.form={...this.curRow} + this.form = { ...this.curRow }; if (this.form.id == undefined) { this.$message.warning("请选择数据"); } else { diff --git a/src/views/common-settings/SampleGroup.vue b/src/views/common-settings/SampleGroup.vue index 77746ec..f29687b 100644 --- a/src/views/common-settings/SampleGroup.vue +++ b/src/views/common-settings/SampleGroup.vue @@ -503,9 +503,9 @@ export default { //科室选择 ischangs(v) { itemtypeid(v).then((res) => { - this.ites = res.data; - // let dq = res.data; - if (ites.length > 0) { + this.ites = res.data; + let dq = res.data; + if (dq.length > 0) { dq.forEach((element) => { let bb = { displayName: element.displayName, id: element.id }; this.ites.push(bb); diff --git a/src/views/fee-settings/Item.vue b/src/views/fee-settings/Item.vue index 2f432c8..a8bc5d8 100644 --- a/src/views/fee-settings/Item.vue +++ b/src/views/fee-settings/Item.vue @@ -1,7 +1,7 @@