|
@@ -171,7 +171,7 @@ export default {
|
|
|
formItemAttributes: {
|
|
|
label: '附件',
|
|
|
prop: 'files',
|
|
|
- rules: []
|
|
|
+ rules: this.formData.type == "A" ? [...required] : []
|
|
|
},
|
|
|
render: (h, { props, onInput }) => {
|
|
|
var { value } = props
|
|
@@ -377,7 +377,7 @@ export default {
|
|
|
this[key] = true;
|
|
|
})
|
|
|
} else {
|
|
|
- getMemberList({"pageNum": 1, "pageSize": -1, type:"WORKER"} ).then(res=>{
|
|
|
+ getMemberList({ "pageNum": 1, "pageSize": -1, type: "WORKER" }).then(res => {
|
|
|
console.log(res.data.records)
|
|
|
this.workerList = res.data.records
|
|
|
this[key] = true;
|