diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue index ef7bd91..247bb11 100644 --- a/src/components/DeptSelect/index.vue +++ b/src/components/DeptSelect/index.vue @@ -69,7 +69,7 @@ // 如果未指定需要展示的部门类型,获取全部部门 if (!props.deptType) { if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取 - getDeptTreeList().then((res) => { + getDeptTreeList({ pid: '0' }).then((res) => { const list = res.data dictStore.setAllDeptList(list) refreshList(list) diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue index ef7bd91..247bb11 100644 --- a/src/components/DeptSelect/index.vue +++ b/src/components/DeptSelect/index.vue @@ -69,7 +69,7 @@ // 如果未指定需要展示的部门类型,获取全部部门 if (!props.deptType) { if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取 - getDeptTreeList().then((res) => { + getDeptTreeList({ pid: '0' }).then((res) => { const list = res.data dictStore.setAllDeptList(list) refreshList(list) diff --git a/src/views/flling/treat/index.vue b/src/views/flling/treat/index.vue index 493097d..548b3d1 100644 --- a/src/views/flling/treat/index.vue +++ b/src/views/flling/treat/index.vue @@ -303,10 +303,10 @@ diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue index ef7bd91..247bb11 100644 --- a/src/components/DeptSelect/index.vue +++ b/src/components/DeptSelect/index.vue @@ -69,7 +69,7 @@ // 如果未指定需要展示的部门类型,获取全部部门 if (!props.deptType) { if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取 - getDeptTreeList().then((res) => { + getDeptTreeList({ pid: '0' }).then((res) => { const list = res.data dictStore.setAllDeptList(list) refreshList(list) diff --git a/src/views/flling/treat/index.vue b/src/views/flling/treat/index.vue index 493097d..548b3d1 100644 --- a/src/views/flling/treat/index.vue +++ b/src/views/flling/treat/index.vue @@ -303,10 +303,10 @@ diff --git a/src/views/rule/programme/components/edit.vue b/src/views/rule/programme/components/edit.vue index 11184e5..dcdbf54 100644 --- a/src/views/rule/programme/components/edit.vue +++ b/src/views/rule/programme/components/edit.vue @@ -126,7 +126,7 @@ // return // } ProxyList({ planId: ruleForm.value.id, limit: 9999, offset: 1 }).then((res) => { - proxyList.value = res.data.rows + proxyList.value = res.data.rows.map((item: any) => ({ ...item, id: item.quotaId })) }) } onMounted(() => { diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue index ef7bd91..247bb11 100644 --- a/src/components/DeptSelect/index.vue +++ b/src/components/DeptSelect/index.vue @@ -69,7 +69,7 @@ // 如果未指定需要展示的部门类型,获取全部部门 if (!props.deptType) { if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取 - getDeptTreeList().then((res) => { + getDeptTreeList({ pid: '0' }).then((res) => { const list = res.data dictStore.setAllDeptList(list) refreshList(list) diff --git a/src/views/flling/treat/index.vue b/src/views/flling/treat/index.vue index 493097d..548b3d1 100644 --- a/src/views/flling/treat/index.vue +++ b/src/views/flling/treat/index.vue @@ -303,10 +303,10 @@ diff --git a/src/views/rule/programme/components/edit.vue b/src/views/rule/programme/components/edit.vue index 11184e5..dcdbf54 100644 --- a/src/views/rule/programme/components/edit.vue +++ b/src/views/rule/programme/components/edit.vue @@ -126,7 +126,7 @@ // return // } ProxyList({ planId: ruleForm.value.id, limit: 9999, offset: 1 }).then((res) => { - proxyList.value = res.data.rows + proxyList.value = res.data.rows.map((item: any) => ({ ...item, id: item.quotaId })) }) } onMounted(() => { diff --git a/src/views/rule/programme/index.vue b/src/views/rule/programme/index.vue index 618375b..c65109a 100644 --- a/src/views/rule/programme/index.vue +++ b/src/views/rule/programme/index.vue @@ -265,9 +265,9 @@ - + diff --git a/src/components/DeptSelect/index.vue b/src/components/DeptSelect/index.vue index ef7bd91..247bb11 100644 --- a/src/components/DeptSelect/index.vue +++ b/src/components/DeptSelect/index.vue @@ -69,7 +69,7 @@ // 如果未指定需要展示的部门类型,获取全部部门 if (!props.deptType) { if (dictStore.allDeptList.length === 0) { // 如果store中未存储,从服务器上获取 - getDeptTreeList().then((res) => { + getDeptTreeList({ pid: '0' }).then((res) => { const list = res.data dictStore.setAllDeptList(list) refreshList(list) diff --git a/src/views/flling/treat/index.vue b/src/views/flling/treat/index.vue index 493097d..548b3d1 100644 --- a/src/views/flling/treat/index.vue +++ b/src/views/flling/treat/index.vue @@ -303,10 +303,10 @@ diff --git a/src/views/rule/programme/components/edit.vue b/src/views/rule/programme/components/edit.vue index 11184e5..dcdbf54 100644 --- a/src/views/rule/programme/components/edit.vue +++ b/src/views/rule/programme/components/edit.vue @@ -126,7 +126,7 @@ // return // } ProxyList({ planId: ruleForm.value.id, limit: 9999, offset: 1 }).then((res) => { - proxyList.value = res.data.rows + proxyList.value = res.data.rows.map((item: any) => ({ ...item, id: item.quotaId })) }) } onMounted(() => { diff --git a/src/views/rule/programme/index.vue b/src/views/rule/programme/index.vue index 618375b..c65109a 100644 --- a/src/views/rule/programme/index.vue +++ b/src/views/rule/programme/index.vue @@ -265,9 +265,9 @@ - + diff --git a/src/views/rule/proxy/components/edit.vue b/src/views/rule/proxy/components/edit.vue index 8358a8a..6c83c6e 100644 --- a/src/views/rule/proxy/components/edit.vue +++ b/src/views/rule/proxy/components/edit.vue @@ -38,7 +38,6 @@ id: '', ruleDesc: '', fileName: '', - pid: '0', }) // 表单验证规则 const rules = ref({