diff --git a/src/views/modules/communityService/fuwujilu/fuwuList.vue b/src/views/modules/communityService/fuwujilu/fuwuList.vue index ccc130a2..c61d80ff 100644 --- a/src/views/modules/communityService/fuwujilu/fuwuList.vue +++ b/src/views/modules/communityService/fuwujilu/fuwuList.vue @@ -179,7 +179,7 @@ + width="220"> @@ -269,9 +290,10 @@ import axios from "axios"; import addForm from "./addForm"; import detailForm from "./detailForm"; import feedBackForm from "./addForm"; +import personList from "../policy/personList"; export default { - components: { addForm, detailForm, feedBackForm }, + components: { addForm, detailForm, feedBackForm, personList }, data () { let endDisabledDate = (time) => {//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键 @@ -357,7 +379,9 @@ export default { serviceOptions: [], serviceOptiondList: [], - + policyId: '', + showPersonList: false, + ruleList: [] }; }, computed: { @@ -442,6 +466,31 @@ export default { return this.$message.error("网络错误"); }); }, + //加载组织数据 + async handlePersonList (row) { + + this.policyId = row.policyId + await this.loadRuleList() + this.formType = 'personList' + this.showPersonList = true; + }, + + async loadRuleList () { + + const url = "/heart/policy/rulelist/" + this.policyId + + let params = {} + + const { data, code, msg } = await requestPost(url, params) + + if (code === 0) { + this.ruleList = data + + } else { + this.$message.error(msg) + } + + }, async handleAdd () {