md
This commit is contained in:
parent
96762c0bc6
commit
ff3c08dc33
@ -79,8 +79,8 @@
|
||||
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
|
||||
>
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="区域名称" align="center" prop="regionName" min-width="100" />
|
||||
<el-table-column label="区域编码" align="center" prop="zipCode" min-width="100" />
|
||||
<el-table-column label="区域名称" align="left" prop="regionName" min-width="100" />
|
||||
<el-table-column label="区域编码" align="left" prop="code" min-width="100" />
|
||||
<!-- <el-table-column label="英文名称" align="center" prop="regionNameEn" min-width="100" /> -->
|
||||
<!-- <el-table-column label="简称" align="center" prop="shortName" min-width="100" /> -->
|
||||
<el-table-column label="类型" align="center" prop="regionType" min-width="100" >
|
||||
@ -182,11 +182,6 @@
|
||||
</el-dialog>
|
||||
|
||||
|
||||
<el-dialog :title="titleForm" :visible.sync="openForm" width="500px" append-to-body>
|
||||
<emisRegionForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisRegionForm>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
<el-dialog :title="titleView" :visible.sync="openView" width="60%" :close-on-click-modal="false" append-to-body>
|
||||
<emisRegionView :id="id" ></EmisRegionView>
|
||||
</el-dialog>
|
||||
@ -208,6 +203,10 @@ export default {
|
||||
],
|
||||
data() {
|
||||
return {
|
||||
// 是否展开,默认全部折叠
|
||||
isExpandAll: false,
|
||||
// 重新渲染表格状态
|
||||
refreshTable: true,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 选中数组
|
||||
@ -248,8 +247,6 @@ export default {
|
||||
daterangeUpdateTime: [],
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
regionName: null,
|
||||
regionNameEn: null,
|
||||
shortName: null,
|
||||
@ -279,9 +276,9 @@ export default {
|
||||
/** 查询四级省市区镇表列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
this.queryParams.params = {};
|
||||
listEmisRegion(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => {
|
||||
this.emisRegionList = this.handleTree(response.data, "id");
|
||||
listEmisRegion(this.queryParams).then(response => {
|
||||
// console.log(response);
|
||||
this.emisRegionList = this.handleTree(response.rows, "id");
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user