|
|
|
@ -1,37 +1,103 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<el-card class="el-card">
|
|
|
|
|
<el-form :model="query" label-width="100px" class="query-form" size="mini" v-show="showSearch">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col type="flex" :span="8">
|
|
|
|
|
<el-form-item label="注册企业名称:">
|
|
|
|
|
<el-form v-if="queryList && queryList.length > 0" :model="query" label-width="100px" class="query-form" size="mini" v-show="showSearch">
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col type="flex" :span="8">-->
|
|
|
|
|
<!-- <el-form-item label="注册企业名称:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="query.companyName"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- placeholder="注册企业名称:"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col type="flex" :span="8">-->
|
|
|
|
|
<!-- <el-form-item label="往来单位名称:">-->
|
|
|
|
|
<!-- <el-input-->
|
|
|
|
|
<!-- v-model="query.name"-->
|
|
|
|
|
<!-- style="width: 90%"-->
|
|
|
|
|
<!-- placeholder="往来单位名称"-->
|
|
|
|
|
<!-- clearable-->
|
|
|
|
|
<!-- ></el-input>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- <el-col span="8">-->
|
|
|
|
|
<!-- <el-form-item label="往来单位类型:">-->
|
|
|
|
|
<!-- <el-select v-model="query.corpType" style="width: 90%" placeholder="请选择往来单位类型">-->
|
|
|
|
|
<!-- <el-option label="全部" value=""></el-option>-->
|
|
|
|
|
<!-- <el-option label="客户" value="1"></el-option>-->
|
|
|
|
|
<!-- <el-option label="供应商" value="2"></el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<!-- </el-col>-->
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<el-row style=" display:flex; flex-wrap: wrap; ">
|
|
|
|
|
<template v-for="(item, index) in queryList" >
|
|
|
|
|
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`" :key="item.id">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="query.companyName"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
placeholder="注册企业名称:"
|
|
|
|
|
v-model="query[item.columnName]"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
:disabled="executeEval(null,item.disabledFuc,false)"
|
|
|
|
|
@keyup.enter.native="executeFuc($event,'5',item.clickFuc)"
|
|
|
|
|
clearable
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col type="flex" :span="8">
|
|
|
|
|
<el-form-item label="往来单位名称:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="query.name"
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
placeholder="往来单位名称"
|
|
|
|
|
clearable
|
|
|
|
|
></el-input>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'select' && !query.bussinessStatus && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-select v-model="query[item.columnName]"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
:disabled="executeEval(null,item.disabledFuc,false)"
|
|
|
|
|
clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in item.lableRuleObj"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col span="8">
|
|
|
|
|
<el-form-item label="往来单位类型:">
|
|
|
|
|
<el-select v-model="query.corpType" style="width: 90%" placeholder="请选择往来单位类型">
|
|
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
|
|
<el-option label="客户" value="1"></el-option>
|
|
|
|
|
<el-option label="供应商" value="2"></el-option>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'selectServer' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="query[item.columnName]"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
@change="executeFuc($event,'5',item.checkRules)"
|
|
|
|
|
:disabled="executeEval(null,item.disabledFuc,false)"
|
|
|
|
|
filterable
|
|
|
|
|
remote
|
|
|
|
|
:remote-method="(query) => executeFuc(query,'5',item.clickFuc)"
|
|
|
|
|
clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in options[item.clickFuc]"
|
|
|
|
|
:key="item.code"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'datePicker' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
:picker-options="pickerOptions"
|
|
|
|
|
v-model="actDateRange"
|
|
|
|
|
type="daterange"
|
|
|
|
|
format="yyyy 年 MM 月 dd 日"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
range-separator="至"
|
|
|
|
|
start-placeholder="开始日期"
|
|
|
|
|
end-placeholder="结束日期"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item v-if="item.columnType == 'date' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="query[item.columnName]"
|
|
|
|
|
:style="`width:${item.width+'px'}`"
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
:disabled="executeEval(null,item.disabledFuc,false)"
|
|
|
|
|
type="date"
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
@ -52,24 +118,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="list" border highlight-current-row>
|
|
|
|
|
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
|
|
|
|
<el-table-column label="注册企业" prop="companyName" width="230"></el-table-column>
|
|
|
|
|
<el-table-column label="往来单位" prop="name" width="230"></el-table-column>
|
|
|
|
|
<el-table-column label="往来单位编码" prop="erpId" width="120" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="第三方主系统ID" prop="thirdId" width="120" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="名称" prop="name" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<el-table-column label="简写" prop="spell" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="社会信用号" prop="creditNo" width="230" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="地址" prop="addr" width="230" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="180" fixed="right">
|
|
|
|
|
<!-- <el-table-column label="序号" type="index" width="50"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="注册企业" prop="companyName" width="230"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="往来单位" prop="name" width="230"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="往来单位编码" prop="erpId" width="120" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="第三方主系统ID" prop="thirdId" width="120" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <!– <el-table-column label="名称" prop="name" show-overflow-tooltip></el-table-column>–>-->
|
|
|
|
|
<!-- <el-table-column label="简写" prop="spell" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="社会信用号" prop="creditNo" width="230" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="地址" prop="addr" width="230" show-overflow-tooltip></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="操作" width="180" fixed="right">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <el-button type="text" @click.native="handleForm(scope.$index, scope.row)">编辑</el-button>-->
|
|
|
|
|
<!-- <el-button type="text" @click.native="handCert(scope.$index, scope.row)">资质证书</el-button>-->
|
|
|
|
|
<!--<!– <el-button type="text" @click.native.stop="deleteDialog(scope.row)">–>-->
|
|
|
|
|
<!--<!– 删除–>-->
|
|
|
|
|
<!--<!– </el-button>–>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<template v-for="(item, index) in tableHeader">
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'id' && executeEval(row,item.expression,true)"
|
|
|
|
|
type="index" :label="item.columnDesc"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'selection'"
|
|
|
|
|
type="selection"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:selectable="(row,number) => executeFuc(row,'3',item.clickFuc)"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'radio' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text" @click.native="handleForm(scope.$index, scope.row)">编辑</el-button>
|
|
|
|
|
<el-button type="text" @click.native="handCert(scope.$index, scope.row)">资质证书</el-button>
|
|
|
|
|
<!-- <el-button type="text" @click.native.stop="deleteDialog(scope.row)">-->
|
|
|
|
|
<!-- 删除-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'laber' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item.lableRuleObj[scope.row[item.columnName]])}">{{ item.lableRuleObj[scope.row[item.columnName]] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'eltag' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag :type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
|
|
|
|
|
<span>{{ item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName] }}</span>
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'button' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
fixed="right"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button v-for="(buttonItem, buttonIndex) in item.buttonRulObj"
|
|
|
|
|
:type="buttonItem.type"
|
|
|
|
|
:size="buttonItem.size"
|
|
|
|
|
:style="buttonItem.style"
|
|
|
|
|
:key="buttonItem"
|
|
|
|
|
v-if="executeEval(scope.row,buttonItem.hasPermi,true)"
|
|
|
|
|
:disabled="executeEval(scope.row,buttonItem.disabledFuc,false)"
|
|
|
|
|
@click.native.stop="executeFuc(scope.row,'1',buttonItem.clickFuc)"
|
|
|
|
|
>{{ buttonItem.name }}
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="item.columnType == 'text' && executeEval(row,item.expression,true)"
|
|
|
|
|
:prop="item.columnName"
|
|
|
|
|
:label="item.columnDesc"
|
|
|
|
|
:sortable="item.sort"
|
|
|
|
|
:width="item.width"
|
|
|
|
|
:show-overflow-tooltip="item.tooltip"
|
|
|
|
|
:key="item.columnName"
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span :style="{color: executeFuc(scope.row,'4',item,scope.row[item.columnName])}">{{ scope.row[item.columnName] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -322,6 +475,7 @@ import {deleteCompanyCert, filterCompanyCert} from "@/api/purchase/companyCert";
|
|
|
|
|
import companyAddCert from "@/views/purchase/cert/supCertAddDialog.vue";
|
|
|
|
|
import {getUUID} from "@/utils/strUtil";
|
|
|
|
|
import {getCompanyList} from "@/api/purchase/supManufacturer";
|
|
|
|
|
import {executeFuc, getHead} from "@/utils/customConfig";
|
|
|
|
|
|
|
|
|
|
var pinyin = require("pinyin");
|
|
|
|
|
|
|
|
|
@ -374,7 +528,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
query: {
|
|
|
|
|
key: "",
|
|
|
|
|
corpType: "2",
|
|
|
|
|
corpType: this.$route.query.corpType,
|
|
|
|
|
bussinessStatus: this.$route.query.bussinessStatus,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
},
|
|
|
|
@ -465,6 +620,11 @@ export default {
|
|
|
|
|
sysList: [],
|
|
|
|
|
loading: false,
|
|
|
|
|
total: 0,
|
|
|
|
|
tableHeader:[],
|
|
|
|
|
queryList:[],
|
|
|
|
|
fromList:[],
|
|
|
|
|
options: {
|
|
|
|
|
},
|
|
|
|
|
multipleSelection: [],
|
|
|
|
|
thirdSys: [],
|
|
|
|
|
thirdSysFk: null,
|
|
|
|
@ -677,44 +837,37 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
handCert(index, row) {
|
|
|
|
|
handCert(_this, row) {
|
|
|
|
|
console.log(row);
|
|
|
|
|
this.registrationId = row.id;
|
|
|
|
|
this.curProductQuery = row;
|
|
|
|
|
_this.registrationId = row.id;
|
|
|
|
|
_this.curProductQuery = row;
|
|
|
|
|
// this.curProductQuery.cuStatus = this.currentManufacturer.auditStatus;
|
|
|
|
|
// this.curProductQuery.companyIdFk =
|
|
|
|
|
// this.list.companyIdFk;
|
|
|
|
|
console.log(this.curProductQuery)
|
|
|
|
|
if (this.editType == 0) {
|
|
|
|
|
console.log(_this.curProductQuery)
|
|
|
|
|
if (_this.editType == 0) {
|
|
|
|
|
// this.inputQuery.productId = getUUID("");
|
|
|
|
|
this.inputQuery.companyIdFk = this.list.companyIdFk;
|
|
|
|
|
this.inputQuery.customerId=this.curProductQuery.erpId;
|
|
|
|
|
_this.inputQuery.companyIdFk = _this.list.companyIdFk;
|
|
|
|
|
_this.inputQuery.customerId=_this.curProductQuery.erpId;
|
|
|
|
|
} else {
|
|
|
|
|
this.getCompanyCertList();
|
|
|
|
|
this.pmQuery.customerId = this.curProductQuery.erpId;
|
|
|
|
|
this.pmQuery.companyIdFk = this.curProductQuery.companyIdFk;
|
|
|
|
|
console.log("2"+ this.list.companyIdFk);
|
|
|
|
|
_this.getCompanyCertList();
|
|
|
|
|
_this.pmQuery.customerId = _this.curProductQuery.erpId;
|
|
|
|
|
_this.pmQuery.companyIdFk = _this.curProductQuery.companyIdFk;
|
|
|
|
|
console.log("2"+ _this.list.companyIdFk);
|
|
|
|
|
}
|
|
|
|
|
this.cuStatus = this.certList.auditStatus;
|
|
|
|
|
this.findMethod();
|
|
|
|
|
this.findPMMethod();
|
|
|
|
|
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
|
console.log("666666666666:"+this.cuStatus);
|
|
|
|
|
_this.cuStatus = _this.certList.auditStatus;
|
|
|
|
|
_this.findMethod();
|
|
|
|
|
_this.findPMMethod();
|
|
|
|
|
_this.certFileUrl = _this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
|
console.log("666666666666:"+_this.cuStatus);
|
|
|
|
|
|
|
|
|
|
this.formName = "cert";
|
|
|
|
|
this.editProductType = 1;
|
|
|
|
|
_this.formName = "cert";
|
|
|
|
|
_this.editProductType = 1;
|
|
|
|
|
|
|
|
|
|
this.formVisible = true;
|
|
|
|
|
_this.formVisible = true;
|
|
|
|
|
// this.formName = "add";
|
|
|
|
|
this.spellUpdate = false;
|
|
|
|
|
if (index !== null) {
|
|
|
|
|
this.index = index;
|
|
|
|
|
this.formName = "cert";
|
|
|
|
|
this.spellUpdate = true;
|
|
|
|
|
this.editQuery = row;
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
this.editQuery = {
|
|
|
|
|
_this.spellUpdate = false;
|
|
|
|
|
_this.editQuery = {
|
|
|
|
|
id: "",
|
|
|
|
|
thirdId: "",
|
|
|
|
|
erpId: "",
|
|
|
|
@ -727,23 +880,15 @@ export default {
|
|
|
|
|
contact: "",
|
|
|
|
|
mobile: ""
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//this.getThirdSysDetail();
|
|
|
|
|
},
|
|
|
|
|
// 显示表单
|
|
|
|
|
handleForm(index, row) {
|
|
|
|
|
this.formVisible = true;
|
|
|
|
|
this.formName = "add";
|
|
|
|
|
this.spellUpdate = false;
|
|
|
|
|
if (index !== null) {
|
|
|
|
|
this.index = index;
|
|
|
|
|
this.formName = "update";
|
|
|
|
|
this.spellUpdate = true;
|
|
|
|
|
this.editQuery = row;
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
this.editQuery = {
|
|
|
|
|
handleForm(_this, row) {
|
|
|
|
|
_this.formVisible = true;
|
|
|
|
|
_this.formName = "add";
|
|
|
|
|
_this.spellUpdate = false;
|
|
|
|
|
_this.editQuery = {
|
|
|
|
|
id: "",
|
|
|
|
|
thirdId: "",
|
|
|
|
|
erpId: "",
|
|
|
|
@ -756,10 +901,18 @@ export default {
|
|
|
|
|
contact: "",
|
|
|
|
|
mobile: ""
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//this.getThirdSysDetail();
|
|
|
|
|
},
|
|
|
|
|
executeFuc(row,type,clickFuc,value){
|
|
|
|
|
return executeFuc(this,row,type,clickFuc,value);
|
|
|
|
|
},
|
|
|
|
|
executeEval(row,expression,defaultRet){
|
|
|
|
|
if(expression){
|
|
|
|
|
return eval(expression);
|
|
|
|
|
}
|
|
|
|
|
return defaultRet;
|
|
|
|
|
},
|
|
|
|
|
formSubmit() {
|
|
|
|
|
if (this.$isBlank(this.editQuery.corpType)) {
|
|
|
|
|
this.$message.error("往来单位类型不能为空!");
|
|
|
|
@ -991,7 +1144,14 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
created() {
|
|
|
|
|
this.getList();
|
|
|
|
|
getHead("corpMaintain","1").then((re) => {
|
|
|
|
|
// 处理返回的数据
|
|
|
|
|
this.tableObj = re.data;
|
|
|
|
|
this.tableHeader = re.data.tableList;
|
|
|
|
|
this.queryList = re.data.queryList;
|
|
|
|
|
this.fromList = re.data.fromList;
|
|
|
|
|
this.getList()
|
|
|
|
|
});
|
|
|
|
|
//this.getSyncConfig();
|
|
|
|
|
//this.getBasicThirdSys();
|
|
|
|
|
if (this.editType == 0) {
|
|
|
|
|