|
@@ -654,28 +654,30 @@
|
|
|
},
|
|
|
//高亮行
|
|
|
familyActive(name, code) {
|
|
|
- this.rightLoading = true
|
|
|
this.active = name
|
|
|
this.code = code
|
|
|
- let param = {
|
|
|
- data: {
|
|
|
- Orders: "sort asc,InfoPointCode asc",
|
|
|
- PageNumber: 1,
|
|
|
- PageSize: 500
|
|
|
- },
|
|
|
- type: code
|
|
|
- };
|
|
|
- this.tabsFalg = false
|
|
|
- getDataDictionary(param, result => {
|
|
|
- this.rightLoading = false
|
|
|
- if (result.Result == "success") {
|
|
|
- this.tabsFalg = true
|
|
|
- this.labelKey = this.arrayCnt(result.Content)
|
|
|
- } else {
|
|
|
- this.dialogVisible = true;
|
|
|
- this.ajaxMsg = "请求出错";
|
|
|
- }
|
|
|
- });
|
|
|
+ if(code) {
|
|
|
+ let param = {
|
|
|
+ data: {
|
|
|
+ Orders: "sort asc,InfoPointCode asc",
|
|
|
+ PageNumber: 1,
|
|
|
+ PageSize: 500
|
|
|
+ },
|
|
|
+ type: code
|
|
|
+ };
|
|
|
+ this.rightLoading = true
|
|
|
+ this.tabsFalg = false
|
|
|
+ getDataDictionary(param, result => {
|
|
|
+ this.rightLoading = false
|
|
|
+ if (result.Result == "success") {
|
|
|
+ this.tabsFalg = true
|
|
|
+ this.labelKey = this.arrayCnt(result.Content)
|
|
|
+ } else {
|
|
|
+ this.dialogVisible = true;
|
|
|
+ this.ajaxMsg = "请求出错";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
//处理头部函数
|
|
|
arrayCnt(arr) {
|