|
@@ -30,16 +30,19 @@
|
|
|
<ElCol :md="6" :offset="10">
|
|
<ElCol :md="6" :offset="10">
|
|
|
<ElFormItem>
|
|
<ElFormItem>
|
|
|
<div class="flex j-end" style="width: 100%;">
|
|
<div class="flex j-end" style="width: 100%;">
|
|
|
- <el-button type="primary" v-auth="'organizationlist.view'" @click="roleQuery">查询</el-button>
|
|
|
|
|
- <el-button type="primary" v-auth="'organizationlist.view'" @click="resetForm">重置</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" v-auth="'organizationlist.view'" @click="roleQuery">
|
|
|
|
|
+ <template #icon>
|
|
|
|
|
+ <SvgIcon name="i-ep:search" />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ 查询</el-button>
|
|
|
|
|
+ <el-button type="default" v-auth="'organizationlist.view'" @click="resetForm">重置</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</ElFormItem>
|
|
</ElFormItem>
|
|
|
</ElCol>
|
|
</ElCol>
|
|
|
</ElRow>
|
|
</ElRow>
|
|
|
</ElForm>
|
|
</ElForm>
|
|
|
<Table :tableData="tableData" :columns="columns" :showIndex="false" :columnwidth="200" :showSelect="true"
|
|
<Table :tableData="tableData" :columns="columns" :showIndex="false" :columnwidth="200" :showSelect="true"
|
|
|
- :pageInfo="pageInfo" @getList="getList"
|
|
|
|
|
- @selectionChange="selectionChange">
|
|
|
|
|
|
|
+ :pageInfo="pageInfo" @getList="getList" @selectionChange="selectionChange">
|
|
|
<template v-slot:table-title-btn>
|
|
<template v-slot:table-title-btn>
|
|
|
<RouterLink :to="{ name: 'OrganizationAdd' }">
|
|
<RouterLink :to="{ name: 'OrganizationAdd' }">
|
|
|
<el-button type="primary" v-auth="'organizationlist.add'">
|
|
<el-button type="primary" v-auth="'organizationlist.add'">
|
|
@@ -214,7 +217,7 @@ const columns = [
|
|
|
return sysType
|
|
return sysType
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- { prop: "division", label: "所在地区", width: '200',},
|
|
|
|
|
|
|
+ { prop: "division", label: "所在地区", width: '200', },
|
|
|
{
|
|
{
|
|
|
prop: "deptCount", label: "下级机构", width: '100',
|
|
prop: "deptCount", label: "下级机构", width: '100',
|
|
|
component: "RouterLink",
|
|
component: "RouterLink",
|
|
@@ -233,7 +236,7 @@ const columns = [
|
|
|
{ prop: "createTime", label: "创建时间", width: '180', },
|
|
{ prop: "createTime", label: "创建时间", width: '180', },
|
|
|
{ prop: "createBy", label: "创建人", width: '120', },
|
|
{ prop: "createBy", label: "创建人", width: '120', },
|
|
|
{ prop: "contact", label: "联系人", width: '120', },
|
|
{ prop: "contact", label: "联系人", width: '120', },
|
|
|
- { prop: "telephone", label: "联系电话", width: '200'},
|
|
|
|
|
|
|
+ { prop: "telephone", label: "联系电话", width: '200' },
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
function getList(item: PageInfo) {
|
|
function getList(item: PageInfo) {
|
|
@@ -392,7 +395,7 @@ const resetForm = () => {
|
|
|
formInline.cityId = '';
|
|
formInline.cityId = '';
|
|
|
formInline.districtId = '';
|
|
formInline.districtId = '';
|
|
|
formInline.sysType = '';
|
|
formInline.sysType = '';
|
|
|
- provinceoptions.value=[];
|
|
|
|
|
|
|
+ provinceoptions.value = [];
|
|
|
findpage();
|
|
findpage();
|
|
|
}
|
|
}
|
|
|
|
|
|