diff --git a/src/views/modules/communityService/policy/addPolicy.vue b/src/views/modules/communityService/policy/addPolicy.vue index 9b2f0d4cd..1bad55b85 100644 --- a/src/views/modules/communityService/policy/addPolicy.vue +++ b/src/views/modules/communityService/policy/addPolicy.vue @@ -438,7 +438,6 @@ export default { await this.getServiceTypeDictOptions(); await this.getDictOptions(); await this.loadScopeTree(); - await this.loadDemandoption(); await this.getDemandOptions(); if (this.formType === "add") { this.$refs.ref_form.resetFields(); @@ -645,26 +644,6 @@ export default { }, - // 获取服务范围树 - loadDemandoption() { - const url = "/governance/icresidemanddict/demandoption"; - // const url = 'http://yapi.elinkservice.cn/mock/245/gov/org/isServiceProject/service/serviceScopeTree' - let params = {}; - window.app.ajax.post( - url, - params, - (data, rspMsg) => { - this.demandOptions = this.getFlagData( - this.getTreeData(data), - "usableFlag" - ); - }, - (rspMsg, data) => { - this.$message.error(rspMsg); - } - ); - }, - async handleAdd() { // var oDate1 = new Date(this.formData.startDate); // var oDate2 = new Date(this.formData.endDate);