liuzhihui 2 lat temu
rodzic
commit
511f9918e5

+ 1 - 1
CallCenterWeb.UI/RMYY/src/views/dashboard/index.vue

@@ -231,7 +231,7 @@
231 231
                 content: changeDept, // 传递的组件对象
232 232
                 parent: this, // 当前的vue对象
233 233
                 data: {
234
-                  isShow: 1
234
+                  isShow: '1'
235 235
                 }, // props
236 236
               },
237 237
               area: ["50%", "60%"],

+ 5 - 9
CallCenterWeb.UI/RMYY/src/views/faultRepairManagement/repairList/index.vue

@@ -346,7 +346,7 @@
346 346
       </el-form>
347 347
       <div slot="footer" class="dialog-footer">
348 348
         <el-button @click="dialogCooperation = false">取 消</el-button>
349
-        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrder">
349
+        <el-button type="primary" @click="postCooperationOrder">
350 350
           确 定
351 351
         </el-button>
352 352
       </div>
@@ -375,7 +375,7 @@
375 375
       </el-form>
376 376
       <div slot="footer" class="dialog-footer">
377 377
         <el-button @click="dialogCooperationIn = false">取 消</el-button>
378
-        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrderIn">
378
+        <el-button type="primary" @click="postCooperationOrderIn">
379 379
           确 定
380 380
         </el-button>
381 381
       </div>
@@ -414,7 +414,7 @@
414 414
       </el-form>
415 415
       <div slot="footer" class="dialog-footer">
416 416
         <el-button @click="dialogCooperationOut = false">取 消</el-button>
417
-        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postCooperationOrderOut">
417
+        <el-button type="primary" @click="postCooperationOrderOut">
418 418
           确 定
419 419
         </el-button>
420 420
       </div>
@@ -546,7 +546,7 @@
546 546
       </el-form>
547 547
       <div slot="footer" class="dialog-footer">
548 548
         <el-button @click="dialogDone = false">取 消</el-button>
549
-        <el-button v-loading.fullscreen.lock="isloading" type="primary" @click="postDoneOrder">确 定</el-button>
549
+        <el-button type="primary" @click="postDoneOrder">确 定</el-button>
550 550
       </div>
551 551
     </el-dialog>
552 552
     <el-dialog :visible.sync="dialogVisible">
@@ -1186,8 +1186,7 @@
1186 1186
         this.dialogDone = true;
1187 1187
         this.doneForm.workordercode = code;
1188 1188
       },
1189
-      postDoneOrder() {
1190
-        this.isloading = true
1189
+      postDoneOrder() {
1191 1190
         // 完工
1192 1191
         var equiplist = [];
1193 1192
         this.equipmodellist.find((item) => {
@@ -1218,7 +1217,6 @@
1218 1217
               type: "error",
1219 1218
               message: "请选择耗材信息!",
1220 1219
             });
1221
-            this.isloading = false
1222 1220
             return
1223 1221
           }
1224 1222
         }
@@ -1246,7 +1244,6 @@
1246 1244
               const params = this.doneForm;
1247 1245
               postDealWorkOrder(params).then((response) => {
1248 1246
                 if (response.state === "success") {
1249
-                  this.isloading = false
1250 1247
                   this.$message({
1251 1248
                     type: "success",
1252 1249
                     message: "操作成功!",
@@ -1263,7 +1260,6 @@
1263 1260
               })
1264 1261
               .catch((err)=>{
1265 1262
                 console.log(err)
1266
-                this.isloading = false //关闭loading
1267 1263
               })
1268 1264
               resolve();
1269 1265
             });

+ 12 - 5
CallCenterWeb.UI/RMYY/src/views/login/changeDept.vue

@@ -25,7 +25,7 @@
25 25
          default: ''
26 26
        },
27 27
        isShow: {
28
-        type: Number,
28
+        type: String,
29 29
         default: ''
30 30
        }
31 31
      },
@@ -60,10 +60,17 @@
60 60
            if (str.indexOf(',') >= 0) {
61 61
              for (var i = 0; i < str.split(",").length; i++) {
62 62
                if (this.$store.getters.deptmap[parseInt(str.split(",")[i])]) {
63
-                 arr.push({
64
-                   deptname: this.$store.getters.deptmap[parseInt(str.split(",")[i])].text,
65
-                   deptid: str.split(",")[i]
66
-                 })
63
+                 if(str.split(",")[i] == window.localStorage.getItem('deptId')){
64
+                   arr.unshift({
65
+                     deptname: this.$store.getters.deptmap[parseInt(str.split(",")[i])].text,
66
+                     deptid: str.split(",")[i]
67
+                   })
68
+                 }else{
69
+                   arr.push({
70
+                     deptname: this.$store.getters.deptmap[parseInt(str.split(",")[i])].text,
71
+                     deptid: str.split(",")[i]
72
+                   })
73
+                 }
67 74
                }
68 75
              }
69 76
              this.allowData = arr

+ 2 - 2
CallCenterWeb.UI/RMYYAPP/manifest.json

@@ -2,8 +2,8 @@
2 2
     "name" : "郑州人民医院综合服务保障调度平台",
3 3
     "appid" : "__UNI__5A5207D",
4 4
     "description" : "",
5
-    "versionName" : "1.2.68",
6
-    "versionCode" : 168,
5
+    "versionName" : "1.2.69",
6
+    "versionCode" : 169,
7 7
     "transformPx" : false,
8 8
     /* 5+App特有相关 */
9 9
     "app-plus" : {

+ 11 - 6
CallCenterWeb.UI/RMYYAPP/pages/myTask/myTask.vue

@@ -169,13 +169,18 @@
169 169
 				pageData.getDet((res, data) => {
170 170
 					this.departList = data
171 171
 					if (str.indexOf(',') >= 0) {
172
-						for (var i = 0; i < str.split(",").length; i++) {
173
-							arr.push({
174
-								deptid: str.split(",")[i],
175
-								deptname: this.$mHelper.findParents(this.departList, str.split(",")[i])
176
-							})
172
+						for (var i = 0; i < str.split(",").length; i++) {							
177 173
 							if (uni.getStorageSync('deptId') == str.split(",")[i]) {
178
-								this.current = i;
174
+								this.current = 0;
175
+								arr.unshift({
176
+									deptid: str.split(",")[i],
177
+									deptname: this.$mHelper.findParents(this.departList, str.split(",")[i])
178
+								})
179
+							}else{
180
+								arr.push({
181
+									deptid: str.split(",")[i],
182
+									deptname: this.$mHelper.findParents(this.departList, str.split(",")[i])
183
+								})
179 184
 							}
180 185
 						}
181 186
 						this.allowData = arr

+ 1 - 1
CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/repairList.vue

@@ -107,7 +107,7 @@
107 107
 	import pageData from "@/pages/myTask/repairList/addRepair/pageData.js"
108 108
 	const segmenterData = {
109 109
 		// 0: ["待接单", "待完成", "已完成", "紧急", "催单","返修"], // 已办待回访
110
-		0: ["待接单", "待完成", "已完成"], // 已办待回访
110
+		0: ["待接单", "待提交", "已提交"], // 已办待回访
111 111
 	}
112 112
 	export default {
113 113
 		data() {

+ 1 - 1
CallCenterWeb.UI/RMYYAPP/pages/myTask/workOrderDetail/workOrderDetail.vue

@@ -227,7 +227,7 @@
227 227
 						</view>
228 228
 						<view class="contentTable">
229 229
 							<text class="contentTitle">处理结果:</text>
230
-							<text class="contentText">{{ item.F_Result }}</text>
230
+							<text class="contentText" v-html="item.F_Result"></text>
231 231
 						</view>
232 232
 						<view class="contentTable">
233 233
 							<text class="contentTitle">处理方式:</text>

+ 12 - 6
CallCenterWeb.UI/RMYYAPP/pages/setting/setting.vue

@@ -198,15 +198,21 @@
198 198
 			},
199 199
 			btnChange(){
200 200
 				var str = uni.getStorageSync('storageAllowUserDept')//获取允用科室ids
201
+				console.log(str,'hhh',this.deptId)
201 202
 				var arr = []
202 203
 				if (str.indexOf(',') >= 0) {
203
-				  for (var i = 0; i < str.split(",").length; i++) {
204
-				      arr.push({
205
-				        deptname: '',
206
-				        deptid: str.split(",")[i]
207
-				      })
204
+				  for (var i = 0; i < str.split(",").length; i++) {				      
208 205
 					  if(this.deptId == str.split(",")[i]){
209
-					  	this.current = i;
206
+					  	this.current = 0;
207
+						arr.unshift({
208
+						  deptname: '',
209
+						  deptid: str.split(",")[i]
210
+						})
211
+					  }else{
212
+						 arr.push({
213
+						   deptname: '',
214
+						   deptid: str.split(",")[i]
215
+						 }) 
210 216
 					  }
211 217
 				  }
212 218
 				  this.allowData = arr