浏览代码

数据采集百分比

1 年之前
父节点
当前提交
1cd3510925
共有 3 个文件被更改,包括 18 次插入8 次删除
  1. 2 2
      src/views/AttendMeeting/index.vue
  2. 13 3
      src/views/GATHER/index.vue
  3. 3 3
      src/views/JOINTCONFERENCE/index.vue

+ 2 - 2
src/views/AttendMeeting/index.vue

@@ -112,7 +112,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="会议状态" align="center" prop="status">
+      <el-table-column label="会议状态" width="100" align="center" prop="status">
         <template slot-scope="scope">
           <el-tag v-if="scope.row.status == 1">未指派</el-tag>
           <el-tag v-else-if="scope.row.status == 2" type="success"
@@ -126,7 +126,7 @@
         width="140"
         align="center"
         show-overflow-tooltip
-        prop="updateBy"
+        prop="createBy_dictText"
       >
       </el-table-column>
       <el-table-column

+ 13 - 3
src/views/GATHER/index.vue

@@ -483,7 +483,7 @@
       center
       :title="title"
       :visible.sync="open"
-      width="80%"
+      width="90%"
       append-to-body
       :close-on-click-modal="false"
     >
@@ -633,7 +633,7 @@
       @close="handleClose"
       :title="title"
       :visible.sync="openDetail"
-      width="80%"
+      width="90%"
       append-to-body
       :close-on-click-modal="false"
     >
@@ -1229,6 +1229,11 @@ export default {
       getInfoByColl(id).then((response) => {
         //深拷贝,而不是拷贝地址
         this.form = JSON.parse(JSON.stringify(response.data));
+        this.form.feeLists.forEach((item) => {
+          if(item.funit == "%"){
+            item.collCalue = item.collCalue.toFixed(2);
+          }
+        })
         this.open = true;
         this.title = "数据录入";
         //深拷贝,而不是拷贝地址
@@ -1280,7 +1285,12 @@ export default {
       getGATHER(id).then((response) => {
         //深拷贝,而不是拷贝地址
         this.form = JSON.parse(JSON.stringify(response.data));
-        console.log(this.form);
+        this.form.feeLists.forEach((item) => {
+          if(item.funit == "%"){
+            item.collCalue = item.collCalue.toFixed(2);
+          }
+        })
+        
         this.openDetail = true;
         this.title = "数据查看";
         //深拷贝,而不是拷贝地址

+ 3 - 3
src/views/JOINTCONFERENCE/index.vue

@@ -99,7 +99,7 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="会议状态" align="center" prop="status">
+      <el-table-column label="会议状态" width="100" align="center" prop="status">
         <template slot-scope="scope">
           <el-tag v-if="scope.row.status == 1">未指派</el-tag>
           <el-tag v-else-if="scope.row.status == 2" type="success"
@@ -109,10 +109,10 @@
         </template>
       </el-table-column>
 
-      <el-table-column label="提交人" width="500" align="center" show-overflow-tooltip prop="updateBy">
+      <el-table-column label="提交人" width="140" align="center" show-overflow-tooltip prop="createBy_dictText">
       
       </el-table-column>
-      <el-table-column label="提交时间" width="500" align="center" show-overflow-tooltip prop="updateTime">
+      <el-table-column label="提交时间" width="160" align="center" show-overflow-tooltip prop="updateTime">
     
       </el-table-column>