Explorar o código

临时保存时将id保存下来

zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
65fffd8e36
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/components/diagBase/AddDiagBase.vue

+ 3 - 0
src/components/diagBase/AddDiagBase.vue

@@ -519,7 +519,10 @@
             api.tempSaveOrUpate(param).then((res)=>{
                 loading.close()
                 if(res.data.code === '0') {
+                   this.id = res.data.data
                    this.warning('临时保存成功','success')
+                }else {
+                    this.warning(res.msg)
                 }
             })
         },