|
|
@@ -164,11 +164,17 @@
|
|
164
|
164
|
onLoad(option) {
|
|
165
|
165
|
this.getFontSizeValue = uni.getStorageSync('fontSizeValue')+'rem'
|
|
166
|
166
|
// 维修员下步流程指派的时候只能指派给自己部门
|
|
|
167
|
+ this.valiFormData.ApplicationDept = uni.getStorageSync("deptId")
|
|
|
168
|
+ pageData.getApplicant(uni.getStorageSync("deptId"), (res,data,candidates) => {
|
|
|
169
|
+ this.candidates = candidates
|
|
|
170
|
+ this.ApplicantData = res
|
|
|
171
|
+ this.valiFormData.Applicant = uni.getStorageSync("userCode")
|
|
|
172
|
+ this.valiFormData.ApplicantName = this.$mHelper.findUserName(this.ApplicantData, uni.getStorageSync("userCode"))
|
|
|
173
|
+ })
|
|
167
|
174
|
if(uni.getStorageSync("roleCode") == 'GLY' || uni.getStorageSync("roleCode") == 'WXY') {
|
|
168
|
175
|
this.isShowIsEnd = true
|
|
169
|
176
|
if(uni.getStorageSync("roleCode") == 'WXY') {
|
|
170
|
177
|
this.readonly = true
|
|
171
|
|
- this.valiFormData.ApplicationDept = uni.getStorageSync("deptId")
|
|
172
|
178
|
this.valiFormData.MaintenanceDept = uni.getStorageSync("deptId")
|
|
173
|
179
|
pageData.getApplicant(uni.getStorageSync("deptId"), (res,data,candidates) => {
|
|
174
|
180
|
this.candidates = candidates
|