Browse Source

个性服务列表详情

feature
mk 2 years ago
parent
commit
dde18b9bfa
  1. 2
      src/views/modules/communityService/measure/detail.vue
  2. 10
      src/views/modules/communityService/measure/index.vue
  3. 2
      src/views/modules/communityService/policy/addPolicy.vue

2
src/views/modules/communityService/measure/detail.vue

@ -15,7 +15,7 @@
<div class="m-info-prop">
<span class="u-info-title-3">需求类型</span>
<span>{{ dataForm.categoryName ?dataForm.categoryName :'--' }}</span>
<span>{{ dataForm.categoryAllName ?dataForm.categoryAllName :'--' }}</span>
</div>
<div class="m-info-prop">

10
src/views/modules/communityService/measure/index.vue

@ -350,7 +350,7 @@
></el-input>
<el-cascader
v-else
v-model="form.parentCode"
v-model="form.categoryCode"
:options="demandOptions"
:props="{label: 'categoryName',value: 'categoryCode',children: 'childCateList'}"
:disabled="disabled"
@ -743,7 +743,7 @@ export default {
},
{
label: "需求类型",
columnName: "categoryName",
columnName: "categoryAllName",
align: "center",
width: "",
options: [],
@ -1062,10 +1062,7 @@ export default {
}
if (addType == "edit") {
await this.getDemandUserList();
this.demandOptions.forEach((item) => {
if (item.value === row.categoryCode)
this.form.categoryCode = [row.categoryCode];
});
this.form.categoryCode = [row.parentCode,row.categoryCode];
this.demandUserList.forEach((item) => {
if (item.demandUserId == row.demandUserId)
this.selectDemandUser = item.label;
@ -1076,7 +1073,6 @@ export default {
},
async handleLook(row, type) {
this.detailShow = true;
console.log("row", row);
this.$nextTick(() => {
this.$refs.ref_form_detail.initForm(row);
});

2
src/views/modules/communityService/policy/addPolicy.vue

@ -432,7 +432,7 @@ export default {
await this.startLoading();
await this.getServiceTypeDictOptions();
await this.getDictOptions();
// await this.loadScopeTree();
await this.loadScopeTree();
await this.loadDemandoption();
await this.getDemandOptions();
if (this.formType === "add") {

Loading…
Cancel
Save