liuzhihui преди 2 години
родител
ревизия
57ef576c75
променени са 18 файла, в които са добавени 331 реда и са изтрити 109 реда
  1. 9 8
      CallCenterWeb.UI/RMYY/src/views/faultRepairManagement/repairList/index.vue
  2. 2 2
      CallCenterWeb.UI/RMYY/src/views/leadConcernNew/dispatchReport/index.vue
  3. 7 7
      CallCenterWeb.UI/RMYY/src/views/orderManage/components/orderDetail.vue
  4. 1 1
      CallCenterWeb.UI/RMYY/src/views/orderManage/mySubmit/index.vue
  5. 16 8
      CallCenterWeb.UI/RMYY/src/views/orderManage/orderList/index.vue
  6. 9 2
      CallCenterWeb.UI/RMYY/src/views/systemSetup/roleSetting/hospitalArea/component/addOrEditHospital.vue
  7. 3 3
      CallCenterWeb.UI/RMYY/src/views/systemSetup/roleSetting/hospitalArea/index.vue
  8. 9 0
      CallCenterWeb.UI/RMYYAPP/pages.json
  9. 146 0
      CallCenterWeb.UI/RMYYAPP/pages/myTask/Hardware/Hardware.vue
  10. 1 1
      CallCenterWeb.UI/RMYYAPP/pages/myTask/consultList/consultList.vue
  11. 66 35
      CallCenterWeb.UI/RMYYAPP/pages/myTask/myTask.vue
  12. 6 5
      CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/myRepairOrderList/myRepairOrderList.vue
  13. 9 21
      CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/repairList.vue
  14. 16 6
      CallCenterWeb.UI/RMYYAPP/pages/myTask/reportForm/reportForm.vue
  15. 1 1
      CallCenterWeb.UI/RMYYAPP/pages/myTask/vehicleSchedulList/applicantsList/applicantsList.vue
  16. 1 1
      CallCenterWeb.UI/RMYYAPP/pages/myTask/vehicleSchedulList/driverList/driverList.vue
  17. 5 4
      CallCenterWeb.UI/RMYYAPP/pages/myTask/workOrderDetail/workOrderDetail.vue
  18. 24 4
      CallCenterWeb.UI/RMYYAPP/pages/setting/setting.vue

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

@@ -27,13 +27,14 @@
27 27
         min-width="130">
28 28
         <template slot-scope="scope">
29 29
           <span style="color: #409eff; cursor: pointer"
30
-            @click="hadndleOrderCode(scope.row.F_WorkOrderCode)">{{ scope.row.F_WorkOrderCode }}</span>
           <el-tag v-if="scope.row.F_IsBack == 1" type="danger">退</el-tag>
31
-           <el-tag v-if="scope.row.F_IsBack == 1" type="danger">退</el-tag>
32
-           <el-tag v-if="scope.row.F_ReturnNum > 0">返修{{ scope.row.F_ReturnNum }}</el-tag>
33
-           <el-tag v-if="scope.row.F_ReplayCount > 0" type="warning">延期{{ scope.row.F_ReplayCount }}</el-tag>
34
-           <el-tag v-if="scope.row.ishangup == '是'" type="info">挂起</el-tag>
35
-           <el-tag v-if="scope.row.F_EmergencyTypes == '紧急'" type="danger">紧急</el-tag>
36
-           <el-tag v-if="scope.row.GapTime && scope.row.GapTime.indexOf('超时')>=0" type="danger">超期</el-tag>
30
+            @click="hadndleOrderCode(scope.row.F_WorkOrderCode)">{{ scope.row.F_WorkOrderCode }}</span>
31
+           <el-tag v-if="scope.row.F_EmergencyTypes == '紧急'" style="color: #ff0000;border: 1px solid #ff0000;background: none;">紧急</el-tag>
32
+           <el-tag v-if="scope.row.F_ReturnNum > 0" style="color: #f56c6c;border: 1px solid #f56c6c;background: none;">返修{{ scope.row.F_ReturnNum }}</el-tag>
33
+           <el-tag v-if="scope.row.F_UrgeCount > 0" style="color: #60c136;border: 1px solid #60c136;background: none;">催办{{ scope.row.F_UrgeCount }}</el-tag>
34
+           <el-tag v-if="scope.row.F_IsBack == 1" style="color: #3478f6;border: 1px solid #3478f6;background: none;">退单</el-tag>
35
+           <el-tag v-if="scope.row.F_ReplayCount > 0" style="color: #ddb642;border: 1px solid #ddb642;background: none;">延期{{ scope.row.F_ReplayCount }}</el-tag>
36
+           <el-tag v-if="scope.row.ishangup == '是'" style="color: #4fa0f4;border: 1px solid #4fa0f4;background: none;">挂起</el-tag>
37
+           <el-tag v-if="scope.row.GapTime && scope.row.GapTime.indexOf('超时')>=0" style="color: #880000;border: 1px solid #880000;background: none;">超期</el-tag>
37 38
         </template>
38 39
       </el-table-column>
39 40
       <el-table-column v-if="fieldListFlag.F_WorkOrderCategory" :formatter="formtOrder" prop="F_WorkOrderCategory"
@@ -1091,7 +1092,7 @@
1091 1092
               const tagStr = this.$store.getters.workTypeMap[parseInt(ids[1])].tag;
1092 1093
               if (tagStr === "gzbx_jjhq") this.doneForm.showBeforePhoto = true;
1093 1094
             }
1094
-          }        
1095
+          }
1095 1096
         }
1096 1097
         this.dialogDone = true;
1097 1098
         this.doneForm.workordercode = code;

+ 2 - 2
CallCenterWeb.UI/RMYY/src/views/leadConcernNew/dispatchReport/index.vue

@@ -14,9 +14,9 @@
14 14
           end-placeholder="结束日期"
15 15
         />
16 16
       </el-form-item>
17
-      <el-form-item label="报工科室">
17
+      <!-- <el-form-item label="报工科室">
18 18
         <select-dept-tree :deptparam="deptidArr" @post-deptid="getDeptid" />
19
-      </el-form-item>
19
+      </el-form-item> -->
20 20
       <!-- <el-form-item label="业务类别">
21 21
         <el-select v-model="ruleForm.type">
22 22
           <el-option label="业务咨询" value="1000"></el-option>

+ 7 - 7
CallCenterWeb.UI/RMYY/src/views/orderManage/components/orderDetail.vue

@@ -10,17 +10,17 @@
10 10
                   orderDetailData.F_WorkOrderCode
11 11
                 }}
12 12
                 <span class="wostate">{{ orderDetailData.StateName }}</span>
13
-                <span v-if="orderDetailData.F_UrgeCount > 0" class="wostate"
14
-                  >催{{ orderDetailData.F_UrgeCount }}</span>
13
+                <span v-if="orderDetailData.F_UrgeCount > 0" class="wostate" style="color: #60c136;border: 1px solid #60c136; ">催办{{ orderDetailData.F_UrgeCount }}</span>
15 14
                 <span
16 15
                   v-if="isrework == true"
17 16
                   class="wostate"
18
-                  style="color: #f56c6c"
17
+                  style="color: #f56c6c;border: 1px solid #f56c6c;"
19 18
                   >返修</span>
20
-                  <span class="wostate" v-if="orderDetailData.F_ReplayCount > 0" style="color: #cfca25">延期{{ orderDetailData.F_ReplayCount }}</span>
21
-                  <span class="wostate" v-if="orderDetailData.ishangup == '是'" style="color: #00aaff">挂起</span>
22
-                  <span class="wostate" v-if="orderDetailData.F_EmergencyTypes == '紧急'" style="color: #f56c6c">紧急</span>
23
-                  <span class="wostate" v-if="orderDetailData.GapTime && orderDetailData.GapTime.indexOf('超时')>=0" style="color: #aa0000">超期</span>
19
+                  <span class="wostate" v-if="orderDetailData.F_IsBack == 1" style="color: #3478f6;border: 1px solid #3478f6; ">退单</span>
20
+                  <span class="wostate" v-if="orderDetailData.F_ReplayCount > 0" style="color: #ddb642;border: 1px solid #ddb642; ">延期{{ orderDetailData.F_ReplayCount }}</span>
21
+                  <span class="wostate" v-if="orderDetailData.ishangup == '是'" style="color: #4fa0f4;border: 1px solid #4fa0f4; ">挂起</span>
22
+                  <span class="wostate" v-if="orderDetailData.F_EmergencyTypes == '紧急'" style="color: #ff0000;border: 1px solid #ff0000; ">紧急</span>
23
+                  <span class="wostate" v-if="orderDetailData.GapTime && orderDetailData.GapTime.indexOf('超时')>=0" style="color: #880000;border: 1px solid #880000; ">超期</span>
24 24
               </h1>
25 25
             </el-col>
26 26
             <el-col :md="6" />

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

@@ -100,7 +100,7 @@
100 100
             >{{ scope.row.F_WoCode }}</span
101 101
           >
102 102
           <el-tag v-if="scope.row.F_UrgeCount > 0" type="success"
103
-            >催{{ scope.row.F_UrgeCount }}</el-tag
103
+            >催{{ scope.row.F_UrgeCount }}</el-tag
104 104
           >
105 105
         </template>
106 106
       </el-table-column>

+ 16 - 8
CallCenterWeb.UI/RMYY/src/views/orderManage/orderList/index.vue

@@ -23,6 +23,7 @@
23 23
       </el-select>
24 24
       <el-cascader ref="cascader" v-model="searchData.orderids" :options="subclassData" :props="defaultProps"
25 25
         size="medium" placeholder="请选择工单类别" filterable clearable @change="handleChange" />
26
+      <select-dept-tree :deptparam="deptidArr" style="width: 15%" @post-deptid="getDeptid" />
26 27
       <el-button type="primary" class="filter-btn" icon="el-icon-search" @click="btn_search">
27 28
         搜索
28 29
       </el-button>
@@ -47,13 +48,13 @@
47 48
         <template slot-scope="scope">
48 49
           <span style="color: #409eff; cursor: pointer"
49 50
             @click="hadndleOrderCode(scope.row)">{{ scope.row.F_WoCode }}</span>
50
-          <el-tag v-if="scope.row.F_UrgeCount > 0" type="success">催{{ scope.row.F_UrgeCount }}</el-tag>
51
-          <el-tag v-if="scope.row.F_IsBack == 1" type="danger">退</el-tag>
52
-          <el-tag v-if="scope.row.F_ReturnNum > 0">返修{{ scope.row.F_ReturnNum }}</el-tag>
53
-          <el-tag v-if="scope.row.F_ReplayCount > 0" type="warning">延期{{ scope.row.F_ReplayCount }}</el-tag>
54
-          <el-tag v-if="scope.row.ishangup == '是'" type="info">挂起</el-tag>
55
-          <el-tag v-if="scope.row.F_EmergencyTypes == '紧急'" type="danger">紧急</el-tag>
56
-          <el-tag v-if="scope.row.GapTime && scope.row.GapTime.indexOf('超时')>=0" type="danger">超期</el-tag>
51
+          <el-tag v-if="scope.row.F_ReturnNum > 0" style="color: #f56c6c;border: 1px solid #f56c6c;background: none;">返修{{ scope.row.F_ReturnNum }}</el-tag>
52
+          <el-tag v-if="scope.row.F_EmergencyTypes == '紧急'" style="color: #ff0000;border: 1px solid #ff0000;background: none;">紧急</el-tag>
53
+          <el-tag v-if="scope.row.F_UrgeCount > 0" style="color: #60c136;border: 1px solid #60c136;background: none;">催办{{ scope.row.F_UrgeCount }}</el-tag>
54
+          <el-tag v-if="scope.row.F_IsBack == 1" style="color: #3478f6;border: 1px solid #3478f6;background: none;">退单</el-tag>
55
+          <el-tag v-if="scope.row.F_ReplayCount > 0" style="color: #ddb642;border: 1px solid #ddb642;background: none;">延期{{ scope.row.F_ReplayCount }}</el-tag>
56
+          <el-tag v-if="scope.row.ishangup == '是'" style="color: #4fa0f4;border: 1px solid #4fa0f4;background: none;">挂起</el-tag>
57
+          <el-tag v-if="scope.row.GapTime && scope.row.GapTime.indexOf('超时')>=0"  style="color: #880000;border: 1px solid #a80000;background: none;">超期</el-tag>
57 58
         </template>
58 59
       </el-table-column>
59 60
       <el-table-column v-if="fieldListFlag.F_ProposerDeptName" prop="F_ProposerDept" :formatter="formtDept" label="申请科室" align="center" min-width />
@@ -193,6 +194,7 @@
193 194
     },
194 195
     data() {
195 196
       return {
197
+        deptidArr:[],
196 198
         sourceData:[],
197 199
         isloading:0,
198 200
         activeName: "0",
@@ -217,7 +219,8 @@
217 219
           myd: "",
218 220
           state: "", // 工单状态
219 221
           usercode: "",
220
-          OrderSource:""
222
+          OrderSource:"",
223
+          deptid:''
221 224
         },
222 225
         pageParams: {
223 226
           pageindex: 1, // 当前第几页
@@ -268,6 +271,9 @@
268 271
 
269 272
         }
270 273
       },
274
+      getDeptid(data) {
275
+        this.searchData.deptid = data[data.length - 1];
276
+      },
271 277
       getSource(){
272 278
         GetDicValue("QUDAO").then(res=>{
273 279
           this.sourceData = res.rows
@@ -335,6 +341,7 @@
335 341
             loweltype: this.searchData.orderids[this.searchData.orderids.length - 1],
336 342
             state: this.searchData.state, // 工单状态
337 343
             myd: this.searchData.myd,
344
+            deptid: this.searchData.deptid,
338 345
             pageindex: this.pageParams.pageindex, // int 第几页
339 346
             pagesize: this.pageParams.pagesize, // int 每页几条信息
340 347
           };
@@ -362,6 +369,7 @@
362 369
           pageindex: this.pageParams.pageindex, // int 第几页
363 370
           pagesize: this.pageParams.pagesize, // int 每页几条信息
364 371
           tab: this.searchData.tab,
372
+          deptid: this.searchData.deptid,
365 373
           isdc: 1,
366 374
         };
367 375
         exportExcel(exportparams, getListExpt);

+ 9 - 2
CallCenterWeb.UI/RMYY/src/views/systemSetup/roleSetting/hospitalArea/component/addOrEditHospital.vue

@@ -4,6 +4,9 @@
4 4
       <el-form-item label="院区名称" prop="name">
5 5
         <el-input v-model="ruleForm.T_Woname" placeholder="请输入院区名称" />
6 6
       </el-form-item>
7
+      <el-form-item label="排序" prop="sore">
8
+        <el-input-number v-model="ruleForm.T_Wosort"></el-input-number>
9
+      </el-form-item>
7 10
       <el-form-item>
8 11
         <el-button type="primary" @click="submitForm">保存</el-button>
9 12
       </el-form-item>
@@ -38,7 +41,8 @@ export default {
38 41
     return {
39 42
       loading: false,
40 43
       ruleForm: {
41
-        T_Woname: ''
44
+        T_Woname: '',
45
+        T_Wosort:0
42 46
       },
43 47
       rules: {
44 48
         T_Woname: [{ required: true, message: '请输入院区名称' }]
@@ -58,6 +62,7 @@ export default {
58 62
       }
59 63
       getyqModule(params).then((res) => {
60 64
         this.ruleForm.T_Woname = res.data.T_Woname // 分类名称
65
+        this.ruleForm.T_Wosort = res.data.F_Sort //排序
61 66
       })
62 67
     },
63 68
     submitForm() {
@@ -66,7 +71,8 @@ export default {
66 71
           this.loading = true
67 72
           if (this.state === 0) {
68 73
             const params = {
69
-              T_Woname: this.ruleForm.T_Woname
74
+              T_Woname: this.ruleForm.T_Woname,
75
+              F_Sort: this.ruleForm.T_Wosort
70 76
             }
71 77
             addwotyq(params)
72 78
               .then((res) => {
@@ -88,6 +94,7 @@ export default {
88 94
             // 编辑
89 95
             const params = {
90 96
               T_Woname: this.ruleForm.T_Woname,
97
+              F_Sort: this.ruleForm.T_Wosort,
91 98
               T_Woid: Number(this.id)
92 99
             }
93 100
             edittyq(params)

+ 3 - 3
CallCenterWeb.UI/RMYY/src/views/systemSetup/roleSetting/hospitalArea/index.vue

@@ -125,7 +125,7 @@ export default {
125 125
           parent: this, // 当前的vue对象
126 126
           data: { state: 0, id: "" }, // props//该方法会自动添加一个key为layerid的值, 该值为创建层的id, 可以直接使用
127 127
         },
128
-        area: ["40%", "20%"],
128
+        area: ["40%", "40%"],
129 129
         shadeClose: false,
130 130
         title: "添加院区分类",
131 131
       });
@@ -146,9 +146,9 @@ export default {
146 146
           parent: this, // 当前的vue对象
147 147
           data: { state: 1, id: T_Woid }, // props//该方法会自动添加一个key为layerid的值, 该值为创建层的id, 可以直接使用
148 148
         },
149
-        area: ["40%", "20%"],
149
+        area: ["40%", "40%"],
150 150
         shadeClose: false,
151
-        title: "编辑部门分类",
151
+        title: "编辑院区分类",
152 152
       });
153 153
     },
154 154
     // 删除

+ 9 - 0
CallCenterWeb.UI/RMYYAPP/pages.json

@@ -307,6 +307,15 @@
307 307
             }
308 308
             
309 309
         }
310
+        ,{
311
+            "path" : "pages/myTask/Hardware/Hardware",
312
+            "style" :                                                                                    
313
+            {
314
+                "navigationBarTitleText": "硬件服务",
315
+                "enablePullDownRefresh": false
316
+            }
317
+            
318
+        }
310 319
     ],
311 320
     "globalStyle": {
312 321
         "navigationBarTextStyle": "white",

+ 146 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/Hardware/Hardware.vue

@@ -0,0 +1,146 @@
1
+<template>
2
+	<view class="wrapper">
3
+		<view class="contentbox">
4
+			<view class="titlebox">{{titlebox}}</view>
5
+			<view id="echartbox"></view>
6
+		</view>
7
+	</view>
8
+</template>
9
+
10
+<script>
11
+	import * as echarts from '@/components/echarts/echarts.min.js'; // 引入 echarts
12
+	export default {
13
+		data() {
14
+			return {
15
+				titlebox: "硬件服务TOP20"
16
+			}
17
+		},
18
+		onLoad(option) {
19
+			if (option.waretype == 0) {
20
+				uni.setNavigationBarTitle({
21
+					title: '软件服务'
22
+				})
23
+				this.titlebox = "软件服务TOP20"
24
+			}
25
+			this.getListData(option)
26
+		},
27
+		onReady() {
28
+			this.chart = echarts.init(document.getElementById('echartbox'))
29
+			// this.chartData()
30
+		},
31
+		methods: {
32
+			getListData(option){
33
+				const params={
34
+					starttime: option.starttime,
35
+					endtime: option.endtime,
36
+					type: option.waretype
37
+				}
38
+				this.$http.get("FaultRepair/DayReportDetail", params).then((response) => {
39
+					if (response.state == "success") {
40
+						var rowData = []
41
+						var colData1 = []
42
+						var colData2 = []
43
+						var colData3 = []
44
+						if (response.data.length > 0) {
45
+							response.data.forEach((item, index) => {
46
+								rowData.push(item.deptname)
47
+								colData1.push(Number(item.finish))		
48
+								colData1.push(Number(item.unfinish))
49
+								colData1.push(Number(item.fx))
50
+								this.chartData(rowData, colData1, colData2, colData3)
51
+							})
52
+						} else {
53
+							rowData = ['科室名称', '科室名称', '科室名称']
54
+							colData1 = [0, 0, 0]
55
+							colData2 = [0, 0, 0]
56
+							colData3 = [0, 0, 0]
57
+							this.chartData(rowData, colData1, colData2, colData3)
58
+						}
59
+					}
60
+				})
61
+			},
62
+			//图表
63
+			chartData(rowd, cold1, cold2, cold3) {
64
+				this.chart.setOption({
65
+					tooltip: {
66
+						trigger: 'axis',
67
+						axisPointer: {
68
+							type: 'shadow'
69
+						}
70
+					},
71
+					legend: {
72
+						x:'left',
73
+						y:'left',
74
+						data:['完成量','未完成量','返修量'],
75
+						selectedMode:false
76
+					},
77
+					color:["#7b9df2","#8ebb75","#dabe4f"],
78
+					grid: {
79
+						left: '1%',
80
+						right: '1%',
81
+						bottom: '3%',
82
+						containLabel: true
83
+					},
84
+					xAxis: {
85
+						axisLine: false,
86
+						type: 'value'
87
+					},
88
+					yAxis: {
89
+						type: 'category',
90
+						data: rowd
91
+					},
92
+					series: [{
93
+							name: '完成量',
94
+							type: 'bar',
95
+							stack: 'total',
96
+							label: {
97
+								show: true
98
+							},
99
+							data: cold1
100
+						},
101
+						{
102
+							name: '未完成量',
103
+							type: 'bar',
104
+							stack: 'total',
105
+							label: {
106
+								show: true
107
+							},
108
+							data: cold2
109
+						},
110
+						{
111
+							name: '返修量',
112
+							type: 'bar',
113
+							stack: 'total',
114
+							label: {
115
+								show: true
116
+							},
117
+							data: cold3
118
+						},
119
+					]
120
+				})
121
+			},
122
+		}
123
+	}
124
+</script>
125
+
126
+<style scoped>
127
+	.contentbox {
128
+		padding: 10px 10px;
129
+		background-color: #f2f2f2;
130
+	}
131
+
132
+	.titlebox {
133
+		margin-bottom: 15px;
134
+		margin-left: 5px;
135
+	}
136
+
137
+	.wrapper {
138
+		padding: 10px 10px;
139
+		background-color: #fff;
140
+	}
141
+
142
+	#echartbox {
143
+		width: 100%;
144
+		height: 800rpx;
145
+	}
146
+</style>

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

@@ -38,7 +38,7 @@
38 38
 								</view>
39 39
 								
40 40
 							</view>
41
-							<view class="textStateOld" style="color: red;border:1px solid red;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
41
+							<view class="textStateOld" style="color: #e19003;border:1px solid #e19003;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
42 42
 							<view class="textStateOld" v-if="item.StateName!='待接单'">{{ item.StateName}}</view>				
43 43
 						</view>
44 44
 					</template>

+ 66 - 35
CallCenterWeb.UI/RMYYAPP/pages/myTask/myTask.vue

@@ -23,7 +23,7 @@
23 23
 					<text>{{ item.text }}</text>
24 24
 				</view>
25 25
 			</view>
26
-			
26
+
27 27
 			<view v-if="isgly==1" class="orderTit" style="padding-left: 15px;color: rgb(126, 131, 125);">
28 28
 				<text
29 29
 					style="width: 4px;background-color: rgb(26, 188, 156);height: 20px;margin-top: 10px;margin-right: 5px;"></text>
@@ -35,7 +35,7 @@
35 35
 					<text>{{ item.text }}</text>
36 36
 				</view>
37 37
 			</view>
38
-			
38
+
39 39
 			<view class="orderTit" @click="changeStore" v-if="noticState">
40 40
 				<image style="background: #ff9600" src="/static/icon_noticefi.png"></image>
41 41
 				<text>公告通知</text>
@@ -55,17 +55,17 @@
55 55
 		<view>
56 56
 			<uni-popup ref="inputDialogs" type="dialog">
57 57
 				<uni-popup-dialog ref="inputClose" mode="input" :title="title" @confirm="dialogInputConfirm">
58
-					<view>
59
-						<!-- <uni-table style="height: 600rpx;" ref="table" border stripe type="selection" emptyText="暂无更多数据"
60
-							@selection-change="selectionChange">
61
-							<uni-tr>
62
-								<uni-th align="center">科室</uni-th>
63
-							</uni-tr>
64
-							<uni-tr v-for="(item, index) in allowData" :key="index">
65
-								<uni-td align="center">{{ $mHelper.findParents(departList, item.deptid) }}</uni-td>
66
-							</uni-tr>
67
-						</uni-table> -->
68
-						<uni-table style="height: 600rpx;" ref="table" border stripe emptyText="暂无更多数据">
58
+					<view style="height: 600rpx;overflow-y: auto;">
59
+						<radio-group @change="radioChange" style="width: 100%;height: 600rpx;">
60
+							<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in allowData"
61
+								:key="index">
62
+								<view v-show="item.deptname" style="width:100%;line-height: 24px;color: #606266;margin-bottom: 10px;">
63
+									<radio style="width: 30px;" :value="item.deptid" :checked="index === current" />
64
+									<text class="yydepttit">{{ item.deptname }}</text>
65
+								</view>
66
+							</label>
67
+						</radio-group>
68
+						<!-- <uni-table style="height: 600rpx;" ref="table" border stripe emptyText="暂无更多数据">
69 69
 							<uni-tr>
70 70
 								<uni-th align="center">请选择</uni-th>
71 71
 							</uni-tr>
@@ -83,7 +83,7 @@
83 83
 									</radio-group>
84 84
 								</uni-td>
85 85
 							</uni-tr>
86
-						</uni-table>
86
+						</uni-table> -->
87 87
 					</view>
88 88
 				</uni-popup-dialog>
89 89
 			</uni-popup>
@@ -103,7 +103,7 @@
103 103
 	export default {
104 104
 		data() {
105 105
 			return {
106
-				isgly:0,
106
+				isgly: 0,
107 107
 				indicatorDots: true,
108 108
 				getFontSizeValue: '1rem',
109 109
 				autoplay: true,
@@ -112,8 +112,7 @@
112 112
 				duration: 500,
113 113
 				bannnerData: [],
114 114
 				orderListData: [],
115
-				reportListData:[
116
-					{
115
+				reportListData: [{
117 116
 						id: "15",
118 117
 						imagePath: "../../static/icon_vehicleScheduling.png",
119 118
 						imageBg: "#aaffff",
@@ -133,7 +132,7 @@
133 132
 				allowData: [],
134 133
 				title: "允用科室",
135 134
 				selectedIndexs: [],
136
-				current:"",
135
+				current: "",
137 136
 				onchangedept: ''
138 137
 			}
139 138
 		},
@@ -153,28 +152,46 @@
153 152
 			if (uni.getStorageSync("roleCode") === "APRY") {
154 153
 				uni.hideTabBar()
155 154
 			}
156
-			if(uni.getStorageSync("roleCode") === "GLY"){
155
+			if (uni.getStorageSync("roleCode") === "GLY") {
157 156
 				this.isgly = 1
158 157
 			}
159 158
 			if (uni.getStorageSync("isAllow") === "1") {
160 159
 				var str = uni.getStorageSync('storageAllowUserDept') //获取允用科室ids
161 160
 				var arr = []
162
-				if (str.indexOf(',') >= 0) {
163
-					for (var i = 0; i < str.split(",").length; i++) {
164
-						arr.push({
165
-							deptname: "",
166
-							deptid: str.split(",")[i]
167
-						})
168
-						if(uni.getStorageSync('deptId') == str.split(",")[i]){
169
-							this.current = i;
161
+				pageData.getDet((res, data) => {
162
+					this.departList = data
163
+					if (str.indexOf(',') >= 0) {
164
+						for (var i = 0; i < str.split(",").length; i++) {
165
+							arr.push({
166
+								deptid: str.split(",")[i],
167
+								deptname: this.$mHelper.findParents(this.departList, str.split(",")[i])
168
+							})
169
+							if (uni.getStorageSync('deptId') == str.split(",")[i]) {
170
+								this.current = i;
171
+							}
170 172
 						}
173
+						this.allowData = arr
171 174
 					}
172
-					this.allowData = arr
173
-				}
174
-				this.$nextTick(function() {
175
-					// DOM 更新了
176
-					this.$refs.inputDialogs.open()
175
+					this.$nextTick(function() {
176
+						this.$refs.inputDialogs.open()
177
+					})
177 178
 				})
179
+				// if (str.indexOf(',') >= 0) {
180
+				// 	for (var i = 0; i < str.split(",").length; i++) {
181
+				// 		arr.push({
182
+				// 			deptname: "",
183
+				// 			deptid: str.split(",")[i]
184
+				// 		})
185
+				// 		if (uni.getStorageSync('deptId') == str.split(",")[i]) {
186
+				// 			this.current = i;
187
+				// 		}
188
+				// 	}
189
+				// 	this.allowData = arr
190
+				// }
191
+				// this.$nextTick(function() {
192
+				// 	// DOM 更新了
193
+				// 	this.$refs.inputDialogs.open()
194
+				// })
178 195
 
179 196
 			}
180 197
 			// uni.hideTabBar()
@@ -185,7 +202,7 @@
185 202
 				console.log(evt.detail.value)
186 203
 				for (let i = 0; i < this.allowData.length; i++) {
187 204
 					if (this.allowData[i].deptid === evt.detail.value) {
188
-						this.current = i;					
205
+						this.current = i;
189 206
 						break;
190 207
 					}
191 208
 				}
@@ -316,7 +333,7 @@
316 333
 										if (res.confirm) {
317 334
 											plus.runtime.openURL(data.FileUrl[0].F_FileUrl, err => {
318 335
 												plus.runtime.openURL(data.FileUrl[0]
319
-												.F_FileUrl);
336
+													.F_FileUrl);
320 337
 											}, 'com.android.browser');
321 338
 										} else if (res.cancel) {
322 339
 											this.$mHelper.toast("取消更新");
@@ -384,6 +401,20 @@
384 401
 </script>
385 402
 
386 403
 <style lang="scss">
404
+	/deep/.uni-dialog-content {
405
+		margin: 0;
406
+		padding: 0;
407
+	}
408
+
409
+	.yydepttit {
410
+		display: inline-block;
411
+		width: 85%;
412
+		text-align: center;
413
+		font-size: 14px;
414
+		vertical-align: middle;
415
+		// height: 24px;
416
+	}
417
+
387 418
 	.equipmentInfo {
388 419
 		width: 100%;
389 420
 		margin-top: 15px;
@@ -518,4 +549,4 @@
518 549
 			}
519 550
 		}
520 551
 	}
521
-</style>
552
+</style>

+ 6 - 5
CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/myRepairOrderList/myRepairOrderList.vue

@@ -34,14 +34,15 @@
34 34
 								<view class="uni-note">上报时间:{{item.F_CreateTime}}</view>
35 35
 								<!-- <view class="uni-note">上报地点:{{item.F_PlaceOfRepair}}</view> -->
36 36
 								<view>
37
-									<view class="textState" style="right: 62px;" v-show="item.F_UrgeCount>0">催办 {{item.F_UrgeCount}}</view>
38
-									<view class="textState" style="right: 62px;color:#cfca25;border:1px solid #cfca25;" v-show="item.F_ReplayCount>0">延期 {{item.F_ReplayCount}}</view>
37
+									<view class="textState" style="right: 62px;color:#60c136;border:1px solid #60c136;" v-show="item.F_UrgeCount>0">催办 {{item.F_UrgeCount}}</view>
38
+									<view class="textState" style="right: 62px;color:#ddb642;border:1px solid #ddb642;" v-show="item.F_ReplayCount>0">延期 {{item.F_ReplayCount}}</view>
39 39
 									<view class="textState" style="right: 62px;color:#ff5500;border:1px solid #ff5500;" v-show="item.F_ReturnNum>0">返修 {{item.F_ReturnNum}}</view>
40
-									<view class="textState" style="right: 62px;color:#00aaff;border:1px solid #00aaff;text-align: center;" v-show="item.ishangup=='是'">挂起</view>
41
-									<view class="textState" style="right: 62px;color:#aa0000;border:1px solid #aa0000;text-align: center;" v-show="item.GapTime.indexOf('超时')>=0">超期</view>
40
+									<view class="textState" style="right: 62px;color:#4fa0f4;border:1px solid #4fa0f4;text-align: center;" v-show="item.ishangup=='是'">挂起</view>
41
+									<view class="textState" style="right: 62px;color:#3478f6;border:1px solid #3478f6;text-align: center;" v-show="item.F_IsBack=='1'">退单</view>
42
+									<view class="textState" style="right: 62px;color:#880000;border:1px solid #880000;text-align: center;" v-show="item.GapTime.indexOf('超时')>=0">超期</view>
42 43
 								</view>								
43 44
 							</view>
44
-							<view class="textStateOld" style="color: red;border:1px solid red;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
45
+							<view class="textStateOld" style="color: #e19003;border:1px solid #e19003;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
45 46
 							<view class="textStateOld" v-if="item.StateName!='待接单'">{{ item.StateName}}</view>			
46 47
 						</view>
47 48
 					</template>

+ 9 - 21
CallCenterWeb.UI/RMYYAPP/pages/myTask/repairList/repairList.vue

@@ -15,23 +15,8 @@
15 15
 			</view>
16 16
 			<uni-segmented-control :current="segmenter.current" :values="segmenter.items"
17 17
 				@clickItem="onClickSegmentedControl" styleType="text" activeColor="#007aff" />
18
-			<!-- <uni-badge class="uni-badge-left-margin" :text="8" absolute="rightTop" :offset="[18, 10]" size="small">
19
-				<view class="box"><text class="box-text">待接单</text></view>
20
-			</uni-badge>
21
-			<uni-badge class="uni-badge-left-margin" :text="8" absolute="rightTop" :offset="[18, 10]" size="small">
22
-				<view class="box"><text class="box-text">待完成</text></view>
23
-			</uni-badge>
24
-			<uni-badge class="uni-badge-left-margin" :text="8" absolute="rightTop" :offset="[18, 10]" size="small">
25
-				<view class="box"><text class="box-text">已完成</text></view>
26
-			</uni-badge>
27
-			<uni-badge class="uni-badge-left-margin" :text="8" absolute="rightTop" :offset="[15, 10]" size="small">
28
-				<view class="box"><text class="box-text">紧急列表</text></view>
29
-			</uni-badge>
30
-			<uni-badge class="uni-badge-left-margin" :text="8" absolute="rightTop" :offset="[15, 10]" size="small">
31
-				<view class="box"><text class="box-text">催单列表</text></view>
32
-			</uni-badge> -->
33 18
 		</view>
34
-		<view class="tableWrapper">
19
+		<view class="tableWrapper" style="margin-top: 10px;">
35 20
 			<!-- 基于 uni-list 的页面布局 -->
36 21
 			<uni-list>
37 22
 				<!-- to 属性携带参数跳转详情页面-->
@@ -57,21 +42,24 @@
57 42
 								<view class="uni-note">上报时间:{{item.F_CreateTime}}</view>
58 43
 								<view class="uni-note">上报地点:{{item.F_PlaceOfRepair}}</view>
59 44
 								<view>
60
-									<view class="textState" style="right: 62px;" v-show="item.F_UrgeCount>0">催办
45
+									<view class="textState" style="right: 62px;color: #60c136;border:1px solid #60c136;" v-show="item.F_UrgeCount>0">催办
61 46
 										{{item.F_UrgeCount}}</view>
62
-									<view class="textState" style="right: 62px;color:#cfca25;border:1px solid #cfca25;"
47
+									<view class="textState" style="right: 62px;color:#ddb642;border:1px solid #ddb642;"
63 48
 										v-show="item.F_ReplayCount>0">延期 {{item.F_ReplayCount}}</view>
64 49
 									<view class="textState" style="right: 62px;color:#ff5500;border:1px solid #ff5500;"
65 50
 										v-show="item.F_ReturnNum>0">返修 {{item.F_ReturnNum}}</view>
66 51
 									<view class="textState"
67
-										style="right: 62px;color:#00aaff;border:1px solid #00aaff;text-align: center;"
52
+										style="right: 62px;color:#4fa0f4;border:1px solid #4fa0f4;text-align: center;"
68 53
 										v-show="item.ishangup=='是'">挂起</view>
69 54
 									<view class="textState"
70
-										style="right: 62px;color:#aa0000;border:1px solid #aa0000;text-align: center;"
55
+										style="right: 62px;color:#3478f6;border:1px solid #3478f6;text-align: center;"
56
+										v-show="item.F_IsBack=='1'">退单</view>
57
+									<view class="textState"
58
+										style="right: 62px;color:#880000;border:1px solid #880000;text-align: center;"
71 59
 										v-show="item.GapTime.indexOf('超时')>=0">超期</view>
72 60
 								</view>
73 61
 							</view>
74
-							<view class="textStateOld" style="color: red;border:1px solid red;"
62
+							<view class="textStateOld" style="color: #e19003;border:1px solid #e19003;"
75 63
 								v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
76 64
 							<view class="textStateOld" v-if="item.StateName!='待接单'">{{ item.StateName}}</view>
77 65
 						</view>

+ 16 - 6
CallCenterWeb.UI/RMYYAPP/pages/myTask/reportForm/reportForm.vue

@@ -45,7 +45,7 @@
45 45
 					<text class="count">{{gecon}}</text>
46 46
 				</view>
47 47
 			</view>
48
-			<view class="btntopremark">
48
+			<view class="btntopremark" v-show="reportType==0">
49 49
 				<view class="btntopremarktime">较昨日(0:00~23:59)</view>
50 50
 				<view class="btntopremarkcount">
51 51
 					{{differcon}}
@@ -55,13 +55,13 @@
55 55
 			</view>
56 56
 			<view class="contentbox">
57 57
 				<view class="middlebox">
58
-					<view>
58
+					<view @click="gotoDetail(1)">
59 59
 						<text class="monicir cirone"></text><text class="contenttitle">硬件服务:</text><text
60 60
 							class="contentone">{{yjcon}}</text>
61 61
 					</view>
62 62
 				</view>
63 63
 				<view class="middlebox">
64
-					<view>
64
+					<view @click="gotoDetail(0)">
65 65
 						<text class="monicir cirtwo"></text><text class="contenttitle">软件服务:</text><text
66 66
 							class="contenttwo">{{rjcon}}</text>
67 67
 					</view>
@@ -256,6 +256,12 @@
256 256
 			this.chart = echarts.init(document.getElementById('echartbox'))
257 257
 		},
258 258
 		methods: {
259
+			gotoDetail(num){
260
+				console.log(num)
261
+				uni.navigateTo({
262
+					url: '/pages/myTask/Hardware/Hardware?waretype='+num+'&starttime='+this.defaultStartTime+'&endtime='+this.defaultEndTime
263
+				})
264
+			},
259 265
 			initReport(option) {
260 266
 				const params = {
261 267
 					starttime: this.defaultStartTime,
@@ -302,7 +308,7 @@
302 308
 						if (response.data.dt.length > 0) {
303 309
 							response.data.dt.forEach((item, index) => {
304 310
 								if(this.reportType==1){
305
-									rowData.push(item.dateshownew)
311
+									rowData.push(item.dateshownew.substring(5,10))
306 312
 									colData.push(Number(item.allcountnew))
307 313
 								}
308 314
 								if(this.reportType==0){
@@ -336,6 +342,7 @@
336 342
 						this.chaoshinum = data.overjdcount
337 343
 						this.chaoqinum = data.overcount
338 344
 						this.undonenum = data.overdaycount
345
+						// console.log(this.chaoshiper,this.chaoqiper,this.undoneper)
339 346
 					}
340 347
 				}).catch((e) => {
341 348
 					console.log(e);
@@ -353,8 +360,10 @@
353 360
 						this.morencon = data.defaultEvaluate
354 361
 						this.bmycon = data.bmycount
355 362
 						this.myper = Number(data.myrate.substring(0, data.myrate.length - 1))
356
-						this.morenper = Number(data.defaultrate.substring(0, data.defaultrate.length - 1)) + this
357
-							.myper
363
+						this.morenper = Number(data.defaultrate.substring(0, data.defaultrate.length - 1))
364
+						// this.morenper = Number(data.defaultrate.substring(0, data.defaultrate.length - 1)) + this
365
+						// 	.myper
366
+						console.log(this.myper,this.morenper)
358 367
 					}
359 368
 				}).catch((e) => {
360 369
 					console.log(e);
@@ -679,6 +688,7 @@
679 688
 
680 689
 	.btopcount {
681 690
 		margin-top: 20rpx;
691
+		margin-bottom: 5rpx;
682 692
 		width: 100%;
683 693
 		text-align: center;
684 694
 	}

+ 1 - 1
CallCenterWeb.UI/RMYYAPP/pages/myTask/vehicleSchedulList/applicantsList/applicantsList.vue

@@ -26,7 +26,7 @@
26 26
 								<view class="textState" style="right: 85px;" v-show="item.F_UrgeCount">催办 {{item.F_UrgeCount}}</view>
27 27
 							</view>		
28 28
 						</view>
29
-						<view class="textStateOld" style="color: red;border:1px solid red;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
29
+						<view class="textStateOld" style="color: #e19003;border:1px solid #e19003;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
30 30
 						<view class="textStateOld" v-if="item.StateName!='待接单'">{{ item.StateName}}</view>
31 31
 						<view class="textState" style="bottom: 90px;color: red;border: red;position: absolute;right: -5px;" v-show="item.F_EmergencyTypes=='紧急'">{{ item.F_EmergencyTypes }}</view>
32 32
 						<!-- <view class="textState" style="right: 85px;" v-show="item.F_UrgeCount>0">催办 {{item.F_UrgeCount}}</view> -->

+ 1 - 1
CallCenterWeb.UI/RMYYAPP/pages/myTask/vehicleSchedulList/driverList/driverList.vue

@@ -30,7 +30,7 @@
30 30
 								<view class="textState" style="right: 85px;" v-show="item.F_UrgeCount>0">催办 {{item.F_UrgeCount}}</view>
31 31
 							</view>
32 32
 						</view>
33
-						<view class="textStateOld" style="color: red;border:1px solid red;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
33
+						<view class="textStateOld" style="color: #e19003;border:1px solid #e19003;" v-if="item.StateName=='待接单'">{{ item.StateName}}</view>
34 34
 						<view class="textStateOld" v-if="item.StateName!='待接单'">{{ item.StateName}}</view>
35 35
 						<!-- <view class="textState" style="right: 85px;" v-show="item.F_UrgeCount>0">催办 {{item.F_UrgeCount}}</view> -->
36 36
 					</view>

+ 5 - 4
CallCenterWeb.UI/RMYYAPP/pages/myTask/workOrderDetail/workOrderDetail.vue

@@ -11,10 +11,11 @@
11 11
 			<view class="contentTable" v-show="detailContentData.StateName ">
12 12
 				<text class="contentTitle">工单状态:</text>
13 13
 				<text class="textState">{{ detailContentData.StateName }}</text>
14
-				<text class="textState" v-show="detailContentData.F_EmergencyTypes=='紧急'" style="color: red;border: 1px solid red;text-align: center;">紧急</text>
15
-				<text class="textState" v-show="detailContentData.F_ReplayCount>0" style="color:#cfca25;border:1px solid #cfca25;text-align: center;">延期 {{detailContentData.F_ReplayCount}}</text>
16
-				<text class="textState" v-show="detailContentData.ishangup=='是'" style="color:#00aaff;border:1px solid #00aaff;text-align: center;">挂起</text>
17
-				<text class="textState" v-show="detailContentData.GapTime && detailContentData.GapTime.indexOf('超时')>=0" style="color:#aa0000;border:1px solid #aa0000;text-align: center;">超期</text>
14
+				<text class="textState" v-show="detailContentData.F_EmergencyTypes=='紧急'" style="color: #ff0000;border: 1px solid #ff0000;text-align: center;">紧急</text>
15
+				<text class="textState" v-show="detailContentData.F_ReplayCount>0" style="color:#ddb642;border:1px solid #ddb642;text-align: center;">延期 {{detailContentData.F_ReplayCount}}</text>
16
+				<text class="textState" v-show="detailContentData.ishangup=='是'" style="color:#4fa0f4;border:1px solid #4fa0f4;text-align: center;">挂起</text>
17
+				<text class="textState" v-if="detailContentData.F_IsBack == 1" style="color: #3478f6;border: 1px solid #3478f6;text-align: center;">退单</text>
18
+				<text class="textState" v-show="detailContentData.GapTime && detailContentData.GapTime.indexOf('超时')>=0" style="color:#880000;border:1px solid #880000;text-align: center;">超期</text>
18 19
 				<text class="textState fx" v-show="backState == 1">返修</text>
19 20
 			</view>
20 21
 			<view class="contentTable">

+ 24 - 4
CallCenterWeb.UI/RMYYAPP/pages/setting/setting.vue

@@ -41,8 +41,17 @@
41 41
 		<view>
42 42
 			<uni-popup ref="inputDialogs" type="dialog">
43 43
 				<uni-popup-dialog ref="inputClose" mode="input" :title="title" @confirm="dialogInputConfirm">
44
-					<view>
45
-						<uni-table style="height: 600rpx;" ref="table" border stripe emptyText="暂无更多数据">
44
+					<view style="height: 600rpx;overflow-y: auto;">
45
+						<radio-group @change="radioChange" style="width: 100%;height: 600rpx;">
46
+							<label class="uni-list-cell uni-list-cell-pd" v-for="(item, index) in allowData"
47
+								:key="index">
48
+								<view v-show="$mHelper.findParents(departList, item.deptid)" style="width:100%;line-height: 24px;color: #606266;margin-bottom: 10px;">
49
+									<radio style="width: 30px;" :value="item.deptid" :checked="index === current"/>
50
+									<text class="yydepttit">{{ $mHelper.findParents(departList, item.deptid) }}</text>
51
+								</view>
52
+							</label>
53
+						</radio-group>
54
+						<!-- <uni-table style="height: 600rpx;" ref="table" border stripe emptyText="暂无更多数据">
46 55
 							<uni-tr>
47 56
 								<uni-th align="center">请选择</uni-th>
48 57
 							</uni-tr>
@@ -60,7 +69,7 @@
60 69
 									</radio-group>
61 70
 								</uni-td>
62 71
 							</uni-tr>
63
-						</uni-table>
72
+						</uni-table> -->
64 73
 					</view>
65 74
 				</uni-popup-dialog>
66 75
 			</uni-popup>
@@ -191,7 +200,6 @@
191 200
 					  }
192 201
 				  }
193 202
 				  this.allowData = arr
194
-				  console.log(arr)
195 203
 				}
196 204
 				this.$refs.inputDialogs.open()
197 205
 			},
@@ -232,6 +240,18 @@
232 240
 </script>
233 241
 
234 242
 <style lang="scss">
243
+	/deep/.uni-dialog-content{
244
+		margin: 0;
245
+		padding: 0;
246
+	}
247
+	.yydepttit {
248
+		display: inline-block;
249
+		width: 85%;
250
+		text-align: center;
251
+		font-size: 14px;
252
+		vertical-align: middle;
253
+		// height: 24px;
254
+	}
235 255
 	.equipmentInfo {
236 256
 	  width: 100%;
237 257
 	  margin-top: 15px;