miaofuhao лет назад: 3
Родитель
Сommit
29f974f7a6

+ 8 - 1
CallCenterWeb.UI/RMYYAPP/config/constData.config.js

@@ -185,7 +185,14 @@ export default {
185 185
 				imageBg: "#1ccd8d",
186 186
 				text: "综合调度", //WorkOrder/GetLDDealList
187 187
 				navigateToUrl: "/pages/myTask/comDispatch/applicantList/applicantList?segmenter=0&urlIndex=0",
188
-			},],
188
+			},
189
+			{
190
+				id: "12",
191
+				imagePath: "../../static/icon_vehicleScheduling.png",
192
+				imageBg: "#1ccd8d",
193
+				text: "申请人列表", //WorkOrder/GetLDDealList
194
+				navigateToUrl: "/pages/myTask/vehicleSchedulList/vehicleSchedulList?segmenter=1",
195
+			}],
189 196
 		// 
190 197
 		AttendantList: [{
191 198
 				id: "1",

+ 3 - 2
CallCenterWeb.UI/RMYYAPP/pages/adressBook/adressBook.vue

@@ -20,7 +20,7 @@
20 20
 </template>
21 21
 
22 22
 <script>
23
-	import {filterTreeDatas,filterTreatData} from '@/utils/dataTreating.js'
23
+	import {filterDepartTreeDatas,filterTreatData} from '@/utils/dataTreating.js'
24 24
 	import citySelect from '@/components/city-select/city-select.vue'
25 25
 	import pageData from "@/pages/myTask/repairList/addRepair/pageData.js"
26 26
 	export default {
@@ -56,6 +56,7 @@
56 56
 		},
57 57
 		methods: {
58 58
 			deptNodeclick(e) {
59
+				console.log(e)
59 60
 				if(e) {
60 61
 					this.depart = e.id
61 62
 				}
@@ -92,7 +93,7 @@
92 93
 			getDet(){
93 94
 				this.$http.get("Department/GetTreeList").then((res)=>{
94 95
 					if(res.state.toLowerCase() ==="success"){
95
-						this.dataTree = filterTreeDatas(res.data)
96
+						this.dataTree = filterDepartTreeDatas(res.data)
96 97
 						console.log(this.dataTree )
97 98
 					}
98 99
 				}).catch((e) => {

+ 6 - 2
CallCenterWeb.UI/RMYYAPP/pages/myTask/vehicleSchedulList/applicantsList/addVehicle/addVehicle.vue

@@ -7,8 +7,10 @@
7 7
 					<order-select :orderType="valiFormData.WorkOrderCategory" @post-select-data="postSelectData" :typeid="4000" :readonly="detpReadonly"></order-select>
8 8
 				</uni-forms-item>
9 9
 				<uni-forms-item label="申请科室" required name="detpid">
10
-					<uni-data-picker placeholder="请选择科室" :readonly="detpReadonly" :localdata="deptDataTree" v-model="valiFormData.detpid" @nodeclick="deptNodeclick" @popupclosed="deptclosed">
10
+					
11
+					<uni-data-picker placeholder="请选择科室" v-if="!detpReadonly" :readonly="detpReadonly" :localdata="deptDataTree" v-model="valiFormData.detpid" @nodeclick="deptNodeclick" @popupclosed="deptclosed">
11 12
 					</uni-data-picker>
13
+					<uni-easyinput disabled v-model="valiFormData.F_ProposerDeptName" v-if="detpReadonly" />
12 14
 				</uni-forms-item>
13 15
 				<uni-forms-item label="申请人" required name="needman">
14 16
 					<uni-data-select v-model="valiFormData.needman" v-if="!detpReadonly" :localdata="ApplicantData" @change="changeApplicant" />
@@ -71,6 +73,7 @@
71 73
 					WorkOrderCategory: 0, //工单类型
72 74
 					hosid: 1, //申请院区
73 75
 					detpid:'',	//	申请部门
76
+					F_ProposerDeptName:'',
74 77
 					F_ProposerName:'',
75 78
 					needman: '', //申请人
76 79
 					phone: '', //电话
@@ -201,7 +204,7 @@
201 204
 					// console.log(this.departRepair)
202 205
 					pageData.getApplicant(e.value.split('_')[1], (res,data) => {
203 206
 						this.ApplicantData = res
204
-						this.orderApplicantData = data
207
+						// this.orderApplicantData = data
205 208
 					})
206 209
 					this.valiFormData.Phone = ''
207 210
 				}
@@ -282,6 +285,7 @@
282 285
 							this.valiFormData.WorkOrderCategory = this.detailContentData.F_Type //工单类型
283 286
 							this.valiFormData.hosid = this.detailContentData.F_HosId.toString() //申请院区
284 287
 							this.valiFormData.detpid = this.detailContentData.F_ProposerDeptId.toString() //申请部门
288
+							this.valiFormData.F_ProposerDeptName = this.detailContentData.F_ProposerDeptName.toString()
285 289
 							this.valiFormData.needman = this.detailContentData.F_ProposerCode.toString() //申请人
286 290
 							this.valiFormData.F_ProposerName = this.detailContentData.F_ProposerName.toString() //申请人姓名
287 291
 							

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

@@ -25,7 +25,7 @@ export function filterDepartTreeDatas(tree) {
25 25
 		accessedRouters.push({
26 26
 		  value: tree[i].TypeId+ '_' +tree[i].id,
27 27
 		  text: tree[i].text,
28
-		  id: tree[i].identification
28
+		  id: tree[i].id
29 29
 		})
30 30
 	    if (tree[i].children) {
31 31
 	      accessedRouters[j].children = filterDepartTreeDatas(tree[i].children)