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

人员档案解决退回生成快照问题

cyy 5 өдөр өмнө
parent
commit
40c43b9e43

+ 4 - 1
src/views/component/personnelFile/index.vue

@@ -496,7 +496,10 @@ export default {
     },
     saveData(val, r) {
       setInfo(val).then(async (res) => {
-        if (this.$attrs.params.attrs.flow * 1 === 3) {
+        if (
+          this.$attrs.params.attrs.flow * 1 === 3 &&
+          this.btnType === 'agree'
+        ) {
           let photo = await this.createSnapshoot(this.userId)
           // 字段需要继续添加
           const addParams = {