BUG 29505

This commit is contained in:
aixianling
2022-05-05 16:25:17 +08:00
parent 6d3984654c
commit 7d99c2fb5f
8 changed files with 16 additions and 16 deletions

View File

@@ -123,7 +123,7 @@ export default {
methods: { methods: {
beforeSelectTree() { beforeSelectTree() {
this.treeObj.checkedKeys = []; this.treeObj.checkedKeys = [];
this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = this.format(res.data) this.treeObj.treeList = this.format(res.data)
if (this.form.girdInfoList.length) { if (this.form.girdInfoList.length) {

View File

@@ -315,7 +315,7 @@ export default {
}, },
getGridList() { getGridList() {
this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = this.format(res.data) this.treeObj.treeList = this.format(res.data)
if (this.formData.girdId) { if (this.formData.girdId) {

View File

@@ -325,7 +325,7 @@ export default {
}, },
getGridList() { getGridList() {
this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = this.format(res.data) this.treeObj.treeList = this.format(res.data)
if (this.formData.girdId) { if (this.formData.girdId) {

View File

@@ -324,7 +324,7 @@ export default {
}, },
getGridList() { getGridList() {
this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = this.format(res.data) this.treeObj.treeList = this.format(res.data)
if (this.formData.girdId) { if (this.formData.girdId) {

View File

@@ -316,7 +316,7 @@ export default {
}, },
getGridList() { getGridList() {
this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = this.format(res.data) this.treeObj.treeList = this.format(res.data)
if (this.formData.girdId) { if (this.formData.girdId) {

View File

@@ -335,7 +335,7 @@ export default {
}, },
getGridList() { getGridList() {
this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = this.format(res.data) this.treeObj.treeList = this.format(res.data)
if (this.formData.girdId) { if (this.formData.girdId) {

View File

@@ -100,7 +100,7 @@
return data.girdName.indexOf(value) !== -1; return data.girdName.indexOf(value) !== -1;
}, },
getTreeList() { getTreeList() {
return this.instance.post(`/app/appgirdinfo/listAll`).then((res) => { return this.instance.post(`/app/appgirdinfo/listAllByTop`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = res.data; this.treeObj.treeList = res.data;

View File

@@ -401,7 +401,7 @@ export default {
}, },
beforeSelectTree() { beforeSelectTree() {
this.treeObj.checkedKeys = []; this.treeObj.checkedKeys = [];
this.instance.post(`/app/appgirdinfo/listAll`, null, null).then((res) => { this.instance.post(`/app/appgirdinfo/listAllByTop`, null, null).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.treeObj.treeList = res.data; this.treeObj.treeList = res.data;
this.forms.girdInfoList.map((e) => { this.forms.girdInfoList.map((e) => {