flat: 邀请码暂存

This commit is contained in:
Apcallover
2024-03-17 20:25:26 +08:00
parent 53d65f9784
commit 054b89f3cf
16 changed files with 312 additions and 657 deletions

View File

@@ -1,10 +1,10 @@
<template>
<basic-container>
<el-drawer
title=""
append-to-body
:visible.sync="drawer"
size="88%"
<el-drawer
title=""
append-to-body
:visible.sync="drawer"
size="88%"
class="examineDialog"
:wrapperClosable="false"
:close-on-click-modal="false"
@@ -180,7 +180,7 @@
</div>
</el-tab-pane>
<el-tab-pane label="附件" name="enclosure">
<avue-form
<avue-form
:option="option"
v-model="companyInfo"
ref="formEnclosure"
@@ -214,11 +214,11 @@
<el-button type="primary" size="small" @click="saveHandelClick('enclosure','formEnclosure')">保存</el-button>
<i class="el-icon-download" @click="downloadAllClick('enclosure')">下载全部</i>
</p>
</el-tab-pane>
<el-tab-pane label="签发电子签章" name="contractOn">
<avue-form
<avue-form
:option="optionContractOn"
v-model="companyInfo"
ref="formContractOn"
@@ -234,7 +234,7 @@
<el-button type="primary" size="small" @click="saveHandelClick('contractOn','formContractOn')">保存</el-button>
<i class="el-icon-download" @click="downloadAllClick('contractOn')">下载全部</i>
</p>
</el-tab-pane>
<el-tab-pane label="操作记录" name="operationRecord">
<company-config-record :data="record"></company-config-record>
@@ -354,7 +354,7 @@ export default {
tenantId: null,
serviceData: [],
record:[],
mutiPutFile:putFile,
mutiPutFile: putFile(),
imgList:[],
option: {
labelWidth: 200,
@@ -377,7 +377,7 @@ export default {
accept,
size: "small",
prop: "identityUrl4Id",
action: putFile,
action: putFile(),
viewDisplay: false,
rules: [
{
@@ -403,7 +403,7 @@ export default {
accept,
size: "small",
prop: "identityUrl5Id",
action: putFile,
action: putFile(),
viewDisplay: false,
rules: [
{
@@ -430,7 +430,7 @@ export default {
data: [],
size: "small",
prop: "authUrlId",
action: putFile,
action: putFile(),
viewDisplay: false,
rules: [
{
@@ -440,7 +440,7 @@ export default {
],
// tip:'上传图片大小限制2M以内',
},
{
type: "upload",
label: "授权委托书",
@@ -458,7 +458,7 @@ export default {
accept,
size: "small",
prop: "letterOfAttorneyUrl",
action: putFile,
action: putFile(),
viewDisplay: false,
rules: [
{
@@ -504,7 +504,7 @@ export default {
data: [],
size: "small",
prop: "signSrcUrl",
action: putFile,
action: putFile(),
viewDisplay: false,
rules: [
{
@@ -531,7 +531,7 @@ export default {
accept,
size: "small",
prop: "templateUrl",
action: putFile,
action: putFile(),
viewDisplay: false,
rules: [
{
@@ -621,7 +621,7 @@ export default {
this.$emit('refresh')
}else{
this.$message.error(res.data.msg)
}
}
})
})
.catch(() => {});
@@ -686,7 +686,7 @@ export default {
// this.$message({
// type: 'info',
// message: '已取消删除'
// });
// });
});
}else{
if(row.type == 3 && row.value == 1){
@@ -707,7 +707,7 @@ export default {
// this.$message({
// type: 'info',
// message: '已取消删除'
// });
// });
});
}else{
setConfig(data)
@@ -719,9 +719,9 @@ export default {
this.getConfig();
});
}
}
},
/*免缴保证金*/
configPay(row, type) {
@@ -753,7 +753,7 @@ export default {
if(formName){
this.$refs[formName].validate((valid) => {
if (valid) {
this.saveUpdate(flag);
this.saveUpdate(flag);
} else {
console.log('error submit!!');
return false;
@@ -762,8 +762,8 @@ export default {
}else{
this.saveUpdate(flag);
}
},
saveUpdate(flag){
this.companyInfo.authUrlId = getPath(this.companyInfo.authUrlId);
@@ -772,7 +772,7 @@ export default {
this.companyInfo.remarks = '修改';
update(this.companyInfo).then(
() => {
this.openDialog(this.row);
this.openDialog(this.row);
this.$message({
type: "success",
message: "操作成功!",
@@ -791,7 +791,7 @@ export default {
this.openDialog(this.row,this.entranceFlag);
this[flag] = true;
this.btnShowFlag = false;
},
//终止合作
stopHandelClick(){
@@ -808,14 +808,14 @@ export default {
this.$emit('refresh')
}else{
this.$message.error(res.data.msg)
}
}
})
}).catch(() => {
});
},
/*多张图片上传*/
handleImgLimit(){
this.$message.warning('当前最多上传4张图片');
},
@@ -835,7 +835,7 @@ export default {
else{
this.$message.error('上传失败');
}
},
handleImgRemove(file){
let index=0;
@@ -905,8 +905,8 @@ export default {
})
});
this.getConfig();
},
handleClick(tab, event) {
console.log(tab, event);
@@ -995,11 +995,11 @@ export default {
line-height: 50px;
}
.examineDialog .serviceInfo li div{
width: 60%;
margin-left: 20px;
width: 60%;
margin-left: 20px;
}
.examineDialog .serviceInfo li span{
color: #409EFF;
color: #409EFF;
}
.examineDialog .serviceChargeInfo .tips{
line-height: 30px;