diff --git a/client/src/api/enterprise.js b/client/src/api/enterprise.js index 4ad2656..a675069 100644 --- a/client/src/api/enterprise.js +++ b/client/src/api/enterprise.js @@ -1,5 +1,6 @@ import request from '@/utils/request' + export function getEnterpriseList(query) { return request({ url: '/crm/enterprise/', diff --git a/client/src/views/ability/abilityform.vue b/client/src/views/ability/abilityform.vue index 6ff03ed..cd1bac8 100644 --- a/client/src/views/ability/abilityform.vue +++ b/client/src/views/ability/abilityform.vue @@ -212,11 +212,11 @@ export default { this.afromOptions = genTree(res.data); }); }, - getauditor_abilitysOptions() { - getDictList({ type__code: "auditor_ability" }).then(res => { - this.auditor_abilitysOptions = genTree(res.data); - }); - }, + //getauditor_abilitysOptions() { + // getDictList({ type__code: "auditor_ability" }).then(res => { + // this.auditor_abilitysOptions = genTree(res.data); + // }); + //}, getmajorOptions1() { getDictList({ type__code: "cnas_scope" }).then(res => { this.majorOptions1 = genTree(res.data); @@ -266,4 +266,4 @@ getImplementRuleList({cert_field__code:'CCC'}).then(res=>{ } } }; - \ No newline at end of file + diff --git a/client/src/views/enterprise/addresstype.vue b/client/src/views/enterprise/addresstype.vue index 58ffa9d..31ffbd7 100644 --- a/client/src/views/enterprise/addresstype.vue +++ b/client/src/views/enterprise/addresstype.vue @@ -79,15 +79,15 @@ - - +
取消 - 确认 + 确认
@@ -248,7 +248,7 @@ handleDelete(scope){ }, - async confirm(form) { + async confirms(form) { this.$refs[form].validate(valid => { if (valid) { const isEdit = this.dialogType === 'update' diff --git a/client/src/views/enterprise/enterprise.vue b/client/src/views/enterprise/enterprise.vue index 5b21f52..7d2895e 100644 --- a/client/src/views/enterprise/enterprise.vue +++ b/client/src/views/enterprise/enterprise.vue @@ -24,12 +24,11 @@ + style="width: 100%;margin-bottom: 20px;" + row-key="id" + border + default-expand-all + :tree-props="{children: 'children', hasChildren: 'hasChildren'}">