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

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

parent e4268ff3
......@@ -71,14 +71,9 @@
<el-table-column label="信用代码" align="center" prop="companyCode" />
<el-table-column label="法人姓名" align="center" prop="legalName" />
<el-table-column label="法人电话" align="center" prop="legalPhone" />
<el-table-column label="绑定类型" align="center" prop="bindType" >
<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" prop="deptName" v-if="tableFiledDeptName"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
v-if="scope.row.signetId == null"
size="mini"
......@@ -157,12 +152,14 @@
import { listCompanyInfo, getCompanyInfo, delCompanyInfo, addCompanyInfo, updateCompanyInfo } from "@/api/business/companyInfo";
import { deptTreeSelect } from '@/api/system/user';
import {makeSealPreCheck} from "@/api/business/sealCompanyInfo";
import auth from '@/plugins/auth'
export default {
name: "CompanyInfo",
dicts: ['payer_acc_bind_type'],
data() {
return {
tableFiledDeptName: auth.hasPermi('business:companyPayChannel:station'),
// 部门树选项
deptOptions: undefined,
cascaderProps: {
......@@ -215,6 +212,7 @@ export default {
};
},
created() {
console.log(auth.hasPermi('business:companyPayChannel:station'))
this.getList();
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