瀏覽代碼

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

cyy 5 天之前
父節點
當前提交
40c43b9e43
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/component/personnelFile/index.vue

+ 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 = {