Browse Source

Merge branch 'fax' into preview

dlt_manageScope_0428
mk 1 year ago
parent
commit
6c8cdf7b71
  1. 1
      src/views/modules/base/community/community.vue
  2. 72
      src/views/modules/base/migration/records/index.vue
  3. 4
      src/views/modules/home/index.vue

1
src/views/modules/base/community/community.vue

@ -380,7 +380,6 @@ export default {
this.rentFlag = '';
this.handleSearch()
}
},
computed: {
rowHeight() {

72
src/views/modules/base/migration/records/index.vue

@ -5,32 +5,19 @@
<div class="m-table">
<div class="div_btn">
<div class="div_btn_left">
<el-button class="diy-button--add" size="small"
type="primary" @click="handleAdd('community')">
<el-button class="diy-button--add" size="small" type="primary" @click="handleAdd('community')">
迁移小区
</el-button>
<el-button class="diy-button--add" size="small"
type="primary" @click="handleAdd('building')">
<el-button class="diy-button--add" size="small" type="primary" @click="handleAdd('building')">
迁移楼栋
</el-button>
</div>
</div>
<el-table
ref="ref_table"
v-loading="tableLoading"
:data="tableData"
:height="tableHeight"
border
class="m-table-item"
style="width: 100%"
>
<el-table ref="ref_table" v-loading="tableLoading" :data="tableData" :height="tableHeight" border
class="m-table-item" style="width: 100%">
<el-table-column align="center" label="序号" type="index" width="50" />
<el-table-column
label="迁移主体类型"
prop="subjectType"
width="120"
>
<el-table-column label="迁移主体类型" prop="subjectType" width="120">
<template slot-scope="{row}">
{{
row.subjectType === 'building' ? '楼栋' :
@ -38,29 +25,12 @@
}}
</template>
</el-table-column>
<el-table-column
label="迁移主体名称"
prop="subjectName"
width="200"
/>
<el-table-column
label="来源名称"
prop="sourceName"
width="200"
/>
<el-table-column
label="目标名称"
prop="targetName"
width="200"
/>
<el-table-column
label="状态"
prop="status"
width="100"
>
<el-table-column label="迁移主体名称" prop="subjectName" width="200" />
<el-table-column label="来源名称" prop="sourceName" width="200" />
<el-table-column label="目标名称" prop="targetName" width="200" />
<el-table-column label="状态" prop="status" width="100">
<template slot-scope="{row}">
<el-tag :type="
row.status === -1 ? 'danger' :
<el-tag :type="row.status === -1 ? 'danger' :
row.status === 0 ? 'warning' :
row.status === 1 ? 'info' :
row.status === 2 ? 'success' : ''
@ -74,22 +44,12 @@
</el-tag>
</template>
</el-table-column>
<el-table-column
label="备注"
prop="remark"
show-overflow-tooltip
/>
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
</el-table>
<div>
<el-pagination
:current-page.sync="pageNo"
:page-size="parseInt(pageSize)"
:page-sizes="[20, 50, 100, 200]"
:total="total"
layout="sizes, prev, pager, next, total"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
<el-pagination :current-page.sync="pageNo" :page-size="parseInt(pageSize)" :page-sizes="[20, 50, 100, 200]"
:total="total" layout="sizes, prev, pager, next, total" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</div>
</div>
@ -168,11 +128,11 @@ export default {
}
},
};
</script>
<style lang="scss" scoped>
@import "@/assets/scss/modules/management/list-main.scss";
@import "@/assets/scss/buttonstyle.scss";
</style>

4
src/views/modules/home/index.vue

@ -774,8 +774,12 @@ export default {
}
]
};
const resizeHandler = () => {
this.myBarchart.resize();
};
this.myBarchart.setOption(option);
window.addEventListener("resize", this.handleWindowResize);
window.addEventListener("resize", resizeHandler);
this.myBarchart.on("click", (e) => {
this.$router.push({
path: "/main/base-nonIntResi",

Loading…
Cancel
Save