|
|
@@ -14,7 +14,7 @@
|
|
|
<el-row>
|
|
|
<el-col :xs="24" :sm="12" :md="8" :lg="6" >
|
|
|
<el-form-item label="是否专职" prop="isFullTime">
|
|
|
-
|
|
|
+
|
|
|
<el-switch
|
|
|
v-model="formData.isFullTime"
|
|
|
active-text
|
|
|
@@ -51,7 +51,7 @@
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
/>
|
|
|
- </el-select>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
@@ -79,7 +79,7 @@
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
/>
|
|
|
- </el-select>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :md="8" :lg="6" >
|
|
|
@@ -158,14 +158,14 @@
|
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
|
/>
|
|
|
- </el-select>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :xs="24" :sm="12" :md="8" :lg="6" >
|
|
|
<el-form-item label="上传相关证书">
|
|
|
- <image-upload :limit="5" :fileSize="2"></image-upload>
|
|
|
+ <image-upload :limit="5" :fileSize="2" @input="getImgUrl"></image-upload>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :md="8" :lg="6" >
|
|
|
@@ -307,6 +307,9 @@ export default {
|
|
|
],
|
|
|
desc: [
|
|
|
{ required: true, message: '请填写活动形式', trigger: 'blur' }
|
|
|
+ ],
|
|
|
+ qualificationCertificateUrl: [
|
|
|
+ { required: true, message: '请上传资格证', trigger: 'change' }
|
|
|
]
|
|
|
},
|
|
|
// 机构树选项
|
|
|
@@ -370,6 +373,7 @@ export default {
|
|
|
propItem: "",
|
|
|
|
|
|
row: "",
|
|
|
+ imgs:[]
|
|
|
};
|
|
|
},
|
|
|
|
|
|
@@ -389,7 +393,10 @@ export default {
|
|
|
},
|
|
|
mounted() {},
|
|
|
methods: {
|
|
|
- request() {},
|
|
|
+ getImgUrl(img){
|
|
|
+ this.imgs.push(img);
|
|
|
+ console.log(this.imgs,'imgs')
|
|
|
+ },
|
|
|
handleChange(value) {},
|
|
|
//自定义数据
|
|
|
tenantIdnormalizer(node, instanceId) {
|
|
|
@@ -420,15 +427,16 @@ export default {
|
|
|
},
|
|
|
saveExtend(){
|
|
|
this.formData.userId = this.$route.params.userId;
|
|
|
+ this.formData.qualificationCertificateUrl = this.imgs.toString(',');
|
|
|
this.$refs['form'].validate((valid) => {
|
|
|
if (valid) {
|
|
|
extendUserInformation(this.formData).then(res=>{
|
|
|
this.$message.success('保存成功!')
|
|
|
this.$router.go(-1)
|
|
|
})
|
|
|
- }
|
|
|
+ }
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
getExtendInfo() {
|
|
|
getExtendByOrgId(this.$route.params.id).then((data) => {
|
|
|
@@ -657,7 +665,7 @@ export default {
|
|
|
// responsibilitiesLeaderName: this.responsibilitiesLeaderName,
|
|
|
// responsibilitiesLeaderDuties: this.responsibilitiesLeaderDuties,
|
|
|
// qualificationCertificateUrl: this.qualificationCertificateUrl,
|
|
|
-
|
|
|
+
|
|
|
// id: this.id,
|
|
|
// };
|
|
|
// if(this.extendId){
|