qianlishi 3 лет назад
Родитель
Сommit
d718d60652

+ 0 - 36
report-ui/src/api/helpCenter/helpCenter.js

@@ -1,36 +0,0 @@
-import request from '@/api/axios'
-
-// 查询字典
-export function queryForCodeSelect(params={}) {
-  return request({
-    url: '/auth-service/dict/queryForCodeSelect',
-    method: 'post',
-    data: params
-  })
-}
-
-// 查询标题
-export function querytitleByCategory(params) {
-  return request({
-    url: '/auth-service/help/querytitleByCategory',
-    method: 'post',
-    data: params
-  })
-}
-
-// 关键词查询
-export function searchKeyWord(params = {}) {
-  return request({
-    url: '/auth-service/help/searchKeyWord',
-    method: 'post',
-    data: params
-  })
-}
-
-export function queryById(data) {
-  return request({
-    url: '/auth-service/help/queryById',
-    method: 'post',
-    data
-  })
-}

+ 13 - 13
report-ui/src/filter/index.js

@@ -4,7 +4,7 @@
  * @Author: qianlishi
  * @Date: 2021-12-11 14:48:27
  * @LastEditors: qianlishi
- * @LastEditTime: 2021-12-13 10:15:29
+ * @LastEditTime: 2021-12-13 13:40:00
  */
 
 import { getStorageItem } from '@/utils/storage';
@@ -46,18 +46,18 @@ export function getDataByCode(keyCode) {
 
 //保留两位小数
 export function fixed(value){
-let intVal = null;
-if(typeof value == 'string' && /^[0-9.]+$/.test(value)){
-  intVal = parseInt(value);
-}
-if(typeof value == 'number'){
-  intVal = value;
-}
-if(intVal == null){
-  return value;
-}else{
-  return (Math.round(value*100)/100).toFixed(2);
-}
+  let intVal = null;
+  if(typeof value == 'string' && /^[0-9.]+$/.test(value)){
+    intVal = parseInt(value);
+  }
+  if(typeof value == 'number'){
+    intVal = value;
+  }
+  if(intVal == null){
+    return value;
+  }else{
+    return (Math.round(value*100)/100).toFixed(2);
+  }
 }
 
 // 时间戳转日期

+ 2 - 2
report-ui/src/views/dict/index.vue

@@ -4,7 +4,7 @@
  * @Author: qianlishi
  * @Date: 2021-12-11 14:48:27
  * @LastEditors: qianlishi
- * @LastEditTime: 2021-12-13 13:18:11
+ * @LastEditTime: 2021-12-13 13:46:33
 -->
 <template>
   <anji-crud ref="listPage" :option="crudOption">
@@ -99,7 +99,7 @@ export default {
           },
           // 自定义按钮
           customButton: {
-            operationWidth: 240 // row自定义按钮表格宽度
+            operationWidth: 160 // row自定义按钮表格宽度
           }
         },
         // 表格列

+ 2 - 2
report-ui/src/views/fileManagement/index.vue

@@ -4,7 +4,7 @@
  * @Author: qianlishi
  * @Date: 2021-12-11 14:48:27
  * @LastEditors: qianlishi
- * @LastEditTime: 2021-12-13 13:14:13
+ * @LastEditTime: 2021-12-13 13:47:02
 -->
 <template>
   <anji-crud ref="listPage" :option="crudOption">
@@ -89,7 +89,7 @@ export default {
           },
           // 自定义按钮
           customButton: {
-            operationWidth: 150 // row自定义按钮表格宽度
+            operationWidth: 160 // row自定义按钮表格宽度
           }
         },
         // 表格列