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.rentFlag = '';
this.handleSearch() this.handleSearch()
} }
}, },
computed: { computed: {
rowHeight() { rowHeight() {

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

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

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

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

Loading…
Cancel
Save