Browse Source

Merge branch 'fix_bug' into dev

feature
mk 2 years ago
parent
commit
e2f041a4cc
  1. 21
      src/views/modules/communityService/policy/addPolicy.vue

21
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);

Loading…
Cancel
Save