|
@@ -112,11 +112,15 @@
|
|
codeList: []
|
|
codeList: []
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- onLoad() {
|
|
|
|
|
|
+ onLoad(op) {
|
|
this.action = process.jphelp.BASE_URL + "uploadPicture"
|
|
this.action = process.jphelp.BASE_URL + "uploadPicture"
|
|
this.formData.subFolder = "/yooudian/inspection/addTask"
|
|
this.formData.subFolder = "/yooudian/inspection/addTask"
|
|
var token = this.jphelp.getToken()
|
|
var token = this.jphelp.getToken()
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ if(op.stationId){
|
|
|
|
+ this.taskInfo.stationId = op.stationId
|
|
|
|
+ this.stationName = op.stationName
|
|
|
|
+ }
|
|
this.header = {
|
|
this.header = {
|
|
|
|
|
|
'Authorization': token
|
|
'Authorization': token
|