|
@@ -45,9 +45,9 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="企业类型" prop="scrType">
|
|
|
+ <el-form-item label="链属关系" prop="scrType">
|
|
|
<el-select v-model="queryParams.scrType"
|
|
|
- placeholder="企业类型"
|
|
|
+ placeholder="链属关系"
|
|
|
clearable
|
|
|
size="small"
|
|
|
style="width: 215px">
|
|
@@ -86,7 +86,11 @@
|
|
|
</el-row>
|
|
|
|
|
|
<el-table v-loading="loading" :data="companyRelList" stripe border>
|
|
|
- <el-table-column label="序号" type="index" width="55" align="center" />
|
|
|
+ <el-table-column label="序号" type="index" width="50" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="社会统一代码" align="center" prop="companyCode" v-if="uncheckList.companyCode" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.launch">{{scope.row.receiveScySocialCode}}</span>
|
|
@@ -99,7 +103,7 @@
|
|
|
<span v-else>{{scope.row.launchScyName}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="企业类型" align="center" prop="companyType" v-if="uncheckList.companyType">
|
|
|
+ <el-table-column label="链属关系" align="center" prop="companyType" v-if="uncheckList.companyType">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.launch">{{companyTypeFormat(scope.row.launchScrReceiveType)}}</span>
|
|
|
<span v-else>{{companyTypeFormat(scope.row.launchScrLaunchType)}}</span>
|
|
@@ -189,9 +193,9 @@
|
|
|
@keyup.enter.native="handleSpareQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="企业类型" prop="scrType">
|
|
|
+ <el-form-item label="链属关系" prop="scrType">
|
|
|
<el-select v-model="spareParams.scrType"
|
|
|
- placeholder="企业类型"
|
|
|
+ placeholder="请选择链属关系"
|
|
|
clearable
|
|
|
size="small"
|
|
|
style="width: 215px">
|
|
@@ -231,10 +235,14 @@
|
|
|
|
|
|
<!-- 未认证企业信息列表 -->
|
|
|
<el-table v-loading="loading" :data="spareOwnlist" stripe border>
|
|
|
- <el-table-column label="序号" type="index" width="55" align="center" />
|
|
|
+ <el-table-column label="序号" type="index" width="50" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{(spareParams.pageNum - 1) * spareParams.pageSize + scope.$index + 1}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="企业名称" align="center" width="202" prop="scpName" show-overflow-tooltip/>
|
|
|
<el-table-column label="社会统一代码" align="center" width="151" prop="scpSocialCode" show-overflow-tooltip/>
|
|
|
- <el-table-column label="企业类型" align="center" width="91" prop="scpType" :formatter="scpTypeFormat" />
|
|
|
+ <el-table-column label="链属关系" align="center" width="91" prop="scpType" :formatter="scpTypeFormat" />
|
|
|
<el-table-column label="联系人" align="center" width="83" prop="scpContarct" />
|
|
|
<el-table-column label="联系电话" align="center" width="109" prop="scpContarctPhone" show-overflow-tooltip />
|
|
|
<el-table-column label="邮箱" align="center" width="187" prop="scpContarctEmail" show-overflow-tooltip/>
|
|
@@ -273,9 +281,9 @@
|
|
|
<el-form-item label="企业编号" prop="scyId" style="display:none" >
|
|
|
<el-input v-model="form.scyId" disabled />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="企业类型" prop="scrReceiveType">
|
|
|
+ <el-form-item label="链属关系" prop="scrReceiveType">
|
|
|
<el-select v-model="form.scrReceiveType"
|
|
|
- placeholder="请选择企业类型"
|
|
|
+ placeholder="请选择链属关系"
|
|
|
clearable
|
|
|
size="small"
|
|
|
style="width: 215px">
|
|
@@ -465,7 +473,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
label: 'companyType',
|
|
|
- value: '企业类型'
|
|
|
+ value: '链属关系'
|
|
|
},
|
|
|
{
|
|
|
label: 'launchScrContarct',
|
|
@@ -508,7 +516,7 @@ export default {
|
|
|
{ required: true, message: "公司名称不能为空", trigger: ["blur", "change"] },
|
|
|
],
|
|
|
scrReceiveType:[
|
|
|
- { required: true, message: "企业类型不能为空", trigger: ["blur", "change"] },
|
|
|
+ { required: true, message: "链属关系不能为空", trigger: ["blur", "change"] },
|
|
|
],
|
|
|
scrContarctPhone: [
|
|
|
{
|
|
@@ -609,7 +617,7 @@ export default {
|
|
|
return this.selectDictLabel(this.scrTypeOptions, companyType);
|
|
|
},
|
|
|
scpTypeFormat(row, column) {
|
|
|
- return this.selectDictLabel(this.scpTypeOptions, row.scpType);
|
|
|
+ return this.selectDictLabel(this.scrTypeOptions, row.scpType);
|
|
|
},
|
|
|
scpStatusFormat(row, column) {
|
|
|
return this.selectDictLabel(this.scpStatusOptions, row.scpStatus);
|
|
@@ -665,6 +673,7 @@ export default {
|
|
|
this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
|
|
|
this.getList();
|
|
|
this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
},
|
|
|
// 提交上传文件
|
|
|
submitFileForm() {
|
|
@@ -831,6 +840,7 @@ submitForm() {
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
});
|
|
|
loading.close();
|
|
|
}
|
|
@@ -849,8 +859,10 @@ submitForm() {
|
|
|
const state = "01";
|
|
|
return updateRel(launchScrId,state);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
this.msgSuccess("链属成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.$message({
|
|
@@ -868,8 +880,10 @@ submitForm() {
|
|
|
const state = "01";
|
|
|
return updateRel(launchScrId,state);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
this.msgSuccess("链属成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.$message({
|
|
@@ -893,8 +907,10 @@ submitForm() {
|
|
|
const state = "02";
|
|
|
return updateRel(launchScrId,state);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
this.msgSuccess("拒绝成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.$message({
|
|
@@ -913,8 +929,10 @@ submitForm() {
|
|
|
const state = "02";
|
|
|
return updateRel(launchScrId,state);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
this.msgSuccess("拒绝成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.$message({
|
|
@@ -937,8 +955,10 @@ submitForm() {
|
|
|
}).then(function() {
|
|
|
return delRel(launchScrId);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
this.msgSuccess("解绑成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.$message({
|
|
@@ -956,8 +976,10 @@ submitForm() {
|
|
|
}).then(function() {
|
|
|
return delRel(launchScrId);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
this.msgSuccess("解绑成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
})
|
|
|
.catch(() => {
|
|
|
this.$message({
|
|
@@ -1000,12 +1022,14 @@ submitForm() {
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
})
|
|
|
againInvite(row).then(response => {
|
|
|
- this.getList();
|
|
|
- this.getSpare();
|
|
|
- }).then(() => {
|
|
|
this.getList();
|
|
|
this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
+ }).then(() => {
|
|
|
this.msgSuccess("重邀成功");
|
|
|
+ this.getList();
|
|
|
+ this.getSpare();
|
|
|
+ this.getCompanyList();
|
|
|
loading.close();
|
|
|
}).catch((e) => {
|
|
|
loading.close();
|