From 0c514af1a0312caf5daef13ad57245b95be8ac07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com>
Date: Fri, 28 Apr 2023 09:25:45 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/trainingOrder/index.vue | 160 ++++++-----------------
1 file changed, 39 insertions(+), 121 deletions(-)
diff --git a/src/views/system/trainingOrder/index.vue b/src/views/system/trainingOrder/index.vue
index eeeff6f..d2b29c9 100644
--- a/src/views/system/trainingOrder/index.vue
+++ b/src/views/system/trainingOrder/index.vue
@@ -9,9 +9,18 @@
label-width="100px"
>
-
- {{ queryParams.nurseStationName }}
-
+
+
+
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -628,6 +544,7 @@ export default {
pageNum: 1,
pageSize: 10,
},
+ handstationlist: [], //页面搜索list
// 非单个禁用
single: true,
// 非多个禁用
@@ -668,37 +585,30 @@ export default {
},
created() {
this.getList();
+ this.infos();
+ this.info();
this.baseurl = baseurl;
},
methods: {
//页面所属护理站
- ParamsStation(item) {
- this.info();
- this.nurseStationshow = true;
- },
- //护理站list
+ //权限列表
info() {
- getListByUser(this.getListByUserquery).then((res) => {
+ getListByUser(this.queryParams).then(res => {
+ this.total = res.total;
this.nurseStationlist = res.rows;
- this.stationtotal = res.total;
+ this.queryParams.nurseStationId = res.rows[0].id;
+ this.getList();
+ // this.handleQuery();
});
},
- clicknurseStationshow() {
- this.nurseStationshow = false;
- },
- //护理站重置
- stationcancel() {
- this.getListByUserquery = {
+ infos() {
+ var queryFor = {
pageNum: 1,
- pageSize: 10,
+ pageSize: 9999
};
- this.info();
- },
- //护理站页面选择护理站
- choicestationid(item) {
- this.queryParams.nurseStationName = item.nurseStationName;
- this.queryParams.nurseStationId = item.id;
- this.nurseStationshow = false;
+ getListByUser(queryFor).then(res => {
+ this.handstationlist = res.rows;
+ });
},
// 章节视频
itemDirectoryUrl(item) {
@@ -801,6 +711,7 @@ export default {
};
this.resetForm("form");
},
+
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
@@ -809,10 +720,17 @@ export default {
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
- this.queryParams = {
- pageNum: 1,
- pageSize: 10,
- };
+ if (this.nurseStationlist[0]) {
+ this.queryParams.pageNum = 1;
+ this.queryParams.pageSize = 10;
+ this.queryParams.nursePersonName=null;
+ this.queryParams.trainingOrderNo=null;
+ this.queryParams.trainingOrderStatus=null;
+ }
+ // this.queryParams = {
+ // pageNum: 1,
+ // pageSize: 10,
+ // };
this.handleQuery();
},
// 多选框选中数据