Commit 48091aab authored by 许珑标's avatar 许珑标

企业信息管理增加归属部门展示字段

parent e4268ff3
...@@ -71,14 +71,9 @@ ...@@ -71,14 +71,9 @@
<el-table-column label="信用代码" align="center" prop="companyCode" /> <el-table-column label="信用代码" align="center" prop="companyCode" />
<el-table-column label="法人姓名" align="center" prop="legalName" /> <el-table-column label="法人姓名" align="center" prop="legalName" />
<el-table-column label="法人电话" align="center" prop="legalPhone" /> <el-table-column label="法人电话" align="center" prop="legalPhone" />
<el-table-column label="绑定类型" align="center" prop="bindType" > <el-table-column label="归属部门" align="center" prop="deptName" v-if="tableFiledDeptName"/>
<template slot-scope="scope">
<dict-tag :options="dict.type.payer_acc_bind_type" :value="scope.row.bindType"/>
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
v-if="scope.row.signetId == null" v-if="scope.row.signetId == null"
size="mini" size="mini"
...@@ -157,12 +152,14 @@ ...@@ -157,12 +152,14 @@
import { listCompanyInfo, getCompanyInfo, delCompanyInfo, addCompanyInfo, updateCompanyInfo } from "@/api/business/companyInfo"; import { listCompanyInfo, getCompanyInfo, delCompanyInfo, addCompanyInfo, updateCompanyInfo } from "@/api/business/companyInfo";
import { deptTreeSelect } from '@/api/system/user'; import { deptTreeSelect } from '@/api/system/user';
import {makeSealPreCheck} from "@/api/business/sealCompanyInfo"; import {makeSealPreCheck} from "@/api/business/sealCompanyInfo";
import auth from '@/plugins/auth'
export default { export default {
name: "CompanyInfo", name: "CompanyInfo",
dicts: ['payer_acc_bind_type'], dicts: ['payer_acc_bind_type'],
data() { data() {
return { return {
tableFiledDeptName: auth.hasPermi('business:companyPayChannel:station'),
// 部门树选项 // 部门树选项
deptOptions: undefined, deptOptions: undefined,
cascaderProps: { cascaderProps: {
...@@ -215,6 +212,7 @@ export default { ...@@ -215,6 +212,7 @@ export default {
}; };
}, },
created() { created() {
console.log(auth.hasPermi('business:companyPayChannel:station'))
this.getList(); this.getList();
this.getDeptTree(); this.getDeptTree();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment