diff --git a/src/assets/style/common.scss b/src/assets/style/common.scss index ad6b0dd..53ca7e2 100644 --- a/src/assets/style/common.scss +++ b/src/assets/style/common.scss @@ -83,6 +83,7 @@ a { } .text { flex: 1; + height: 30px; } } diff --git a/src/components/CompanyForm/index.vue b/src/components/CompanyForm/index.vue index a92f476..6d21199 100644 --- a/src/components/CompanyForm/index.vue +++ b/src/components/CompanyForm/index.vue @@ -17,8 +17,7 @@ class="NCC-dialog NCC-dialog_center company-dialog" > - + @@ -59,6 +58,25 @@ + + + + + + + + + + + + + + + + + {{ v.fullName }} @@ -103,6 +121,8 @@ export default { contactInformation: undefined, qualificationCertificate: [], otherInfo: undefined, + contactUser: undefined, + contactPhone: undefined }, rules: { companyName: [ @@ -112,10 +132,10 @@ export default { trigger: 'blur' }, ], - contactInformation: [ + contactPhone: [ { pattern: /^1[3456789]\d{9}$|^0\d{2,3}-?\d{7,8}$/, - message: '请输入正确的联系方式', + message: '请输入正确的联系电话', trigger: 'blur' }, ], @@ -126,15 +146,15 @@ export default { watch: {}, mounted() {}, created() { - this.initAreaTypeList(); }, methods: { close() { this.visible = false; }, - openDialog() { - this.visible = true; - this.$refs['elForm'].resetFields(); + async openDialog() { + this.visible = true; + await this.initAreaTypeList(); + this.$refs['elForm'].resetFields(); }, async dataFormSubmit() { this.$refs['elForm'].validate((valid) => { diff --git a/src/components/Generator/components/Upload/UploadFz.vue b/src/components/Generator/components/Upload/UploadFz.vue index 27f68fe..59c30b6 100644 --- a/src/components/Generator/components/Upload/UploadFz.vue +++ b/src/components/Generator/components/Upload/UploadFz.vue @@ -3,7 +3,7 @@ - {{buttonText}} + {{buttonText}}
只能上传不超过{{fileSize}}{{sizeUnit}}的{{accept}}文件
@@ -117,6 +117,9 @@ export default { handleExceed(files, fileList) { this.$message.warning(`当前限制最多可以上传${this.limit}个文件`); }, + handlePreview(file) { + // console.log(file); + }, handleRemove(file, index) { this.fileList.splice(index, 1) this.$refs.elUpload.uploadFiles.splice(index, 1) diff --git a/src/components/InfoForm/index.vue b/src/components/InfoForm/index.vue index 8f00997..b281107 100644 --- a/src/components/InfoForm/index.vue +++ b/src/components/InfoForm/index.vue @@ -32,7 +32,6 @@ v-model="infoForm.companyId" placeholder="请选择运营主体" clearable - v-loadMore="nextCompanyList" style="width: 100%" @change="companyChange" > @@ -47,7 +46,7 @@
- + @@ -73,7 +72,16 @@ - + + + + + + - - - + + + + + + + + + + - - - - - + + + + - - - - - + + + + + - - - + + + - - - - + + + + - - - - - - + + + + + + + + @@ -181,7 +215,7 @@ > - + - 取消 + 取消 确认 @@ -266,11 +300,10 @@