浏览代码

feat: #问题反馈重新对接

loki 3 年之前
父节点
当前提交
13c6e56056
共有 2 个文件被更改,包括 9 次插入9 次删除
  1. 1 1
      src/api/base/problemFeedback.js
  2. 8 8
      src/views/baseManagement/problemFeedbackManagement/index.vue

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

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

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

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