Jelajahi Sumber

功能性问题修改

SunZehao 7 bulan lalu
induk
melakukan
64435cc289
1 mengubah file dengan 15 tambahan dan 1 penghapusan
  1. 15 1
      src/components/taskCenter/taskUnitRatingFrom.vue

+ 15 - 1
src/components/taskCenter/taskUnitRatingFrom.vue

@@ -60,7 +60,7 @@
                             <img :src="addIcon" alt="">
                             <span>新增</span>
                         </div>
-                        <div class="tableBtn save" @click="handleEdit" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
+                        <div class="tableBtn save" @click="saveInfoFn" v-if="tabName === 'first' || receiptMsg.stage !== '流程已结束'">
                             <img :src="saveIcon" alt="">
                             <span>保存</span>
                         </div>
@@ -304,6 +304,7 @@
         apiGetExportMsg,
         apiGetorganizationratinglist,
         apiorganizationratinggrade,
+        apiorganizationratingsaveInfo,
         apiGetorganizationratingsave,
         apiGetOrganizationListAll,
         apiGetorganizationsectionList,
@@ -474,6 +475,19 @@
                     }
                 })
             },
+            saveInfoFn() {
+                let that = this
+                let params = that.evaluationRatingDiaData
+                apiorganizationratingsaveInfo(params).then(res => {
+                    if (res && res.code === 200) {
+                        that.$message({
+                            message: '保存' + res.message,
+                            type: 'success'
+                        });
+                        that.getevaluRatingDiaList(that.rowObj, that.rowkeyId)
+                    }
+                })
+            },
             // 查询列表页面
             getevaluRatingDiaList(row, id) {
                 let that = this