Commit f26183f4 authored by Gakki's avatar Gakki

wzl-2021-01-21

parent a10a0944
...@@ -57,12 +57,6 @@ ...@@ -57,12 +57,6 @@
{ {
"path": "/danger/credit/creditTitle", "name": "creditTitle", "path": "/danger/credit/creditTitle", "name": "creditTitle",
"meta": { "title": "信用主体评分", "menuPath": true, "menuIcon": "profile", "hideInBread": false} "meta": { "title": "信用主体评分", "menuPath": true, "menuIcon": "profile", "hideInBread": false}
},
{
"path": "/danger/credit/archive", "name": "creditArchive",
"meta": {
"title": "信用主体归档", "menuPath": true, "menuIcon": "profile", "hideInBread": false
}
} }
] ]
}, },
...@@ -85,28 +79,28 @@ ...@@ -85,28 +79,28 @@
"meta": { "title": "服务考核", "menuPath": true, "menuIcon": "profile", "hideInBread": true }, "meta": { "title": "服务考核", "menuPath": true, "menuIcon": "profile", "hideInBread": true },
"children": [ "children": [
{ {
"path": "/danger/propertyScore/scoreTemplateList", "name": "scoreTemplateList", "path": "/danger/propertyScore/propertyAchievedList", "name": "propertyAchievedList",
"meta": { "title": "物业评分模版列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false }, "meta": { "title": "达标考核列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false },
"children": [ "children": [
{ {
"path": "/danger/propertyScore/scoreTemplateList/scoreTempImport", "name": "scoreTempImport", "path": "/danger/propertyScore/propertyAchievedList/propertyAchievedModify", "name": "propertyAchievedModify",
"meta": { "title": "物业评分模版导入", "menuPath": false, "menuIcon": "profile", "hideInBread": false } "meta": { "title": "达标考核修改", "menuPath": false, "menuIcon": "profile", "hideInBread": false }
} }
] ]
}, },
{ {
"path": "/danger/propertyScore/propertyQuarterScoreList", "name": "propertyQuarterScoreList", "path": "/danger/propertyScore/scoreTemplateList", "name": "scoreTemplateList",
"meta": { "title": "物业评分季度列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false }, "meta": { "title": "评分模板配置", "menuPath": true, "menuIcon": "profile", "hideInBread": false },
"children": [ "children": [
{ {
"path": "/danger/propertyScore/propertyQuarterScoreList/propertyScoreList", "name": "propertyScoreList", "path": "/danger/propertyScore/scoreTemplateList/scoreTempImport", "name": "scoreTempImport",
"meta": { "title": "物业评分列表", "menuPath": false, "menuIcon": "profile", "hideInBread": false } "meta": { "title": "物业评分模版导入", "menuPath": false, "menuIcon": "profile", "hideInBread": false }
} }
] ]
}, },
{ {
"path": "/danger/propertyScore/propertyPhoneList", "name": "propertyPhoneList", "path": "/danger/propertyScore/propertyPhoneList", "name": "propertyPhoneList",
"meta": { "title": "物业手机号列表", "menuPath": true, "menuIcon": "profile", "hideInBread": false }, "meta": { "title": "评分人员配置", "menuPath": true, "menuIcon": "profile", "hideInBread": false },
"children": [ "children": [
{ {
"path": "/danger/propertyScore/propertyPhoneList/addPhone", "name": "addPhone", "path": "/danger/propertyScore/propertyPhoneList/addPhone", "name": "addPhone",
......
...@@ -61,8 +61,8 @@ case 'huangpu-prod': ...@@ -61,8 +61,8 @@ case 'huangpu-prod':
default: // 默认环境下(开发环境) default: // 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2' // BASE_URL = 'http://31.0.161.39/apiv2'
// BASE_URL = 'http://211.136.105.193/apiv2' BASE_URL = 'http://211.136.105.193/apiv2'
BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2' // BASE_URL = 'http://xuhui.hm.omniview.pro/api/v2'
// BASE_URL = 'http://pudong.hm.omniview.pro/api/v2' // BASE_URL = 'http://pudong.hm.omniview.pro/api/v2'
// BASE_URL = 'http://211.136.105.193/api/v2' // BASE_URL = 'http://211.136.105.193/api/v2'
......
...@@ -347,7 +347,7 @@ export default { ...@@ -347,7 +347,7 @@ export default {
tableName: '', // 邻里小汇 tableName: '', // 邻里小汇
formed: '', // 邻里小汇 formed: '', // 邻里小汇
type: '', // 邻里小汇 type: '', // 邻里小汇
isBeforeTwoThousand: '0', isBeforeTwoThousand: '',
twoThousandValue: '', twoThousandValue: '',
personalizedKey: '' personalizedKey: ''
} }
...@@ -421,6 +421,12 @@ export default { ...@@ -421,6 +421,12 @@ export default {
}, },
reset(){ // 重置表单 reset(){ // 重置表单
this.form.resetFields() this.form.resetFields()
this.stLevel = ''
this.cspServiceType = ''
this.type = ''
this.isBeforeTwoThousand = ''
this.pagination.pageNo = 1 this.pagination.pageNo = 1
this.pagination.current = 1 this.pagination.current = 1
this.pagination.pageSize = 20 this.pagination.pageSize = 20
...@@ -514,10 +520,12 @@ export default { ...@@ -514,10 +520,12 @@ export default {
'cspServiceType': !this.cspServiceType? '': this.cspServiceType, 'cspServiceType': !this.cspServiceType? '': this.cspServiceType,
// 'tableName': !this.tableName?'': this.tableName, // 'tableName': !this.tableName?'': this.tableName,
'type': !this.type? '': this.type, 'type': !this.type? '': this.type,
'sectType_in': '1', 'sectType': 1,
'sectType_in': this.sectType_in,
'c.createTime_desc': 'desc', 'c.createTime_desc': 'desc',
'finishDate_lt': !!this.isBeforeTwoThousand? '2000-01-01': '', // 'finishDate_lt': !!this.isBeforeTwoThousand? '2000-01-01': '',
'finishDate_gt': !this.form.getFieldValue('finishDate') ? '' : !this.isBeforeTwoThousand? '2000-01-01': '', 'finishDate_lt': this.isBeforeTwoThousand == '1' ? '2020-01-01':'',
'finishDate_gt': this.isBeforeTwoThousand == '2' ? '2020-01-01':'',
}, obj, isHocId)// 融合obj 和isHocId 到入参 }, obj, isHocId)// 融合obj 和isHocId 到入参
searchParams[this.personalizedKey] = !this.formed?'': this.formed searchParams[this.personalizedKey] = !this.formed?'': this.formed
...@@ -796,7 +804,7 @@ export default { ...@@ -796,7 +804,7 @@ export default {
case '2': case '2':
this.tableName = 'tbl_community' this.tableName = 'tbl_community'
this.formed = '10, ' + (this.$moment().format('L').split('/')).join('') this.formed = '10,' + (this.$moment().format('L').split('/')).join('')
this.type = 'bet' this.type = 'bet'
break break
...@@ -815,7 +823,19 @@ export default { ...@@ -815,7 +823,19 @@ export default {
this.getList() this.getList()
}, },
changeFinishDate(val) { changeFinishDate(val) {
this.isBeforeTwoThousand = val switch (val) {
case '1':
this.isBeforeTwoThousand = '1'
break
case '2':
this.isBeforeTwoThousand = '2'
break
default:
this.isBeforeTwoThousand = 'none'
break
}
this.getList() this.getList()
} }
}, },
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
</a-col> </a-col>
<a-col span="8" > <a-col span="8" >
<a-form-item label="物业服务企业名称" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}"> <a-form-item label="物业服务企业名称" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-select showSearch allowClear placeholder="请选择查询内容" v-decorator="['cspId'] " @change="changeWy"> <a-select showSearch placeholder="请选择查询内容" v-decorator="['cspId'] " @change="changeWy">
<a-select-option v-for="(item) in wuye" :key="item.cspId" :value="item.cspId">{{ item.cspName}}</a-select-option> <a-select-option v-for="(item) in wuye" :key="item.cspId" :value=" item.cspName+'#'+item.cspId">{{ item.cspName }}</a-select-option>
</a-select> </a-select>
</a-form-item> </a-form-item>
</a-col> </a-col>
...@@ -172,7 +172,8 @@ export default { ...@@ -172,7 +172,8 @@ export default {
this.$ajax.get({ this.$ajax.get({
url: this.$api.GET_PROPCOMPANIES_LIST, url: this.$api.GET_PROPCOMPANIES_LIST,
params: { params: {
pageSize: 100000 pageSize: 100000,
sectType_in: '1'
} }
}).then(res => { }).then(res => {
if (res.code == 200 ) { if (res.code == 200 ) {
...@@ -180,11 +181,11 @@ export default { ...@@ -180,11 +181,11 @@ export default {
} }
}) })
}, },
changeWy(){ changeWy(value){// 切换街道
// let query=JSON.parse(JSON.stringify(this.$route.query)) this.form.setFieldsValue({
// query={id:'',name:''} 'cspId': value.split('#')[1]
// this.$router.push({path:'basicInfo',query:query}) })
this.getList()
}, },
getList(){ // 获取数据 getList(){ // 获取数据
//处理动态的搜索条件,耦合到搜索列表 //处理动态的搜索条件,耦合到搜索列表
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
<p style=" text-align: left; font-weight: bold; color: #232323; font-size: 16px; text-indent: 0.5rem; <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> 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 :dataSource="tableData1" :columns="columns" size="large" :pagination="pagination" rowKey="id" bordered>
</a-table> </a-table>
</div> </div>
...@@ -816,6 +816,7 @@ export default { ...@@ -816,6 +816,7 @@ export default {
customKeyEnable: 'false', customKeyEnable: 'false',
tbl: '', tbl: '',
tableData: [], tableData: [],
tableData1: [],
columns: [ columns: [
{ {
title: '小区名称', title: '小区名称',
...@@ -858,16 +859,19 @@ export default { ...@@ -858,16 +859,19 @@ export default {
} }
}, },
mounted() { mounted() {
this.getStList() this.getStList(),
this.getAfterStList()
}, },
methods: { methods: {
getStList(){ getStList(){
this.$ajax.get({ this.$ajax.get({
url: this.$api.GET_BASIC_LIST, url: this.$api.GET_BASIC_LIST,
params: { params: {
'c.csmId': this.$route.query.id, 'c.cspId': this.$route.query.id,
pageSize: 10, pageSize: 10,
pageNo: this.pagination.pageNo pageNo: this.pagination.pageNo,
'c.createTime_desc': 'desc',
'sectType_in': '1'
} }
}).then(res => { }).then(res => {
if (res.code == 200 ) { if (res.code == 200 ) {
...@@ -879,6 +883,26 @@ export default { ...@@ -879,6 +883,26 @@ export default {
} }
}) })
}, },
getAfterStList(){
this.$ajax.get({
url: this.$api.GET_BASIC_LIST,
params: {
'c.csmId': this.$route.query.id,
pageSize: 10,
pageNo: this.pagination.pageNo,
'c.createTime_desc': 'desc',
'sectType_in': '1'
}
}).then(res => {
if (res.code == 200 ) {
this.tableData1 = res.data.content
this.pagination.pageNo = res.data.totalPages
this.pagination.current = res.data.page
this.pagination.pageSize = res.data.pageSize
this.pagination.total = res.data.totalRows
}
})
},
pageChange(page, pageSize){ //分页切换 pageChange(page, pageSize){ //分页切换
this.pagination.pageNo = page this.pagination.pageNo = page
this.pagination.current = page this.pagination.current = page
......
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