提交 515bcd55 authored 作者: 宋雄's avatar 宋雄

一期封版

上级 972750af
NODE_ENV=development NODE_ENV=development
# VUE_APP_API_BASE_URL='http://192.168.0.119:9999' # VUE_APP_API_BASE_URL='http://192.168.0.119:9999'
VUE_APP_API_BASE_URL='http://192.168.0.102:9999' # VUE_APP_API_BASE_URL='http://192.168.0.102:9999'
# VUE_APP_API_BASE_URL='http://220.203.25.212:9999' VUE_APP_API_BASE_URL='http://220.203.25.212:9999'
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview
......
...@@ -72,8 +72,10 @@ ...@@ -72,8 +72,10 @@
this.initDepartComponent() this.initDepartComponent()
}, },
visible: { visible: {
handler() { handler(newV) {
this.loadDepart(); if(newV) {
this.loadDepart();
}
this.initDepartComponent(true) this.initDepartComponent(true)
} }
} }
......
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
:type="collapsed ? 'menu-unfold' : 'menu-fold'" :type="collapsed ? 'menu-unfold' : 'menu-fold'"
@click="toggle"/> @click="toggle"/>
<span v-if="device === 'desktop'">欢迎进入 湖北汉江之星科技有限公司 企业平台</span> <span>欢迎进入 湖北汉江之星科技有限公司 企业平台</span>
<span v-else>Jeecg-Boot</span>
<user-menu :theme="theme"/> <user-menu :theme="theme"/>
</div> </div>
......
...@@ -597,6 +597,8 @@ ...@@ -597,6 +597,8 @@
img { img {
height: 32px; height: 32px;
width: auto;
position: initial;
} }
h1 { h1 {
......
...@@ -56,16 +56,16 @@ ...@@ -56,16 +56,16 @@
<span v-if="record.chargingStatus === 'freeze'">冻结</span> <span v-if="record.chargingStatus === 'freeze'">冻结</span>
</span> </span>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)" v-if="record.auditStatus != 'waitAudit'">编辑</a> <a @click="handleDetail(record)">详情</a>
<a-divider type="vertical" /> <a-divider type="vertical" />
<a-dropdown> <a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a> <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay"> <a-menu slot="overlay">
<a-menu-item> <a-menu-item v-if="record.auditStatus != 'waitAudit'">
<a @click="handleDetail(record)">详情</a> <a @click="handleEdit(record)">编辑</a>
</a-menu-item> </a-menu-item>
<a-menu-item> <a-menu-item v-if="record.auditStatus === 'auditPass'">
<a href="javascript:;" <a href="javascript:;"
@click="onChargingStatus(record)">{{record.chargingStatus === 'normal' ? '冻结' : '解冻'}}</a> @click="onChargingStatus(record)">{{record.chargingStatus === 'normal' ? '冻结' : '解冻'}}</a>
</a-menu-item> </a-menu-item>
...@@ -114,12 +114,12 @@ const columns = [ ...@@ -114,12 +114,12 @@ const columns = [
}, },
align: 'center' align: 'center'
}, },
{ // {
title: '授权物业数量', // title: '授权物业数量',
dataIndex: 'empowerNum', // dataIndex: 'empowerNum',
key: 'empowerNum', // key: 'empowerNum',
align: 'center' // align: 'center'
}, // },
{ {
title: '授权天数', title: '授权天数',
dataIndex: 'empowerDays', dataIndex: 'empowerDays',
......
...@@ -15,18 +15,18 @@ ...@@ -15,18 +15,18 @@
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24" v-if="model.chargingCycle !== '4' && model.chargingCycle !== '5'">
<a-form-model-item label="授权天数" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="empowerDays"> <a-form-model-item label="授权天数" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="empowerDays">
<a-input :disabled="model.chargingCycle !== '4' && model.chargingCycle !== '5'" v-model="model.empowerDays" @blur="ruleNumberInput" placeholder="请输入授权天数"> <a-input :disabled="model.chargingCycle !== '4' && model.chargingCycle !== '5'" v-model="model.empowerDays" @blur="ruleNumberInput" placeholder="请输入授权天数">
<div slot="addonAfter"></div> <div slot="addonAfter"></div>
</a-input> </a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="24"> <!-- <a-col :span="24">
<a-form-model-item label="授权小区数量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="empowerNum"> <a-form-model-item label="授权小区数量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="empowerNum">
<a-input-number v-model="model.empowerNum" :min="1" :precision="0" placeholder="请输入授权小区数量" style="width: 100%" /> <a-input-number v-model="model.empowerNum" :min="1" :precision="0" placeholder="请输入授权小区数量" style="width: 100%" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col> -->
<a-col :span="24"> <a-col :span="24">
<a-form-model-item label="收费金额" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chargingMoney"> <a-form-model-item label="收费金额" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chargingMoney">
<a-input-number v-model="model.chargingMoney" :min="0.01" :precision="2" placeholder="请输入收费金额" style="width: 100%" /> <a-input-number v-model="model.chargingMoney" :min="0.01" :precision="2" placeholder="请输入收费金额" style="width: 100%" />
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
chargingName: '', chargingName: '',
chargingMoney: '', chargingMoney: '',
chargingCycle: '', chargingCycle: '',
empowerNum: '', // empowerNum: '',
empowerDays: '' empowerDays: ''
}, },
labelCol: { labelCol: {
...@@ -77,8 +77,8 @@ ...@@ -77,8 +77,8 @@
validatorRules: { validatorRules: {
chargingName: [{ required: true, message: '请输入收费名称', trigger: 'blur' }], chargingName: [{ required: true, message: '请输入收费名称', trigger: 'blur' }],
chargingCycle: [{ required: true, message: '请选择收费方式', trigger: 'change' }], chargingCycle: [{ required: true, message: '请选择收费方式', trigger: 'change' }],
empowerDays: [{ required: true, message: '请输入授权日期', trigger: 'blur' }], // empowerDays: [{ required: true, message: '请输入授权日期', trigger: 'blur' }],
empowerNum: [{ required: true, message: '请输入授权小区数量', trigger: 'blur' }], // empowerNum: [{ required: true, message: '请输入授权小区数量', trigger: 'blur' }],
chargingMoney: [{ required: true, message: '请输入收费金额', trigger: 'blur' }] chargingMoney: [{ required: true, message: '请输入收费金额', trigger: 'blur' }]
}, },
url: { url: {
......
...@@ -48,19 +48,19 @@ ...@@ -48,19 +48,19 @@
<h3 class="box-title">待处理事务(入驻待审核)</h3> <h3 class="box-title">待处理事务(入驻待审核)</h3>
<div class="content" v-if="waitAuditList.length > 0"> <div class="content" v-if="waitAuditList.length > 0">
<div class="item" v-for="(item, index) in waitAuditList" :key="index"> <div class="item" v-for="(item, index) in waitAuditList" :key="index">
<template v-if="item[0].creditCode"> <template v-if="item.creditCode">
<p>入驻物业集团名称:{{ item[0].propertyName }}</p> <p>入驻物业集团名称:{{ item.propertyName }}</p>
<p>申请入驻小区数量:{{ item[0].empowerCommunityNum }}</p> <p>申请入驻小区数量:{{ item.empowerCommunityNum }}</p>
<p>申请入驻物业时间:{{ item[0].createTime }}</p> <p>申请入驻物业时间:{{ item.createTime }}</p>
<p>添加人:{{ item[0].createBy }}</p> <p>添加人:{{ item.createBy }}</p>
<a-button type="primary" size="small" @click="toOperation(item[0], 1)">审核</a-button> <a-button type="primary" size="small" @click="toOperation(item, 1)">审核</a-button>
</template> </template>
<template v-else> <template v-else>
<p>入驻社区名称:{{ item[0].councilsName }}</p> <p>入驻社区名称:{{ item.councilsName }}</p>
<p>申请入驻小区数量:{{ item[0].empowerCommunityNum }}</p> <p>申请入驻小区数量:{{ item.empowerCommunityNum }}</p>
<p>申请入驻社区时间:{{ item[0].createTime }}</p> <p>申请入驻社区时间:{{ item.createTime }}</p>
<p>添加人:{{ item[0].createBy }}</p> <p>添加人:{{ item.createBy }}</p>
<a-button type="primary" size="small" @click="toOperation(item[0], 2)">审核</a-button> <a-button type="primary" size="small" @click="toOperation(item, 2)">审核</a-button>
</template> </template>
</div> </div>
</div> </div>
...@@ -169,7 +169,9 @@ export default { ...@@ -169,7 +169,9 @@ export default {
monthOwnerNum: result.monthOwnerNum, monthOwnerNum: result.monthOwnerNum,
monthSettledNum: result.monthSettledNum, monthSettledNum: result.monthSettledNum,
} }
this.waitAuditList = result.waitAuditList let propertyList = result.waitAuditList[0] || []
let communityList = result.waitAuditList[1] || []
this.waitAuditList = propertyList.concat(communityList)
this.mapData = this.mapData =
result.propertySettledList.map((item) => { result.propertySettledList.map((item) => {
return { return {
......
...@@ -96,14 +96,14 @@ ...@@ -96,14 +96,14 @@
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="授权小区数量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="empowerCommunityNum"> <a-form-model-item label="授权小区数量" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="empowerCommunityNum">
<a-input-number v-model="model.empowerCommunityNum" placeholder="请输入试用小区数量" style="width: 100%" @change="onValidatorInputNum" /> <a-input-number v-model="model.empowerCommunityNum" placeholder="请输入试用小区数量" style="width: 100%" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chargingStandardId"> <a-form-model-item label="收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chargingStandardId">
<a-select v-model="model.chargingStandardId" placeholder="请选择收费标准" style="width: 100%" @change="onValidatorNum"> <a-select v-model="model.chargingStandardId" placeholder="请选择收费标准" style="width: 100%">
<a-select-option v-for="item in costList" :key="item.id" <a-select-option v-for="item in costList" :key="item.id"
:value="item.id">{{item.chargingName}}{{item.empowerNum}}个小区)</a-select-option> :value="item.id">{{item.chargingName}}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -317,22 +317,22 @@ export default { ...@@ -317,22 +317,22 @@ export default {
this.$store.dispatch('tags/delView', this.$route.path) this.$store.dispatch('tags/delView', this.$route.path)
this.$router.go(-1) this.$router.go(-1)
}, },
onValidatorInputNum(val) { // onValidatorInputNum(val) {
if(this.model.chargingStandardId) { // if(this.model.chargingStandardId) {
let row = this.costList.find(item=>item.id === this.model.chargingStandardId) // let row = this.costList.find(item=>item.id === this.model.chargingStandardId)
if(val > row.empowerNum) { // if(val > row.empowerNum) {
this.$message.warning('授权小区数量不能大于收费标准规定社区数!') // this.$message.warning('授权小区数量不能大于收费标准规定社区数!')
this.model.empowerCommunityNum = undefined // this.model.empowerCommunityNum = undefined
} // }
} // }
}, // },
onValidatorNum(val) { // onValidatorNum(val) {
let row = this.costList.find(item=>item.id === val) // let row = this.costList.find(item=>item.id === val)
if(this.model.empowerCommunityNum > row.empowerNum) { // if(this.model.empowerCommunityNum > row.empowerNum) {
this.$message.warning('授权小区数量不能大于收费标准规定社区数!') // this.$message.warning('授权小区数量不能大于收费标准规定社区数!')
this.model.empowerCommunityNum = undefined // this.model.empowerCommunityNum = undefined
} // }
}, // },
contactPhoneChange(e) { contactPhoneChange(e) {
if (!this.model.adminLoginName) { if (!this.model.adminLoginName) {
this.model.adminLoginName = e.target.value this.model.adminLoginName = e.target.value
......
...@@ -82,14 +82,14 @@ ...@@ -82,14 +82,14 @@
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="授权小区数量" :labelCol="labelCol" :wrapperCol="wrapperCol" <a-form-model-item label="授权小区数量" :labelCol="labelCol" :wrapperCol="wrapperCol"
prop="empowerCommunityNum"> prop="empowerCommunityNum">
<a-input-number v-model="model.empowerCommunityNum" placeholder="请输入试用小区数量" style="width: 100%" @change="onValidatorInputNum" /> <a-input-number v-model="model.empowerCommunityNum" placeholder="请输入试用小区数量" style="width: 100%" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chargingStandardId"> <a-form-model-item label="收费标准" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="chargingStandardId">
<a-select v-model="model.chargingStandardId" placeholder="请选择收费标准" style="width: 100%" @change="onValidatorNum"> <a-select v-model="model.chargingStandardId" placeholder="请选择收费标准" style="width: 100%">
<a-select-option v-for="item in costList" :key="item.id" <a-select-option v-for="item in costList" :key="item.id"
:value="item.id">{{item.chargingName}}{{item.empowerNum}}个小区)</a-select-option> :value="item.id">{{item.chargingName}}</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -289,22 +289,6 @@ export default { ...@@ -289,22 +289,6 @@ export default {
onCancel() { onCancel() {
this.closeCurrent() this.closeCurrent()
}, },
onValidatorInputNum(val) {
if(this.model.chargingStandardId) {
let row = this.costList.find(item=>item.id === this.model.chargingStandardId)
if(val > row.empowerNum) {
this.$message.warning('授权小区数量不能大于收费标准规定社区数!')
this.model.empowerCommunityNum = undefined
}
}
},
onValidatorNum(val) {
let row = this.costList.find(item=>item.id === val)
if(this.model.empowerCommunityNum > row.empowerNum) {
this.$message.warning('授权小区数量不能大于收费标准规定社区数!')
this.model.empowerCommunityNum = undefined
}
},
contactPhoneChange(e) { contactPhoneChange(e) {
if (!this.model.adminLoginName) { if (!this.model.adminLoginName) {
this.model.adminLoginName = e.target.value this.model.adminLoginName = e.target.value
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论