Bladeren bron

宅基地bug修改

wulanhaote
zhao 3 jaren geleden
bovenliggende
commit
0489f13674
6 gewijzigde bestanden met toevoegingen van 69 en 30 verwijderingen
  1. +18
    -6
      src/views/onlineHome/homestead/arbitration/arbitrationDetail.vue
  2. +11
    -1
      src/views/onlineHome/homestead/arbitration/arbitrationHandlerDetail.vue
  3. +11
    -1
      src/views/onlineHome/homestead/arbitration/arbitrationProcessDetail.vue
  4. +8
    -6
      src/views/onlineHome/homestead/circulation/circulationList.vue
  5. +12
    -10
      src/views/onlineHome/homestead/homeApplication/applicationList.vue
  6. +9
    -6
      src/views/onlineHome/homestead/mortgage/mortgageList.vue

+ 18
- 6
src/views/onlineHome/homestead/arbitration/arbitrationDetail.vue Bestand weergeven

@@ -87,17 +87,17 @@
<!-- 底部按钮 --> <!-- 底部按钮 -->
<van-goods-action style="z-index: 999;" v-if="allowCUD && (formVisible.editVisible || formVisible.operationVisible || formVisible.approvalVisible)"> <van-goods-action style="z-index: 999;" v-if="allowCUD && (formVisible.editVisible || formVisible.operationVisible || formVisible.approvalVisible)">
<template v-if="formVisible.editVisible"> <template v-if="formVisible.editVisible">
<van-goods-action-button type="primary" text="保存" @click="onSubmit('add')" :disabled="!formEnabled.baseFormEnabled" v-if="formEnabled.baseFormEnabled"/>
<van-goods-action-button type="primary" :text="formEnabled.baseFormEnabled ? '保存并提交' : '提交'" @click="onSubmit(formEnabled.baseFormEnabled ? 'save_and_submit' : 'submit')" v-if="formEnabled.submitEnabled"/>
<van-goods-action-button type="info" text="保存" @click="onSubmit('add')" :disabled="!formEnabled.baseFormEnabled" v-if="formEnabled.baseFormEnabled"/>
<van-goods-action-button type="info" text="提交" @click="onSubmit(formEnabled.baseFormEnabled ? 'save_and_submit' : 'submit')" v-if="formEnabled.submitEnabled"/>
</template> </template>
<template v-if="formVisible.approvalVisible"> <template v-if="formVisible.approvalVisible">
<van-goods-action-button type="primary" text="受理" @click="onSubmit('agree')" :disabled="!formEnabled.approvalEnabled"/>
<van-goods-action-button type="info" text="受理" @click="onSubmit('agree')" :disabled="!formEnabled.approvalEnabled"/>
<van-goods-action-button type="danger" text="驳回" @click="onSubmit('reject')" v-if="formEnabled.rejectEnabled"/> <van-goods-action-button type="danger" text="驳回" @click="onSubmit('reject')" v-if="formEnabled.rejectEnabled"/>
</template> </template>
<template v-if="formVisible.operationVisible"> <template v-if="formVisible.operationVisible">
<van-goods-action-button type="primary" text="调解" @click="onSubmit('mediate')" v-if="formEnabled.mediateEnabled"/>
<van-goods-action-button type="info" text="调解" @click="onSubmit('mediate')" v-if="formEnabled.mediateEnabled"/>
<van-goods-action-button type="danger" text="仲裁" @click="onSubmit('arbitrate')" v-if="formEnabled.arbitrateEnabled"/> <van-goods-action-button type="danger" text="仲裁" @click="onSubmit('arbitrate')" v-if="formEnabled.arbitrateEnabled"/>
<van-goods-action-button type="primary" text="归档" @click="onSubmit('archive')" v-if="formEnabled.archiveEnabled"/>
<van-goods-action-button type="info" text="归档" @click="onSubmit('archive')" v-if="formEnabled.archiveEnabled"/>
</template> </template>
</van-goods-action> </van-goods-action>


@@ -269,6 +269,7 @@ export default {
case INTENT_ADD: case INTENT_ADD:
this.formEnabled.baseFormEnabled = true; this.formEnabled.baseFormEnabled = true;
this.formVisible.editVisible = true; this.formVisible.editVisible = true;
this.formEnabled.submitEnabled = true;
break; break;
} }
}, },
@@ -374,8 +375,10 @@ export default {
}*/ }*/
console.log("进行保存", this.arbitrationData); console.log("进行保存", this.arbitrationData);
(this.arbitrationData.id ? editArbitration : addArbitration)(this.arbitrationData).then((response) => { (this.arbitrationData.id ? editArbitration : addArbitration)(this.arbitrationData).then((response) => {
if(submit && this.arbitrationData.id)
if(submit)
{ {
if(!this.arbitrationData.id)
this.arbitrationData.id = response.data;
this.submitArbitration(); this.submitArbitration();
} }
else else
@@ -611,4 +614,13 @@ export default {
.van-goods-action { .van-goods-action {
justify-content: center; justify-content: center;
} }
.van-goods-action-button--first {
border-radius: 0.053333rem;
}
.van-goods-action-button--last {
border-radius: 0.053333rem;
}
.van-goods-action-button {
margin-left: 0.1rem;
}
</style> </style>

+ 11
- 1
src/views/onlineHome/homestead/arbitration/arbitrationHandlerDetail.vue Bestand weergeven

@@ -41,7 +41,8 @@


<!-- 底部按钮 --> <!-- 底部按钮 -->
<van-goods-action style="z-index: 999;" v-if="allowCUD"> <van-goods-action style="z-index: 999;" v-if="allowCUD">
<van-goods-action-button type="primary" text="保存" @click="onSubmit('add')" v-if="formEnabled.baseFormEnabled" />
<van-goods-action-button style="background-color: rgb(180, 176, 176); color: #FFFFFF;" text="关闭" @click="$router.back()" v-if="formEnabled.baseFormEnabled" />
<van-goods-action-button type="info" text="保存" @click="onSubmit('add')" v-if="formEnabled.baseFormEnabled" />
<van-goods-action-button type="danger" text="删除" @click="onSubmit('del')" v-if="formEnabled.removeEnabled" /> <van-goods-action-button type="danger" text="删除" @click="onSubmit('del')" v-if="formEnabled.removeEnabled" />
</van-goods-action> </van-goods-action>
</div> </div>
@@ -428,4 +429,13 @@ export default {
.van-goods-action { .van-goods-action {
justify-content: center; justify-content: center;
} }
.van-goods-action-button--first {
border-radius: 0.053333rem;
}
.van-goods-action-button--last {
border-radius: 0.053333rem;
}
.van-goods-action-button {
margin-left: 0.1rem;
}
</style> </style>

+ 11
- 1
src/views/onlineHome/homestead/arbitration/arbitrationProcessDetail.vue Bestand weergeven

@@ -66,7 +66,8 @@


<!-- 底部按钮 --> <!-- 底部按钮 -->
<van-goods-action style="z-index: 999;" v-if="allowCUD"> <van-goods-action style="z-index: 999;" v-if="allowCUD">
<van-goods-action-button type="primary" text="保存" @click="onSubmit('add')" v-if="formEnabled.baseFormEnabled" />
<van-goods-action-button style="background-color: rgb(180, 176, 176); color: #FFFFFF;" text="关闭" @click="$router.back()" v-if="formEnabled.baseFormEnabled" />
<van-goods-action-button type="info" text="保存" @click="onSubmit('add')" v-if="formEnabled.baseFormEnabled" />
<van-goods-action-button type="danger" text="删除" @click="onSubmit('del')" v-if="formEnabled.removeEnabled" /> <van-goods-action-button type="danger" text="删除" @click="onSubmit('del')" v-if="formEnabled.removeEnabled" />
</van-goods-action> </van-goods-action>
</div> </div>
@@ -453,4 +454,13 @@ export default {
.van-goods-action { .van-goods-action {
justify-content: center; justify-content: center;
} }
.van-goods-action-button--first {
border-radius: 0.053333rem;
}
.van-goods-action-button--last {
border-radius: 0.053333rem;
}
.van-goods-action-button {
margin-left: 0.1rem;
}
</style> </style>

+ 8
- 6
src/views/onlineHome/homestead/circulation/circulationList.vue Bestand weergeven

@@ -21,10 +21,11 @@
@load="getList" @load="getList"
> >
<van-swipe-cell v-for="(item,index) in applicationList" :key="index"> <van-swipe-cell v-for="(item,index) in applicationList" :key="index">
<van-cell :title="item.shyqrdm" :value="item.auditStatus" center :to="{name:'circulationDetail', query: {id:item.id}}">
<van-cell :title="item.shyqrdm" :value="formatDict(auditStatus, item.auditStatus)" center :to="{name:'circulationDetail', query: {id:item.id}}">
<template #icon> <template #icon>
<van-icon name="../../../static/images/onlineHome/icon_zjd2.png" size="30" color="#539FFD" style="margin-right: 10px;" /> <van-icon name="../../../static/images/onlineHome/icon_zjd2.png" size="30" color="#539FFD" style="margin-right: 10px;" />
</template> </template>
<span :style="{color: item.auditStatus == '2' ? '#F56C6C' : (item.auditStatus == '0' ? '#67c23a' : ''),}">{{ item.auditStatus == '2' ? '已驳回' : formatDict(auditStatus, item.auditStatus) }} </span>
<template #label> <template #label>
<p><b style="color: #FFA63E;">{{item.lzfs}}</b><i style="margin-right: 0.5rem;"></i><b style="color: #333333;">{{item.zrfdbmc}}</b><i style="margin-right: 0.5rem;"></i>{{item.lzmj}}㎡</p> <p><b style="color: #FFA63E;">{{item.lzfs}}</b><i style="margin-right: 0.5rem;"></i><b style="color: #333333;">{{item.zrfdbmc}}</b><i style="margin-right: 0.5rem;"></i>{{item.lzmj}}㎡</p>
</template> </template>
@@ -32,13 +33,13 @@
<template #right> <template #right>
<van-row> <van-row>
<van-col> <van-col>
<van-button square text="修改" type="info" v-if="item.auditStatus=='草稿'" class="delete-button" :to="{name:'circulationModify', query: {id:item.id}}" />
<van-button square text="修改" type="info" v-if="item.auditStatus=='0'" class="delete-button" :to="{name:'circulationModify', query: {id:item.id}}" />
</van-col> </van-col>
<van-col> <van-col>
<van-button square text="提交" type="primary" v-if="item.auditStatus=='草稿'" class="delete-button" @click="submit(item)" />
<van-button square text="提交" type="primary" v-if="item.auditStatus=='0'" class="delete-button" @click="submit(item)" />
</van-col> </van-col>
<van-col> <van-col>
<van-button square text="删除" type="danger" v-if="item.auditStatus=='草稿'" @click="deleteList(item.id,index)" class="delete-button" />
<van-button square text="删除" type="danger" v-if="item.auditStatus=='0'" @click="deleteList(item.id,index)" class="delete-button" />
</van-col> </van-col>
</van-row> </van-row>
</template> </template>
@@ -85,8 +86,6 @@ export default {
for (var i = 0; i < response.rows.length; i++) { for (var i = 0; i < response.rows.length; i++) {
var houseApplyStatus = this.selectDictLabel(this.houseApplyStatus, response.rows[i].lzfs); var houseApplyStatus = this.selectDictLabel(this.houseApplyStatus, response.rows[i].lzfs);
response.rows[i].lzfs = houseApplyStatus; response.rows[i].lzfs = houseApplyStatus;
var auditStatus = this.selectDictLabel(this.auditStatus, response.rows[i].auditStatus);
response.rows[i].auditStatus = auditStatus;
this.applicationList.push(response.rows[i]); this.applicationList.push(response.rows[i]);
} }
console.log(this.applicationList.length >= response.total) console.log(this.applicationList.length >= response.total)
@@ -141,6 +140,9 @@ export default {
this.applicationList = []; this.applicationList = [];
this.getList(); this.getList();
}, },
formatDict(dict, value) {
return this.selectDictLabel(dict, value);
},
}, },
} }
</script> </script>


+ 12
- 10
src/views/onlineHome/homestead/homeApplication/applicationList.vue Bestand weergeven

@@ -34,9 +34,9 @@
<template #icon> <template #icon>
<van-icon name="../../../static/images/onlineHome/icon_zjd1.png" size="30" color="#539FFD" style="margin-right: 10px;" /> <van-icon name="../../../static/images/onlineHome/icon_zjd1.png" size="30" color="#539FFD" style="margin-right: 10px;" />
</template> </template>
<span v-if="item.auditStatus === '0'">{{ item.houseApplyStatusName}} </span>
<span v-else-if="item.auditStatus !== '0' && item.auditStatus === '2' " style="color: #F56C6C">{{ item.houseApplyStatusName + ' ● 已驳回' }} </span>
<span v-else style="color: #67c23a;">{{item.houseApplyStatusName }} </span>
<span v-if="item.auditStatus === '0'">{{ formatDict(houseApplyStatus, item.houseApplyStatus) }} </span>
<span v-else-if="item.auditStatus !== '0' && item.auditStatus === '2' " style="color: #F56C6C">{{ formatDict(houseApplyStatus, item.houseApplyStatus) + ' ● 已驳回' }} </span>
<span v-else style="color: #67c23a;">{{ formatDict(houseApplyStatus, item.houseApplyStatus) }} </span>
<template #label> <template #label>
<p>{{item.projectName}}</p> <p>{{item.projectName}}</p>
</template> </template>
@@ -44,13 +44,13 @@
<template #right> <template #right>
<van-row> <van-row>
<van-col> <van-col>
<van-button square text="提交" type="primary" v-if="item.houseApplyStatusName=='申请草稿'" @click="submitApplyProposer(item)" class="delete-button" />
<van-button square text="提交" type="primary" v-if="item.houseApplyStatus=='1'" @click="submitApplyProposer(item)" class="delete-button" />
</van-col> </van-col>
<van-col> <van-col>
<van-button square text="修改" type="info" v-if="item.houseApplyStatusName=='申请草稿'" :to="{name:'proposerLite', query: {id:item.id, type: 'modify'}}" class="delete-button" />
<van-button square text="修改" type="info" v-if="item.houseApplyStatus=='1'" :to="{name:'proposerLite', query: {id:item.id, type: 'modify'}}" class="delete-button" />
</van-col> </van-col>
<van-col> <van-col>
<van-button square text="删除" type="danger" v-if="item.houseApplyStatusName=='申请草稿'" @click="deleteList(item.id,index)" class="delete-button" />
<van-button square text="删除" type="danger" v-if="item.houseApplyStatus=='1'" @click="deleteList(item.id,index)" class="delete-button" />
</van-col> </van-col>
</van-row> </van-row>
</template> </template>
@@ -83,10 +83,9 @@ export default {
}, },
created() { created() {
this.houseGetDicts("house_apply_status").then((response) => { this.houseGetDicts("house_apply_status").then((response) => {
console.log(response)
this.houseApplyStatus = response.data; this.houseApplyStatus = response.data;
this.getList();
}); });
this.getList();
}, },
methods: { methods: {
goAdd(){ goAdd(){
@@ -137,11 +136,11 @@ export default {
return; return;
} }
for (var i = 0; i < response.rows.length; i++) { for (var i = 0; i < response.rows.length; i++) {
var houseApplyStatusName = this.selectDictLabel(this.houseApplyStatus, response.rows[i].houseApplyStatus);
/*var houseApplyStatusName = this.selectDictLabel(this.houseApplyStatus, response.rows[i].houseApplyStatus);
// if(response.rows[i].auditStatus !== '0' && response.rows[i].auditStatus === '2'){ // if(response.rows[i].auditStatus !== '0' && response.rows[i].auditStatus === '2'){
// houseApplyStatusName = houseApplyStatusName+ ' ● 已驳回'; // houseApplyStatusName = houseApplyStatusName+ ' ● 已驳回';
// } // }
response.rows[i].houseApplyStatusName = houseApplyStatusName;
response.rows[i].houseApplyStatusName = houseApplyStatusName;*/
this.applicationList.push(response.rows[i]); this.applicationList.push(response.rows[i]);
} }
this.total += response.rows.length; this.total += response.rows.length;
@@ -151,6 +150,9 @@ export default {
this.refreshing = false; this.refreshing = false;
}); });
}, },
formatDict(dict, value) {
return this.selectDictLabel(dict, value);
},
deleteList(id,index){ deleteList(id,index){
this.$dialog.confirm({ this.$dialog.confirm({
message: '您确认删除申请草稿?', message: '您确认删除申请草稿?',


+ 9
- 6
src/views/onlineHome/homestead/mortgage/mortgageList.vue Bestand weergeven

@@ -22,6 +22,7 @@
> >
<van-swipe-cell v-for="(item,index) in applicationList" :key="index"> <van-swipe-cell v-for="(item,index) in applicationList" :key="index">
<van-cell :title="item.zjddm" :value="item.auditStatus" center :to="{name:'mortgageDetail', query: {id:item.id}}" > <van-cell :title="item.zjddm" :value="item.auditStatus" center :to="{name:'mortgageDetail', query: {id:item.id}}" >
<span :style="{color: item.auditStatus == '2' ? '#F56C6C' : (item.auditStatus == '0' ? '#67c23a' : ''),}">{{ item.auditStatus == '2' ? '已驳回' : formatDict(auditStatus, item.auditStatus) }} </span>
<template #icon> <template #icon>
<van-icon name="../../../static/images/onlineHome/icon_zjd4.png" size="30" color="#539FFD" style="margin-right: 10px;" /> <van-icon name="../../../static/images/onlineHome/icon_zjd4.png" size="30" color="#539FFD" style="margin-right: 10px;" />
</template> </template>
@@ -32,10 +33,10 @@
<template #right> <template #right>
<van-row> <van-row>
<van-col> <van-col>
<van-button square text="修改" v-if="item.auditStatus=='草稿'" :to="{name:'mortgageModify', query: {id:item.id}}" type="info" class="delete-button" />
<van-button square text="修改" v-if="item.auditStatus=='0'" :to="{name:'mortgageModify', query: {id:item.id}}" type="info" class="delete-button" />
</van-col> </van-col>
<van-col> <van-col>
<van-button square text="删除" v-if="item.auditStatus=='草稿'" @click="deleteList(item.id,index)" type="danger" class="delete-button" />
<van-button square text="删除" v-if="item.auditStatus=='0'" @click="deleteList(item.id,index)" type="danger" class="delete-button" />
</van-col> </van-col>
</van-row> </van-row>
</template> </template>
@@ -87,7 +88,6 @@ export default {
for (var i = 0; i < response.rows.length; i++) { for (var i = 0; i < response.rows.length; i++) {
response.rows[i].dybdclx = this.selectDictLabel(this.dybdclxStatus, response.rows[i].dybdclx) response.rows[i].dybdclx = this.selectDictLabel(this.dybdclxStatus, response.rows[i].dybdclx)
response.rows[i].dyfs = this.selectDictLabel(this.dyfsStatus, response.rows[i].dyfs) response.rows[i].dyfs = this.selectDictLabel(this.dyfsStatus, response.rows[i].dyfs)
response.rows[i].auditStatus = this.selectDictLabel(this.auditStatus, response.rows[i].auditStatus)
this.applicationList.push(response.rows[i]); this.applicationList.push(response.rows[i]);
} }
if(this.applicationList.length >= response.total){ if(this.applicationList.length >= response.total){
@@ -116,7 +116,10 @@ export default {
.catch(() => { .catch(() => {
// on cancel // on cancel
}); });
}
},
formatDict(dict, value) {
return this.selectDictLabel(dict, value);
},
}, },
} }
</script> </script>
@@ -126,7 +129,7 @@ export default {
padding: 0.2rem 3%; padding: 0.2rem 3%;
} }
/deep/.van-cell__title{ /deep/.van-cell__title{
flex: 0.9;
flex: 0.8;
} }
/deep/.van-cell__title span{ /deep/.van-cell__title span{
font-family: Arial; font-family: Arial;
@@ -134,7 +137,7 @@ export default {
font-weight: normal; font-weight: normal;
} }
/deep/.van-cell__value{ /deep/.van-cell__value{
flex: 0.1;
flex: 0.2;
color: #1D6FE9; color: #1D6FE9;
font-weight: bold; font-weight: bold;
} }


Laden…
Annuleren
Opslaan