Commit 7cd6aae2 by 前端

Merge branch 'kuangyq_dev_2.1.0' into 'v2.1.0'

Kuangyq dev 2.1.0

See merge request !33
2 parents c1d8c3ac 5fd271f2
......@@ -203,6 +203,7 @@ export default {
},
handleSave() {
const params = this.infoForm
params.merchantBrandMain = ''
// 获取省市信息
const { provinceName, provinceCode, cityName, cityCode } = this.$refs.provinceForm.provinceForm
if (!params.provinceCode) {
......
......@@ -66,7 +66,7 @@ export default {
handler() {
const getCheckedNodes = this.$refs.tree.getCheckedNodes()
this.getCheckedArr = getCheckedNodes.reduce((prev, cur) => {
if (Object.keys(cur).includes('children') && cur.children.length > 0) {
if (Object.keys(cur).includes('children') && cur.children && cur.children.length > 0) {
return prev
}
return prev.concat(cur)
......@@ -252,4 +252,7 @@ export default {
align-items: center;
}
}
.tree-footer-reset {
cursor: pointer;
}
</style>
<template>
<div>
<el-dialog :visible.sync="dialogTelVisible" width="30%">
<el-dialog :visible.sync="dialogTelVisible" width="30%" top="30px">
<div class="dialog-show">
<img src="@/assets/tel-show.png" alt="" />
<div class="tel-plus">联系电话:{{ residentPhone }}</div>
......
......@@ -7,7 +7,7 @@
</div>
<div class="container">
<div>
<GLCombiForm :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleSearch" @handleRest="reSetFindData"></GLCombiForm>
<GLCombiForm :formObj="searchForm" :searchSelectObj="searchSelectObj" :rowNumber="$globalState.session.accountLevel == 4 ? 1 : 2" :formData="searchFormData" @handleOk="handleSearch" @handleRest="reSetFindData"></GLCombiForm>
</div>
<div class="table-header">
<div class="header-text">员工列表</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!