yrik 4 years ago
parent
commit
447e7917ad
2 changed files with 20 additions and 6 deletions
  1. 15 0
      ruoyi-ui/src/api/system/config.js
  2. 5 6
      ruoyi-ui/src/views/index.vue

+ 15 - 0
ruoyi-ui/src/api/system/config.js

@@ -16,6 +16,10 @@ export function listIndextwo(query) {
     // params: query
   })
 }
+
+
+
+
 export function listIndextherr(query) {
   return request({
     url: '/system/dict/data/type/' + query,
@@ -63,6 +67,17 @@ export function listIndex(data) {
     data: data
   })
 }
+
+export function listIndexber(data) {
+  return request({
+    url: '/boman-web-core/p/cs/queryList',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
 export function listIndexfou(data) {
   return request({
     url: '/boman-web-core/p/cs/queryList',

+ 5 - 6
ruoyi-ui/src/views/index.vue

@@ -254,7 +254,7 @@
 </template>
 
 <script>
-import { listIndex, getUserProfile, listIndextwo, listIndextherr, listIndexfou, listIndextanl, getConfig, delConfig, addConfig, addConfigindex, updateConfig, clearCache, delIndexnabd } from "@/api/system/config";
+import { listIndex, getUserProfile, listIndextwo, listIndextherr, listIndexfou, listIndextanl, getConfig, delConfig, addConfig, addConfigindex, updateConfig, clearCache, delIndexnabd,listIndexber } from "@/api/system/config";
 import Editor from '@/components/Editor';
 export default {
   name: "index",
@@ -522,8 +522,8 @@ export default {
     },
     //数据  第三部分列表
     getLisprofile() {
-      this.loading = true;
-      listIndex(this.queryParamstabprofile).then(response => {
+      // this.loading = true;
+      listIndexber(this.queryParamstabprofile).then(response => {
           if(response.data !== undefined){
             this.getLisprofileone = response.data.rows;
             if(response.data.rows !== null){
@@ -533,11 +533,10 @@ export default {
               this.tieku = '暂无数据'
               this.comg = '暂无数据'
             }
-
-            console.log(this.getLisprofileone[0].info_title,98)
+            // console.log(this.getLisprofileone[0].info_title,98)
             this.totalprofile = response.data.total;
           }
-          this.loading = false;
+         this.loading = false;
         }
       );
     },