Commit 1b286a52 authored by 程卓's avatar 程卓

小区详情自定义字段拼接完成,邻小慧修改,部分参数修改

parent d9177b89
...@@ -52,16 +52,22 @@ export default { ...@@ -52,16 +52,22 @@ export default {
} }
</script> </script>
<style> <style>
.detailContent { margin: -1px; font-size: 14px; line-height: 40px;border: 1px solid #ccc} .detailContent { margin: -.5px; font-size: 14px; line-height: 40px;border: 1px solid #ccc}
.detailContent .label { white-space: nowrap; .detailContent .label {
white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis;
text-overflow: ellipsis;border-right:1px solid #ccc; background-color: #fafafa; text-align: right; color:rgba(0, 0, 0, 0.65)} border-right:1px solid #ccc;
.detailContent .text {white-space: nowrap; background-color: #fafafa;
text-align: right; color:rgba(0, 0, 0, 0.65);
overflow: hidden; }
.detailContent .text {
text-overflow: ellipsis;padding-left: 8px; text-align: left; word-break:break-all;} white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 8px;
text-align: left;
word-break:break-all;
}
</style> </style>
...@@ -48,6 +48,8 @@ async function GetRoutes(router) { ...@@ -48,6 +48,8 @@ async function GetRoutes(router) {
break break
} }
console.log(MicRouters)
const micSystemRoutersConfigs = Object.assign({}, MicRouters) const micSystemRoutersConfigs = Object.assign({}, MicRouters)
const { routes } = router.options const { routes } = router.options
const parent = routes.find(item => item.name === 'Layout') const parent = routes.find(item => item.name === 'Layout')
......
...@@ -709,6 +709,8 @@ export default { ...@@ -709,6 +709,8 @@ export default {
created(){}, created(){},
mounted(){ mounted(){
console.log('当前登录api: ' + this.$api.BASE_URL) console.log('当前登录api: ' + this.$api.BASE_URL)
if (this.$api.BASE_URL.indexOf('xuhui')!=-1 || this.$api.BASE_URL.indexOf('31.0.161.39')!=-1 ) { //徐汇分支
console.log('徐汇')
this.getList() this.getList()
this.getConfig() this.getConfig()
this.getDisposal() this.getDisposal()
...@@ -724,6 +726,8 @@ export default { ...@@ -724,6 +726,8 @@ export default {
this.getTousuDensity('M') this.getTousuDensity('M')
this.getTousuDensity('Y') this.getTousuDensity('Y')
this.getTousuDensity('S') this.getTousuDensity('S')
}
}, },
methods: { methods: {
/** /**
......
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
<div class="routerWapper"> <div class="routerWapper">
<div v-if="$route.path == '/houseData/basicInfo'" class="layoutMargin layoutPadding"> <div v-if="$route.path == '/houseData/basicInfo'" class="layoutMargin layoutPadding">
<a-form :form="form" class="protalForm" > <a-form :form="form" class="protalForm" >
<a-row class="formItem" type="flex" :justify="simpleSearchForm ? 'end' : ''" <a-row class="formItem" type="flex" :justify="simpleSearchForm ? 'end' : ''" align="top" :gutter="simpleSearchForm ? 16 : 0">
align="top"
:gutter="simpleSearchForm ? 16 : 0">
<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-input placeholder="请输入查询内容" v-decorator="['stNameFrst_l']" /> <a-input placeholder="请输入查询内容" v-decorator="['stNameFrst_l']" />
...@@ -68,7 +66,7 @@ ...@@ -68,7 +66,7 @@
<a-col span="8"> <a-col span="8">
<a-form-item v-if="!simpleSearchForm" label="小区层数" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}"> <a-form-item v-if="!simpleSearchForm" label="小区层数" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-select <a-select
v-decorator="['stLevel']" v-decorator="['unitKind_in']"
mode="multiple" mode="multiple"
style="width: 100%" style="width: 100%"
placeholder="请选择小区层数(多选)" placeholder="请选择小区层数(多选)"
...@@ -97,7 +95,7 @@ ...@@ -97,7 +95,7 @@
</a-col> </a-col>
<a-col span="8" v-if="$store.state.isXuhui"> <a-col span="8" v-if="$store.state.isXuhui">
<a-form-item v-if="!simpleSearchForm" label="邻里小汇类型" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}"> <a-form-item v-if="!simpleSearchForm" label="邻小汇成立状态" class="formItem" :label-col="{span:10}" :wrapper-col="{span:14}">
<a-select allowClear placeholder="请选择查询内容" v-decorator="['neighbourType'] " @change="changeNeighbourType"> <a-select allowClear placeholder="请选择查询内容" v-decorator="['neighbourType'] " @change="changeNeighbourType">
<a-select-option v-for="(item) in neighbourType" :key="item.key" :value="item.key">{{ item.name }}</a-select-option> <a-select-option v-for="(item) in neighbourType" :key="item.key" :value="item.key">{{ item.name }}</a-select-option>
</a-select> </a-select>
...@@ -166,6 +164,10 @@ export default { ...@@ -166,6 +164,10 @@ export default {
name: '多层', name: '多层',
key: '2' key: '2'
}, },
{
name: '别墅',
key: '3'
},
], ],
finishDate: [ finishDate: [
{ {
...@@ -516,7 +518,7 @@ export default { ...@@ -516,7 +518,7 @@ export default {
'c.streetId': !this.form.getFieldValue('c.streetId')?'':this.form.getFieldValue('c.streetId').split('#')[1], 'c.streetId': !this.form.getFieldValue('c.streetId')?'':this.form.getFieldValue('c.streetId').split('#')[1],
'stKind_in': !this.form.getFieldValue('stKind_in')?'':this.form.getFieldValue('stKind_in').join(','), 'stKind_in': !this.form.getFieldValue('stKind_in')?'':this.form.getFieldValue('stKind_in').join(','),
'unitAddr': !this.form.getFieldValue('unitAddr')?'':this.form.getFieldValue('unitAddr'), 'unitAddr': !this.form.getFieldValue('unitAddr')?'':this.form.getFieldValue('unitAddr'),
'unitKind': !this.stLevel?'': this.stLevel, 'unitKind_in': !this.stLevel?'': this.stLevel,
'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,
...@@ -782,13 +784,15 @@ export default { ...@@ -782,13 +784,15 @@ export default {
}, },
changeLevel(val) { changeLevel(val) {
console.log(val) console.log(val)
if(val.length == 2) { this.stLevel = val.join(',')
this.stLevel = '8'
} else {
this.stLevel = val[0]
}
this.getList() // if(val.indexOf('1')!=-1 && val.indexOf('2')!=-1) {
// this.stLevel = '8'
// } else {
// this.stLevel = val[0]
// }
// this.getList()
}, },
changeServiceType(val) { changeServiceType(val) {
this.cspServiceType = val this.cspServiceType = val
...@@ -820,7 +824,7 @@ export default { ...@@ -820,7 +824,7 @@ export default {
break break
} }
this.getList() // this.getList()
}, },
changeFinishDate(val) { changeFinishDate(val) {
switch (val) { switch (val) {
...@@ -836,7 +840,7 @@ export default { ...@@ -836,7 +840,7 @@ export default {
this.isBeforeTwoThousand = 'none' this.isBeforeTwoThousand = 'none'
break break
} }
this.getList() // this.getList()
} }
}, },
......
This diff is collapsed.
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