zhaomin 3 anni fa
parent
commit
44d13c3f7d

+ 9 - 9
CallCenterWeb.UI/RMYYAPP/config/constData.config.js

@@ -44,7 +44,7 @@ export default {
44 44
 				navigateToUrl: "/pages/myTask/consultList/consultList?segmenter=0&urlIndex=0",
45 45
 			},
46 46
 			{
47
-				id: "13",
47
+				id: "15",
48 48
 				imagePath: "../../static/consult.png",
49 49
 				imageBg: "#1ccd8d",
50 50
 				text: "综合调度", //WorkOrder/GetLDDealList
@@ -194,14 +194,14 @@ export default {
194 194
 				navigateToUrl: "/pages/myTask/repairList/repairList?segmenter=0",
195 195
 			},
196 196
 			{
197
-					id: "13",
197
+					id: "2",
198 198
 					imagePath: "../../static/consult.png",
199 199
 					imageBg: "#1ccd8d",
200 200
 					text: "咨询工单", //WorkOrder/GetLDDealList
201 201
 					navigateToUrl: "/pages/myTask/consultList/consultList?segmenter=0&urlIndex=0",
202 202
 				},
203 203
 				{
204
-					id: "13",
204
+					id: "3",
205 205
 					imagePath: "../../static/consult.png",
206 206
 					imageBg: "#1ccd8d",
207 207
 					text: "综合调度", //WorkOrder/GetLDDealList
@@ -216,13 +216,13 @@ export default {
216 216
 			text: "故障报修", //WorkOrder/GetLDDealList
217 217
 			navigateToUrl: "/pages/myTask/repairList/myRepairOrderList/myRepairOrderList?segmenter=0&urlIndex=0",
218 218
 		},  {
219
-				id: "13",
219
+				id: "2",
220 220
 				imagePath: "../../static/consult.png",
221 221
 				imageBg: "#1ccd8d",
222 222
 				text: "咨询工单", //WorkOrder/GetLDDealList
223 223
 				navigateToUrl: "/pages/myTask/consultList/consultList?segmenter=0&urlIndex=0",
224 224
 			},{
225
-				id: "13",
225
+				id: "3",
226 226
 				imagePath: "../../static/consult.png",
227 227
 				imageBg: "#1ccd8d",
228 228
 				text: "综合调度", //WorkOrder/GetLDDealList
@@ -230,19 +230,19 @@ export default {
230 230
 			},],
231 231
 		// 调度员
232 232
 		dispatchList: [{
233
-			id: "2",
233
+			id: "1",
234 234
 			imagePath: "../../static/reppair.png",
235 235
 			imageBg: "#1ccd8d",
236 236
 			text: "故障报修", //WorkOrder/GetLDDealList
237 237
 			navigateToUrl: "/pages/myTask/repairList/myRepairOrderList/myRepairOrderList?segmenter=0&urlIndex=1",
238 238
 		}, {
239
-				id: "13",
239
+				id: "2",
240 240
 				imagePath: "../../static/consult.png",
241 241
 				imageBg: "#1ccd8d",
242 242
 				text: "咨询工单", //WorkOrder/GetLDDealList
243 243
 				navigateToUrl: "/pages/myTask/consultList/consultList?segmenter=0&urlIndex=0",
244 244
 			},{
245
-				id: "13",
245
+				id: "3",
246 246
 				imagePath: "../../static/consult.png",
247 247
 				imageBg: "#1ccd8d",
248 248
 				text: "综合调度", //WorkOrder/GetLDDealList
@@ -250,7 +250,7 @@ export default {
250 250
 			},],
251 251
 		// 
252 252
 		AttendantList: [{
253
-				id: "13",
253
+				id: "1",
254 254
 				imagePath: "../../static/consult.png",
255 255
 				imageBg: "#1ccd8d",
256 256
 				text: "综合调度", //WorkOrder/GetLDDealList

+ 1 - 1
CallCenterWeb.UI/RMYYAPP/pages/components/orderSelect/orderSelect.vue

@@ -53,7 +53,7 @@
53 53
 			},
54 54
 			nodeclick(data) {
55 55
 				this.order = data.value
56
-				this.$emit('post-select-data',data.value)
56
+				this.$emit('post-select-data',data.value,data.id)
57 57
 			},
58 58
 			popupclosed() {
59 59
 				this.WorkOrderCategory = this.order

+ 19 - 17
CallCenterWeb.UI/RMYYAPP/pages/myTask/comDispatch/addComDispatch/addComDispatch.vue

@@ -22,15 +22,15 @@
22 22
 				<uni-forms-item label="科室位置" required name="Location">
23 23
 					<uni-easyinput v-model="valiFormData.Location" placeholder="请输入科室位置" />
24 24
 				</uni-forms-item>
25
-				<view style="margin: 15px 0;" v-show="valiFormData.WorkOrderCategory && flag[valiFormData.WorkOrderCategory]">
25
+				<view style="margin: 15px 0;" v-show="valiFormData.WorkOrderCategory && flag[flaginfo]">
26 26
 					<view style="margin-bottom: 15px;">
27
-						<text class="point">*</text><text class="infoTittle">{{flagName[valiFormData.WorkOrderCategory]}}</text>
27
+						<text class="point">*</text><text class="infoTittle">{{flagName[flaginfo]}}</text>
28 28
 						<uni-icons type="plus" size="30" color="#007aff" @click="plusClck()"></uni-icons>
29 29
 						<uni-icons type="minus" size="30" color="#007aff" @click="minusClck()"></uni-icons>
30 30
 					</view>
31 31
 					<view style="width: 100%;" v-for="(item, index) in dicList">
32 32
 						<view class="dicSelect">
33
-							<dictionaries-select :flag="flag[valiFormData.WorkOrderCategory]" :valInfo="index" :val="item.F_DicId + ','+ item.F_DicName"
33
+							<dictionaries-select :flag="flag[flaginfo]" :valInfo="index" :val="item.F_DicId + ','+ item.F_DicName"
34 34
 								@post-select-dic="postSelectDic"></dictionaries-select>
35 35
 						</view>
36 36
 						<view class="dicNum">
@@ -44,7 +44,7 @@
44 44
 				<uni-forms-item label="工单内容" required name="Content">
45 45
 					<uni-easyinput type="textarea" v-model="valiFormData.Content" placeholder="请输入工单内容" />
46 46
 				</uni-forms-item>
47
-				<uni-forms-item label="红处方数量" required name="redPrescriptionNum" v-show="valiFormData.WorkOrderCategory == 2004">
47
+				<uni-forms-item label="红处方数量" required name="redPrescriptionNum" v-show="flaginfo == '2004' ">
48 48
 					<uni-number-box v-model="redPrescriptionNum" />
49 49
 				</uni-forms-item>
50 50
 				<uni-forms-item label="附件" name="">
@@ -108,20 +108,21 @@
108 108
 				MaintenancerData: [], //指派人数据
109 109
 				orderApplicantData: [], // 用户人员信息
110 110
 				// 标本信息(BBXX),设备信息(SBXX),物资信息(WZXX),病床信息(BCXX),药品信息(YPXX)
111
-				flagid: [2001,2002,2003,2006,9010],
111
+				flagid: ["2001","2002","2003","2006","2005"],
112
+				flaginfo: '',
112 113
 				flag: {
113
-					2006: 'BBXX', 
114
-					2001: 'SBXX', 
115
-					2002: 'WZXX',
116
-					2003: 'BCXX', 
117
-					9010: 'YPXX'
114
+					"2006": 'BBXX', 
115
+					"2001": 'SBXX', 
116
+					"2002": 'WZXX',
117
+					"2003": 'BCXX', 
118
+					"2005": 'YPXX'
118 119
 				},
119 120
 				flagName: {
120
-					2001: '设备信息',
121
-					2002: '物资信息',
122
-					2003: '病床信息',
123
-					2006: '标本信息',
124
-					9010: '药品信息'
121
+					"2001": '设备信息',
122
+					"2002": '物资信息',
123
+					"2003": '病床信息',
124
+					"2006": '标本信息',
125
+					"2005": '药品信息'
125 126
 				},
126 127
 				dicList: [{
127 128
 					F_DicId: 0,
@@ -170,9 +171,10 @@
170 171
 		},
171 172
 		methods: {
172 173
 			// 工单类别
173
-			postSelectData(e) {
174
+			postSelectData(e,id) {
175
+				this.flaginfo = String(id)
174 176
 				this.valiFormData.WorkOrderCategory = e
175
-				if(this.flagid.indexOf(this.valiFormData.WorkOrderCategory) > -1) {
177
+				if(this.flagid.indexOf(this.flaginfo) > -1) {
176 178
 					this.dicList = [{
177 179
 						F_DicId: 0,
178 180
 						F_DicName: '',

+ 1 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/comDispatch/comDispatchDetail/comDispatchDetail.vue

@@ -40,6 +40,7 @@
40 40
 			</view>
41 41
 			<view class="contentTable">
42 42
 				<text class="contentTitle" style="float: left;width: 70px;">配送信息:</text>
43
+				<text class="contentText" v-if="detailContentData.PSInfo == []">''</text>
43 44
 				<view class="contentText" style="margin-left: 75px;" v-for="item in detailContentData.PSInfo">{{item.F_DicName + '('+ item.F_Number + ')'}}</view>
44 45
 			</view>
45 46
 			<view class="contentTable">

+ 1 - 0
CallCenterWeb.UI/RMYYAPP/utils/dataTreating.js

@@ -8,6 +8,7 @@ export function filterTreeDatas(tree) {
8 8
 	    accessedRouters.push({
9 9
 	      value: tree[i].id,
10 10
 	      text: tree[i].text,
11
+		  id: tree[i].identification
11 12
 	    })
12 13
 	    if (tree[i].children) {
13 14
 	      accessedRouters[j].children = filterTreeDatas(tree[i].children)