From 8003ef4e06428b1f9bc8b3d8eb26dc2563a28ccd Mon Sep 17 00:00:00 2001 From: shidongli Date: Thu, 10 Nov 2022 18:50:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=BD=AE=20=20=E5=AF=86=E7=A0=81=20?= =?UTF-8?q?=20=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/OperateGoodsInfo.js | 2 +- src/api/system/patientArchives.js | 8 ++++ src/views/system/OperateGoodsInfo/index.vue | 10 ++--- src/views/system/goodsInfo/index.vue | 45 ++++++++++++++----- src/views/system/patientArchives/index.vue | 50 ++++++++++++++++++--- src/views/system/stationItem/index.vue | 2 +- 6 files changed, 92 insertions(+), 25 deletions(-) diff --git a/src/api/system/OperateGoodsInfo.js b/src/api/system/OperateGoodsInfo.js index 5f53ad6..c648a1b 100644 --- a/src/api/system/OperateGoodsInfo.js +++ b/src/api/system/OperateGoodsInfo.js @@ -66,4 +66,4 @@ export function delGoodsInfo(goodsInfoId) { url: '/system/operateGoodInfo/' + goodsInfoId, method: 'delete' }) -} \ No newline at end of file +} diff --git a/src/api/system/patientArchives.js b/src/api/system/patientArchives.js index f984aa4..56a1dec 100644 --- a/src/api/system/patientArchives.js +++ b/src/api/system/patientArchives.js @@ -63,3 +63,11 @@ export function delPatientArchives(id) { method: 'delete' }) } +// 重置密码 +export function updatePassword(params) { + return request({ + url: '/system/patientArchives/updatePassword', + method: 'post', + params: params + }) +} diff --git a/src/views/system/OperateGoodsInfo/index.vue b/src/views/system/OperateGoodsInfo/index.vue index d2e1226..f8236fc 100644 --- a/src/views/system/OperateGoodsInfo/index.vue +++ b/src/views/system/OperateGoodsInfo/index.vue @@ -796,6 +796,7 @@ export default { created() { this.getList(); this.info(); + this.getList2() }, methods: { upwhetherShelf(row) { @@ -933,7 +934,7 @@ export default { getList2(){ getListByUser(this.nurseStationqueryParams).then((res) => { this.nursetotal = res.total; - this.nurseStationlist = res.rows; + this.nurseStationlist = res.rows; //空数组 }); }, resetQuery2() { @@ -998,6 +999,7 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + // if(this.nurseStationlist2) this.resetForm("queryForm"); this.handleQuery(); }, @@ -1154,14 +1156,10 @@ export default { this.goodsCategorylist = res.rows; }); getListByUser(this.getListByUserquery).then((res) => { + this.nurseStationlist2 = res.rows; if (res.rows[0].isAdmin == "1") { - this.nurseStationlist = res.rows; - this.total2 = res.total; } else { - this.total2 = res.total; - this.nurseStationlist = res.rows; this.queryParams.id = res.rows[0].id; - this.handleQuery(); } }); }, diff --git a/src/views/system/goodsInfo/index.vue b/src/views/system/goodsInfo/index.vue index 5495c9d..23b1770 100644 --- a/src/views/system/goodsInfo/index.vue +++ b/src/views/system/goodsInfo/index.vue @@ -8,6 +8,21 @@ v-show="showSearch" label-width="100px" > + + + + + + - + - > ', this.OrderDetailsList); }); }) - .catch(() => {}); + .catch(() => { }); }, // handleDelete(row) { // const ids = row.id || this.ids; @@ -946,7 +969,7 @@ export default { } else { this.total2 = res.total; this.nurseStationlist = res.rows; - this.queryParams.id = res.rows[0].id; + this.queryParams.nurseStationId = res.rows[0].id; this.handleQuery(); } }); diff --git a/src/views/system/patientArchives/index.vue b/src/views/system/patientArchives/index.vue index 139e803..f5003e1 100644 --- a/src/views/system/patientArchives/index.vue +++ b/src/views/system/patientArchives/index.vue @@ -197,6 +197,14 @@ v-hasPermi="['system:patientArchives:remove']" >删除 + 重置密码 @@ -387,16 +395,20 @@ /> - + -