epmet pc工作端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1077 lines
30 KiB

4 years ago
<template>
<div class="m-table">
4 years ago
<div class="u-table-btn2">
<div class="u-table-btn2-left">
<el-button style=""
class="diy-button--blue"
icon="el-icon-plus"
size="small"
:disabled="addDisabled"
@click="handleAdd">新增楼栋</el-button>
3 years ago
<div class="u-btn-upload"
v-if="showImportBtn">
3 years ago
<el-popover popper-class="btn-popper"
placement="bottom"
width="20"
trigger="hover">
3 years ago
3 years ago
<div class="table-more-btn">
3 years ago
<el-upload :headers="$getElUploadHeaders()"
style="text-align: center"
ref="upload_building"
:multiple='false'
:show-file-list='false'
:before-upload="((file) => { beforeUpload(file, 'building') })"
action=""
accept=".xls,.xlsx"
:http-request="(() => { uploadFile('building') })">
<el-button style=""
size="small"
type="text"
class="diy-button--other">导入楼栋数据</el-button>
3 years ago
</el-upload>
</div>
3 years ago
3 years ago
<div class="table-more-btn">
<el-upload :headers="$getElUploadHeaders()"
style="text-align: center"
ref="upload_room"
:multiple='false'
:show-file-list='false'
:before-upload="((file) => { beforeUpload(file, 'room') })"
action=""
accept=".xls,.xlsx"
:http-request="(() => { uploadFile('room') })">
<el-button size="small"
type="text"
class="diy-button--other">导入房屋数据</el-button>
3 years ago
</el-upload>
3 years ago
3 years ago
</div>
<el-button size="small"
style="float:right"
class="diy-button--white"
slot="reference">导入<i class="el-icon-arrow-down el-icon--right"></i></el-button>
3 years ago
</el-popover>
</div>
<el-button style="margin-left:10px"
class="diy-button--white"
size="small"
@click="handleExport">导出</el-button>
<el-button style="margin-left:10px"
class="diy-button--white"
size="small"
@click="deleteBatch">批量删除</el-button>
</div>
3 years ago
<div>
<el-popover popper-class="btn-popper"
placement="bottom"
style="margin-left: 10px"
width="20"
trigger="hover">
<div class="table-more-btn">
<el-button :headers="$getElUploadHeaders()"
style=""
class="diy-button--other"
size="small"
type="text"
@click="handleExportModule('community')">下载小区模板</el-button>
</div>
<!-- v-if="showImportBtn" -->
<div class="table-more-btn">
<el-button :headers="$getElUploadHeaders()"
style=""
class="diy-button--other"
size="small"
type="text"
@click="handleExportModule('building')">下载楼栋模板</el-button>
3 years ago
</div>
<!-- v-if="showImportBtn" -->
<div class="table-more-btn">
<el-button :headers="$getElUploadHeaders()"
style=""
class="diy-button--other"
size="small"
type="text"
@click="handleExportModule('room')">下载房屋模板</el-button>
3 years ago
</div>
<div class="table-more-btn">
<el-button style=""
class="diy-button--other"
size="small"
type="text"
:disabled="yihuyidangDisabled"
@click="handleExportYihuyidang()">导出一户一档</el-button>
3 years ago
</div>
<div v-if="displayedBaobiaoBtn"
class="table-more-btn">
<el-button size="small"
type="text"
class="diy-button--other"
@click="reportForm">智能填报</el-button>
3 years ago
</div>
<el-button size="small"
style="float:right"
class="diy-button--white"
slot="reference">更多<i class="el-icon-arrow-down el-icon--right"></i></el-button>
3 years ago
</el-popover>
</div>
4 years ago
</div>
<div class="m-table-item">
<el-table ref="ref_table"
:data="tableData"
border
@sort-change="handleSortOrderChange"
:show-overflow-tooltip="true"
:height="tableHeight"
v-loading="tableLoading"
style="width: 100%"
@select-all="selectAll"
@selection-change="selectionChange">
<el-table-column type="selection"
:selectable="checkSelect"
width="55">
</el-table-column>
3 years ago
<!-- <el-table-column fixed="left"
width="70"
4 years ago
type="index"
label="序号"
3 years ago
header-align="center"
align="center"
4 years ago
:index="indexMethod">
3 years ago
</el-table-column> -->
4 years ago
<el-table-column prop="buildingName"
fixed="left"
label="楼栋名称"
header-align="left"
align="left"
min-width="180">
<template slot-scope="scope">
<a class="name-a"
@click="handleToNextLevel(scope.row)">
{{ scope.row.buildingName }}
</a>
</template>
4 years ago
</el-table-column>
<el-table-column prop="neighborHoodName"
label="所属小区"
header-align="left"
align="left"
min-width="160">
4 years ago
</el-table-column>
<el-table-column prop="buildingType"
label="楼栋类型"
header-align="left"
align="left"
width="90">
4 years ago
</el-table-column>
<el-table-column prop="buildingLeaderName"
label="楼长姓名"
header-align="left"
align="left"
min-width="90">
4 years ago
</el-table-column>
<el-table-column prop="buildingLeaderMobile"
label="楼长电话"
header-align="left"
align="left"
min-width="110">
4 years ago
</el-table-column>
<el-table-column prop="totalUnitNum"
header-align="left"
align="left"
label="单元数">
4 years ago
</el-table-column>
<el-table-column prop="totalFloorNum"
header-align="left"
align="left"
label="层数">
4 years ago
</el-table-column>
<el-table-column prop="realTotalHouseNum"
header-align="left"
align="left"
width="90"
label="实际录入">
4 years ago
</el-table-column>
<el-table-column prop="totalHouseNum"
header-align="left"
align="left"
label="总户数">
4 years ago
</el-table-column>
<el-table-column prop="sort"
sortable="custom"
header-align="left"
align="left"
min-width="100"
label="排序">
4 years ago
<template slot-scope="scope">
<div @click="handleEditSort(scope.row)">
<span v-if="!scope.row.isChange">{{ scope.row.sort }}</span>
<el-input-number v-else
@change="handleChangeSort(scope.row)"
v-model="scope.row.sort"
class="item_width_4"
size="small"
:min="0"
:max="9999"
label="描述文字"></el-input-number>
4 years ago
</div>
</template>
</el-table-column>
4 years ago
<el-table-column label="操作"
fixed="right"
width="220"
header-align="center"
align="center"
class="operate">
4 years ago
<template slot-scope="scope">
<el-button type="text"
class="div-table-button--blue"
size="small"
@click="handleDetail(scope.row)">查看</el-button>
<el-button type="text"
class="div-table-button--blue"
size="small"
@click="handleEdit(scope.row)">编辑</el-button>
<el-button type="text"
class="div-table-button--blue"
size="small"
@click="handleDelete(scope.row)">删除</el-button>
4 years ago
</template>
</el-table-column>
</el-table>
<div>
<el-pagination @size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pageNo"
:page-sizes="[20, 50, 100, 200]"
:page-size="pageSize"
layout="sizes, prev, pager, next, total"
:total="total">
4 years ago
</el-pagination>
</div>
4 years ago
</div>
<!-- 修改弹出框 -->
<el-dialog :visible.sync="formShow"
v-if="formShow"
:close-on-click-modal="false"
:close-on-press-escape="false"
:title="formTitle"
top="5vh"
width="670px"
class="dialog-h"
@closed="diaClose">
<build-form ref="ref_form"
@dialogCancle="addFormCancle"
@dialogOk="addFormOk"></build-form>
4 years ago
</el-dialog>
<!-- 详情弹出框 -->
<el-dialog :visible.sync="detailShow"
:close-on-click-modal="false"
:close-on-press-escape="false"
:title="'楼栋详情'"
top="5vh"
width="670px"
class="dialog-h"
@closed="detailFormCancle">
<build-detail ref="ref_form_detail"
@diaDetailClose="detailFormCancle"></build-detail>
</el-dialog>
<!-- 导出弹出框 -->
<el-dialog :visible.sync="diyDialog"
:close-on-click-modal="false"
:close-on-press-escape="false"
width="1150px"
title="导出模板"
top="5vh"
class="dialog-h">
<community-export-info v-if="diyDialog"
ref="ref_diy"
:list="exportList"
:search="{
formCode: 'community_info',
pageNo: pageNo,
pageSize: pageSize,
conditions:queryConditions
}"
:orgId="agencyObj.id"
@close="handleDiyClose"></community-export-info>
</el-dialog>
3 years ago
<baobiao ref="baobiao" />
4 years ago
</div>
</template>
<script>
import BuildForm from './buildForm'
import BuildDetail from './buildDetail'
4 years ago
import { requestPost } from "@/js/dai/request";
import { mapGetters } from 'vuex'
import { Loading } from 'element-ui' // 引入Loading服务
3 years ago
import baobiao from "@/views/modules/cpts/baobiao";
import communityExportInfo from "./communityExportInfo.vue";
import util from "@/js/util";
4 years ago
let loading // 加载动画
export default {
data () {
4 years ago
return {
searchHeight: 190,//搜索栏高度
importBuildingLoading: false,
importRoomLoading: false,
4 years ago
total: 0,
pageSize: 20,
4 years ago
pageNo: 0,
4 years ago
sortType: 'asc',//asc:正,desc:倒
tableLoading: true,
4 years ago
tableData: [],
4 years ago
agencyObj: {},//树所选的小区对象
4 years ago
4 years ago
validTableDataNum: 0,//有效的数据数量,即有权限操作的数据数量
selection: [],
2 years ago
addDisabled: true,
4 years ago
4 years ago
//form相关
formShow: false,
4 years ago
formTitle: '新增楼栋',
detailShow: false,
4 years ago
diyDialog: false,
exportList: [],
yihuyidangDisabled: false,
displayedBaobiaoBtn: false,
queryConditions: []
4 years ago
}
},
components: {
3 years ago
baobiao,
BuildForm,
BuildDetail,
communityExportInfo
4 years ago
},
async mounted () {
// this.displayedBaobiaoBtn = await this.$refs.baobiao.existsTemplate({
// elseParams: {
// categoryKeys: ['house_info'], categoryKey: 'house_info',
// }
// });
this.getQueryConditions()
4 years ago
},
computed: {
tableHeight () {
2 years ago
let height = this.searchHeight + 270
return this.$store.state.inIframe ? this.clientHeight - height + this.iframeHeight : this.clientHeight - height
4 years ago
4 years ago
},
4 years ago
...mapGetters(['clientHeight', 'iframeHeight'])
4 years ago
},
methods: {
reportForm () {
3 years ago
let paramMap = {
pageSize: this.pageSize,
pageNo: this.pageNo,
level: this.agencyObj.level,
id: this.agencyObj.id,
ownerName: this.ownerName,
ownerPhone: this.ownerPhone,
rentFlag: this.rentFlag,
purpose: this.purpose,
remark: this.remark,
sortType: this.sortType,
updateStartDate: this.updateStartDate,
updateEndDate: this.updateEndDate,
};
this.$refs.baobiao.init({
elseParams: {
categoryKeys: ['house_info'], categoryKey: 'house_info', paramMap
3 years ago
}
})
},
indexMethod (index) {
4 years ago
return index + 1;
},
handleSortOrderChange (value) {
2 years ago
4 years ago
this.sortType = value.order === 'ascending' ? 'asc' : 'desc'
this.loadTable()
4 years ago
},
4 years ago
// handleChangeSort(row){
// },
4 years ago
handleEditSort (row) {
4 years ago
if (!row.isChange) {
row.isChange = true
}
},
async handleChangeSort (row, index) {
4 years ago
// row.isChange = false
2 years ago
4 years ago
let params = {
id: row.buildingId,
sort: row.sort,
type: 'building',
}
let url = '/actual/base/communityHouse/updateHouseSort'
4 years ago
const { data, code, msg } = await requestPost(url, params)
if (code === 0) {
4 years ago
// this.$message({
// type: 'success',
// message: '操作成功'
// })
4 years ago
} else {
this.$message.error(msg)
}
4 years ago
},
4 years ago
checkSelect (row, index) {
let isChecked = true;
// if (row.showBtn) { // 判断里面是否存在某个参数
// isChecked = true
// } else {
// isChecked = false
// }
return isChecked
},
async loadTable (fromTree, treeObj) {
2 years ago
this.addDisabled = true
this.tableLoading = true
4 years ago
if (fromTree) {
4 years ago
this.sortType = 'asc'
4 years ago
this.agencyObj = treeObj
// if (this.agencyObj.pid === this.staffAgencyId) {//如果所选树的父级组织id和登录人员id相同,有权限
// this.showImportBtn = true
// } else {
// this.showImportBtn = false
// }
4 years ago
}
const url = "/actual/base/communityBuilding/listBuildings"
4 years ago
let params = {
pageSize: this.pageSize,
pageNo: this.pageNo,
4 years ago
sortType: this.sortType,
4 years ago
neighborHoodId: this.agencyObj.id
}
const { data, code, msg } = await requestPost(url, params)
if (code === 0) {
4 years ago
this.validTableDataNum = 0
4 years ago
this.total = data.total
data.list.forEach(item => {
4 years ago
item.sort = parseInt(item.sort) || 0;
// item.sort = item.sort.toFixed(2)
4 years ago
item.isChange = false
if (item.agencyId === this.staffAgencyId) {
// item.showBtn = true
4 years ago
this.validTableDataNum++
} else {
// item.showBtn = false
}
});
4 years ago
this.tableData = data.list
2 years ago
4 years ago
} else {
this.$message.error(msg)
}
2 years ago
this.addDisabled = false
this.tableLoading = false
4 years ago
},
diaClose () {
this.$refs.ref_form.resetData()
4 years ago
this.formShow = false
},
async handleDetail (row) {
// this.formTitle = '楼栋详情'
// this.formShow = true
// const _data = await this.detail(row)
// this.$nextTick(() => {
// this.$refs.ref_form.initForm('detail', _data, this.agencyObj)
// })
this.detailShow = true
2 years ago
const _data = await this.detail(row)
4 years ago
this.$nextTick(() => {
this.$refs.ref_form_detail.initForm(_data, this.agencyObj)
4 years ago
})
},
detailFormCancle () {
this.$refs.ref_form_detail.diaDestroy()
this.detailShow = false
},
handleAdd () {
4 years ago
this.formTitle = '新增楼栋'
this.formShow = true
this.$nextTick(() => {
this.$refs.ref_form.initForm('add', null, this.agencyObj)
2 years ago
4 years ago
})
},
async handleEdit (row) {
4 years ago
this.formTitle = '修改楼栋'
this.formShow = true
const _data = await this.detail(row)
4 years ago
this.$nextTick(() => {
this.$refs.ref_form.initForm('edit', _data, this.agencyObj)
4 years ago
})
4 years ago
},
4 years ago
handleToNextLevel (row) {
4 years ago
this.$emit('toNextLevel', row, 'building')
},
4 years ago
addFormCancle () {
4 years ago
this.formShow = false
},
addFormOk () {
4 years ago
this.formShow = false
this.loadTable()
this.$emit('refreshTree')
},
4 years ago
selectAll (selection) {
this.selection = selection
},
selectionChange (selection) {
this.selection = selection
4 years ago
},
async handleDelete (row) {
4 years ago
this.$confirm("确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
let ids = [row.buildingId];
this.deleteBuild(ids, false)
4 years ago
})
.catch(err => {
});
},
deleteBatch () {
if (this.selection.length > 0) {
this.$confirm("确认删除选择的楼栋?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
let ids = [];
console.log(this.selection);
this.selection.forEach((element) => {
ids.push(element.buildingId);
});
//第一次删除,非强制删除
this.deleteBuild(ids, false)
})
.catch(err => {
if (err == "cancel") {
}
});
} else {
this.$message.warning('请先选择要删除的楼栋')
}
},
async deleteBuild (ids, forceDelete) {
const url = "/actual/base/communityHouse/deleteCommunityInfoByIds";
let params = {
forceDelete: forceDelete,
type: 'building',
ids: ids
}
const { data, code, msg } = await requestPost(url, params);
if (code === 0) {
this.$message({
type: "success",
message: "删除成功",
});
this.$emit('refreshTree')
this.loadTable()
} else if (code > 8000) {
this.$confirm(msg, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.deleteBuild(ids, true);
})
.catch((err) => {
if (err == "cancel") {
4 years ago
}
});
4 years ago
} else {
this.$message.error(msg);
4 years ago
}
},
async detail (row) {
const url = "/actual/base/communityBuilding/getBuildingDetail/" + row.buildingId
const { data, code, msg } = await requestPost(url)
if (code === 0) {
return data
} else {
this.$message.error(msg)
}
},
4 years ago
//导出表格
async handleExport () {
// 老版本直接在页面中导出是好的可以解开直接用
// let title = this.agencyObj.label
// title = title + '—楼栋列表'
4 years ago
// const url = "/actual/base/communityBuilding/exportbuildinginfo"
// let params = {
4 years ago
// neighborHoodId: this.agencyObj.id
// }
4 years ago
// app.ajax.exportFilePost(
// url,
// params,
// (data, rspMsg) => {
4 years ago
// this.download(data, title + '.xls')
// },
// (rspMsg, data) => {
// this.$message.error(rspMsg);
// }
// );
await this.getExportList();
4 years ago
},
async getExportList (type) {
const url = "/oper/customize/icformitemgroup/list";
let params = {
formCode: "community_info",
};
const { data, code, msg } = await requestPost(url, params);
4 years ago
if (code === 0) {
data.forEach((item) => {
(async (id) => {
// item.queryItemList = await this.getExportChildList(id)
item.queryItemList = [];
})(item.id);
});
this.exportList = [...data];
this.$nextTick(() => {
this.diyDialog = true;
});
console.log("获取详情成功getExportList----", this.exportList);
} else {
this.$message.error(msg);
}
},
async getQueryConditions () {
let params = {
formCode: "community_info",
customerId: this.$store.state.user.customerId,
};
const { data } = await this.$http.post(
"/oper/customize/icform/queryItems",
params
);
if (data.code === 0) {
this.queryConditions = data.data.map((item) => {
return {
...item,
humpName: util.capitalToHump(item.columnName),
};
});
console.log(this.queryConditions);
} else {
this.$message.error(data.msg);
}
},
handleDiyClose () {
this.diyDialog = false;
},
4 years ago
// 下载文件
download (data, fileName) {
4 years ago
if (!data) {
return
}
var csvData = new Blob([data])
if (window.navigator && window.navigator.msSaveOrOpenBlob) {
window.navigator.msSaveOrOpenBlob(csvData, fileName);
}
// for Non-IE (chrome, firefox etc.)
else {
var a = document.createElement('a');
document.body.appendChild(a);
a.style = 'display: none';
var url = window.URL.createObjectURL(csvData);
a.href = url;
a.download = fileName;
a.click();
a.remove();
window.URL.revokeObjectURL(url);
}
},
handleExportModule (type) {
4 years ago
4 years ago
let title = ''
let url = ""
if (type === "community") {
title = "小区导入模板";
url = "/gov/org/neighborhood/exporttemplate";
} else if (type === 'building') {
4 years ago
title = '楼栋导入模板'
url = '/gov/org/building/exporttemplate'
4 years ago
} else if (type === 'room') {
title = '房屋导入模板'
url = '/gov/org/house/exporttemplate'
4 years ago
}
4 years ago
let params = {}
app.ajax.exportFilePost(
url,
params,
(data, rspMsg) => {
this.download(data, title + '.xls')
},
(rspMsg, data) => {
this.$message.error(rspMsg);
}
);
},
4 years ago
//导出一户一档
handleExportYihuyidang () {
this.yihuyidangDisabled = true
4 years ago
let title = this.agencyObj.label
title = title + '-一户一档'
let url = "/gov/org/house/exportHouseUser"
let params = {
agencyId: '',
gridId: '',
ownerName: this.ownerName,
ownerPhone: this.ownerPhone,
rentFlag: this.rentFlag,
purpose: this.purpose,
remark: this.remark,
updateStartDate: this.updateStartDate,
updateEndDate: this.updateEndDate,
4 years ago
neighborHoodId: this.agencyObj.id
}
app.ajax.exportFilePost(
url,
params,
(data, rspMsg) => {
this.download(data, title + '.xls')
this.yihuyidangDisabled = false
4 years ago
},
(rspMsg, data) => {
this.$message.error(rspMsg);
this.yihuyidangDisabled = false
4 years ago
}
);
},
4 years ago
4 years ago
// 上传文件之前的钩子
beforeUpload (file, type) {
4 years ago
this.files = file;
const isText = file.type === 'application/vnd.ms-excel'
const isTextComputer = file.type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
if (!isText && !isTextComputer) {
this.$message.error('请选择正确格式的文件')
4 years ago
this.files = null
this.fileName = ''
4 years ago
return false
} else {
this.fileName = file.name;
return true
}
},
// 上传文件个数超过定义的数量
handleExceed (files, fileList) {
4 years ago
this.$message.warning(`当前限制选择 1 个文件,请删除后继续上传`)
},
async uploadFile (type) {
4 years ago
if (this.fileName == "") {
this.$message.warning('请选择要上传的文件!')
4 years ago
return false
}
this.$message({
2 years ago
showClose: true,
dangerouslyUseHTMLString: true,
message: "导入中,请到系统管理-<a id='clickA' style='cursor: pointer;'>导入记录</a>中查看进度",
duration: 3000
});
let than = this
document.getElementById('clickA').addEventListener('click', function () {
than.$router.replace('/main/importRecord-index');
})
4 years ago
4 years ago
//清空上传列表
let url = ''
let params = {}
4 years ago
let fileFormData = new FormData();
fileFormData.append('file', this.files);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名
fileFormData.append('orgId', this.agencyObj.id);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名
fileFormData.append('orgType', this.agencyObj.level);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名
4 years ago
// params.file = fileFormData
// params.orgId = this.agencyObj.id
// params.orgType = this.agencyObj.level
4 years ago
if (type === 'building') {
this.$refs['upload_building'].clearFiles()
// url = 'http://192.168.51.26:8080/api/actual/base/communityBuilding/buildingimport'
url = '/actual/base/communityBuilding/buildingimport'
this.importBuildingLoading = true
4 years ago
} else if (type === 'room') {
this.$refs['upload_room'].clearFiles()
// url = 'http://192.168.51.26:8080/api/actual/base/communityHouse/houseimport'
url = '/actual/base/communityHouse/houseimport'
this.importRoomLoading = true
4 years ago
}
window.app.ajax.post2(url, fileFormData,
(data, rspMsg) => {
if (data.code === 0 && data.msg == 'success') {
4 years ago
// this.$message.success('导入成功')
} else {
4 years ago
// this.$message({
// showClose: true,
// message: rspMsg,
// duration: 0,
// type: "error"
// })
// this.$message.error(rspMsg)
}
this.$emit('refreshTree')
this.loadTable()
if (type === 'building') {
this.importBuildingLoading = false
} else if (type === 'room') {
this.importRoomLoading = false
}
},
(rspMsg, data) => {
if (type === 'building') {
this.importBuildingLoading = false
} else if (type === 'room') {
this.importRoomLoading = false
}
}, { headers: { 'Content-Type': 'multipart/form-data' } })
4 years ago
},
showMessage (msg) {
this.$alert(msg, '操作结果', {
confirmButtonText: '关闭',
callback: action => {
this.$emit('refreshTree')
this.loadTable()
}
});
},
4 years ago
handleSizeChange (val) {
this.pageSize = val
this.pageNo = 1
this.loadTable()
4 years ago
},
handleCurrentChange (val) {
this.pageNo = val
this.loadTable()
4 years ago
},
// 开启加载动画
startLoading () {
4 years ago
loading = Loading.service({
lock: true, // 是否锁定
text: '正在加载……', // 加载中需要显示的文字
background: 'rgba(0,0,0,.7)' // 背景颜色
})
},
// 结束加载动画
endLoading () {
4 years ago
// clearTimeout(timer);
if (loading) {
loading.close()
}
}
},
watch: {
4 years ago
'$store.state.sidebarFold': {
handler (newVal, oldVal) {
if (newVal) {//收起
this.searchHeight = 155
} else {
this.searchHeight = 190
}
},
deep: true
}
4 years ago
},
props: {
staffAgencyId: {
type: String,
default: '',
},
showImportBtn: {
type: Boolean,
default: false,
},
4 years ago
ownerName: {
type: String,
default: '',
},
ownerPhone: {
type: String,
default: '',
},
rentFlag: {
type: String,
default: '',
},
purpose: {
type: String,
default: '',
},
remark: {
type: String,
default: '',
},
updateStartDate: {
type: String,
default: '',
},
updateEndDate: {
type: String,
default: '',
},
4 years ago
}
}
</script>
<style lang="scss" scoped >
@import "@/assets/scss/modules/visual/communityManage.scss";
3 years ago
@import "@/assets/scss/modules/management/list-main.scss";
4 years ago
.item_width_4 {
4 years ago
width: 120px;
4 years ago
}
/deep/.el-input-number--medium .el-input-number__decrease,
/deep/.el-input-number--medium .el-input-number__increase {
width: 26px;
}
4 years ago
/deep/.el-input-number--medium .el-input__inner {
padding-left: 0px;
padding-right: 0px;
}
2 years ago
::v-deep .el-dialog__body {
padding: 0;
}
4 years ago
</style>