Просмотр исходного кода

feat: #问题反馈重新对接

loki 3 лет назад
Родитель
Сommit
13c6e56056

+ 1 - 1
src/api/base/problemFeedback.js

@@ -1,4 +1,4 @@
 import api from '@/utils/request';
 
-export const getList = params =>
+export const getPage = params =>
 	api.post(`/yxl-back-end/framework/feedback/admin/page`, params);

+ 8 - 8
src/views/baseManagement/problemFeedbackManagement/index.vue

@@ -15,7 +15,7 @@
 <script>
 import toolbar from './toolbar';
 import mxFilterList from '@/mixins/filterList';
-import { getList } from '@/api/base/problemFeedback';
+import { getPage } from '@/api/base/problemFeedback';
 
 export default {
   name: 'ProblemFeedbackManagement',
@@ -24,7 +24,7 @@ export default {
 
   mixins: [
     mxFilterList({
-      fetchList: getList // 在下方data再声明一个 fetchList: iGetList 同等效果
+      fetchList: getPage // 在下方data再声明一个 fetchList: iGetList 同等效果
     })
   ],
 
@@ -34,22 +34,22 @@ export default {
         {
           key: 'nickname',
           name: '用户昵称',
-          width: '160'
+          width: this.$col.s
         },
         {
           key: 'realName',
           name: '真实姓名',
-          width: '160'
+          width: this.$col.s
         },
         {
           key: 'phonenumber',
           name: '手机号',
-          width: '180'
+          width: this.$col.m
         },
         {
           key: 'content',
           name: '反馈内容',
-          minWidth: '120',
+          minWidth: this.$col.b,
           render: (h, { row }) => {
             let str = row.content;
             return h('BaseTooltip', {
@@ -62,7 +62,7 @@ export default {
         {
           key: 'photo',
           name: '反馈图片',
-          width: '100',
+          width: this.$col.m,
           render: (h, { row }) => {
             const items = row.imgUrl.split(',');
             const list = items.map(x => ({
@@ -92,7 +92,7 @@ export default {
         {
           key: 'createAt',
           name: '反馈时间',
-          width: '140'
+          width: this.$col.b
         }
       ]
     };