Эх сурвалжийг харах

修改服务下发承接对象显示问题

ymz 4 өдөр өмнө
parent
commit
d94f40fb7e

BIN
dist.zip


+ 0 - 3
src/const/crud/points.js

@@ -38,9 +38,6 @@ export const pointsData = {
         label: 'gsmc',
         value: 'id'
       },
-      formatter: function (row) {
-        return Number(row.acceptSug);
-      }
     },
 
     {

+ 3 - 0
src/views/admin/taskManagement/points.vue

@@ -1109,6 +1109,9 @@ export default {
       )
         .then((response) => {
           this.tableData = [];
+          response.data.data.records.forEach(item => {
+             item.acceptSug = item.acceptSug ? Number(item.acceptSug) : ''
+          })
           this.tableData = response.data.data.records;
           this.page.total = response.data.data.total;
           this.tableLoading = false;