Commit 1577c08f authored by Gakki's avatar Gakki

根据小区经理查小区列表

parent a8881310
...@@ -980,10 +980,10 @@ export default { ...@@ -980,10 +980,10 @@ export default {
}) })
}, },
handleExpired() { handleExpired() {
this.$router.push({name: 'indCous', query: {type: 'expired', date: (this.$moment().format('L')).split('/').join('')}}) this.$router.push({name: 'indCous', query: {date: (this.$moment().format('L')).split('/').join('')}})
}, },
handleWillExpire() { handleWillExpire() {
this.$router.push({name: 'indCous', query: {type: 'willExpire', date: (this.$moment().add('months', 5).format('L')).split('/').join('')}}) this.$router.push({name: 'indCous', query: {date: (this.$moment().add('months', 5).format('L')).split('/').join('')}})
}, },
/** /**
* 去投诉 * 去投诉
......
...@@ -198,6 +198,7 @@ export default { ...@@ -198,6 +198,7 @@ export default {
mounted(){ mounted(){
if (this.$route.name == 'indCous' ) { if (this.$route.name == 'indCous' ) {
this.$nextTick(function () { this.$nextTick(function () {
this.form.setFieldsValue({'overdueDate': this.$route.query.date})
this.getSearchParams() this.getSearchParams()
this.getStreet() this.getStreet()
}) })
...@@ -239,10 +240,6 @@ export default { ...@@ -239,10 +240,6 @@ export default {
} }
this.$set(obj, item, value) this.$set(obj, item, value)
}) })
if(!!this.$router.query) {
alert('a')
}
const searchParams = Object.assign({}, { const searchParams = Object.assign({}, {
'hocCode_l': this.form.getFieldValue('hocCode_l') || '', 'hocCode_l': this.form.getFieldValue('hocCode_l') || '',
'hocName_l': this.form.getFieldValue('hocName_l') || '', 'hocName_l': this.form.getFieldValue('hocName_l') || '',
......
...@@ -108,15 +108,6 @@ ...@@ -108,15 +108,6 @@
</a-row> </a-row>
</a-col> </a-col>
</a-row> </a-row>
<div>
<p style=" text-align: left; font-weight: bold; color: #232323; font-size: 16px; text-indent: 0.5rem;
line-height: 60px; border-bottom: 1px solid #e0e0e0; margin-top: 20px;">管理小区列表</p>
<a-table class="elevator-table portalTable propertyInfoViewTable" :dataSource="tableData" :columns="columns" size="small" :pagination="pagination"
rowKey="id" bordered>
</a-table>
</div>
</div> </div>
<!-- 小区管理处 --> <!-- 小区管理处 -->
<a-row v-if="urls.name == 'cmDivisionView'" type="flex" justify="start"> <a-row v-if="urls.name == 'cmDivisionView'" type="flex" justify="start">
...@@ -175,7 +166,8 @@ ...@@ -175,7 +166,8 @@
</a-row> </a-row>
<!-- 小区经理 --> <!-- 小区经理 -->
<a-row v-if="urls.name == 'managerView'" type="flex" justify="start"> <a-row v-if="urls.name == 'managerView'" type="flex" justify="start">
<a-col span="8"> <a-row>
<a-col span="8">
<a-row type="flex" justify="start" class="detailsPartLine"> <a-row type="flex" justify="start" class="detailsPartLine">
<a-col span="24"> <a-col span="24">
<DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理姓名"' :text='detail.csmName'/> <DetailsItem :labelSpan='12' :textSpan="12" :label='"小区经理姓名"' :text='detail.csmName'/>
...@@ -226,6 +218,17 @@ ...@@ -226,6 +218,17 @@
</a-col> </a-col>
</a-row> </a-row>
</a-col> </a-col>
</a-row>
<a-row style="width: 100%">
<div>
<p style=" text-align: left; font-weight: bold; color: #232323; font-size: 16px; text-indent: 0.5rem;
line-height: 60px; border-bottom: 1px solid #e0e0e0; margin-top: 20px;">管理小区列表</p>
<a-table :dataSource="tableData" :columns="columns" size="large" :pagination="pagination" rowKey="id" bordered>
</a-table>
</div>
</a-row>
</a-row> </a-row>
<!-- 非居信息 --> <!-- 非居信息 -->
<a-row v-if="urls.name == 'nonResidentsView'" type="flex" justify="start"> <a-row v-if="urls.name == 'nonResidentsView'" type="flex" justify="start">
...@@ -845,13 +848,14 @@ export default { ...@@ -845,13 +848,14 @@ export default {
} }
}, },
mounted() { mounted() {
this.getStList()
}, },
methods: { methods: {
getStList(){ getStList(){
this.$ajax.get({ this.$ajax.get({
url: this.$api.GET_BASIC_LIST, url: this.$api.GET_BASIC_LIST,
params: { params: {
cspId: this.$route.query.id, 'c.csmId': this.$route.query.id,
pageSize: 10, pageSize: 10,
pageNo: this.pagination.pageNo pageNo: this.pagination.pageNo
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment