|
@@ -271,6 +271,9 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
+ if (this.list.id) {
|
|
|
+ this.form = this.list;
|
|
|
+ }
|
|
|
if (this.list.mkFileShareAttachList) {
|
|
|
this.$refs.upload.attList = this.list.mkFileShareAttachList;
|
|
|
this.list.mkFileShareAttachList.map((item) => {
|
|
@@ -281,12 +284,16 @@ export default {
|
|
|
this.getFromQuery(this.form.orderNumber)
|
|
|
}
|
|
|
|
|
|
+
|
|
|
},
|
|
|
created() {
|
|
|
- this.form = this.list;
|
|
|
+ this.form = {
|
|
|
+ applicant: JSON.parse(window.sessionStorage.userInfo).loginName,
|
|
|
+ applicationTime: new Date(),
|
|
|
+ taskName: this.list.taskName,
|
|
|
+ orderNumber: this.list.orderNumber,
|
|
|
+ }
|
|
|
this.copyRule = this.rule;
|
|
|
- this.form.applicant = JSON.parse(window.sessionStorage.userInfo).loginName
|
|
|
- this.form.applicationTime = new Date();
|
|
|
this.getcityList()
|
|
|
},
|
|
|
|