|
@@ -37,6 +37,7 @@
|
|
:selectType="uploadOption.selectType"
|
|
:selectType="uploadOption.selectType"
|
|
:dialogVisible="uploadOption.dialogVisible"
|
|
:dialogVisible="uploadOption.dialogVisible"
|
|
:default-selected="uploadOption.defaultSelected"
|
|
:default-selected="uploadOption.defaultSelected"
|
|
|
|
+ :default-remark="uploadOption.defaultRemark"
|
|
@handleClose="handleUploadReady"
|
|
@handleClose="handleUploadReady"
|
|
@dialogVisibleClose="uploadOption.dialogVisible=false"
|
|
@dialogVisibleClose="uploadOption.dialogVisible=false"
|
|
></upload-dialog>
|
|
></upload-dialog>
|
|
@@ -82,6 +83,7 @@ export default {
|
|
pageName: '',
|
|
pageName: '',
|
|
selectType: '',
|
|
selectType: '',
|
|
defaultSelected: [],
|
|
defaultSelected: [],
|
|
|
|
+ defaultRemark: '',
|
|
dialogVisible: false
|
|
dialogVisible: false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -133,6 +135,7 @@ export default {
|
|
this.uploadWork = work
|
|
this.uploadWork = work
|
|
this.uploadOption.selectType = 'student'
|
|
this.uploadOption.selectType = 'student'
|
|
this.uploadOption.defaultSelected = res.data.map(item => item.customerCode) || []
|
|
this.uploadOption.defaultSelected = res.data.map(item => item.customerCode) || []
|
|
|
|
+ this.uploadOption.defaultRemark = work.remark
|
|
this.uploadOption.dialogVisible = true
|
|
this.uploadOption.dialogVisible = true
|
|
},
|
|
},
|
|
async handleUploadReady(type, name, selectData) {
|
|
async handleUploadReady(type, name, selectData) {
|