diff --git a/src/views/wpm_gx/check_drawer.vue b/src/views/wpm_gx/check_drawer.vue
index adb83573..e29a9233 100644
--- a/src/views/wpm_gx/check_drawer.vue
+++ b/src/views/wpm_gx/check_drawer.vue
@@ -52,7 +52,7 @@
-
+
- 放行审批
- 提交
-
+ 提交
+
+ 放行审批
@@ -352,6 +350,17 @@
:退火后直径23.5±0.2;黑圈内径:5.9±0.1;外径7.6-7.77
+
+
+
+
+
{
- that.isSaveing = false;
- that.ticketDialog = false;
- that.$message.success("提交成功");
- }).catch((e) => {
- that.isSaveing = false;
+ let obj = {};
+ obj.oinfo_json = that.oinfo_json;
+ obj.test_file = that.test_file;
+ console.log('test_file',that.test_file)
+ console.log('oinfo_json',that.oinfo_json)
+ that.$API.wpm.mlog.change.req(that.mlogItem.id, obj)
+ .then((res) => {
+ let ticket = {};
+ that.isSaveing = true;
+ ticket.title = '退火放行审批单';
+ ticket.workflow = that.initForm.workflow;
+ ticket.ticket_data = {t_id: that.mlogItem.id};
+ ticket.transition = id;
+ that.$API.wf.ticket.create.req(ticket).then((res) => {
+ that.isSaveing = false;
+ that.ticketDialog = false;
+ that.$message.success("提交成功");
+ }).catch((e) => {
+ that.isSaveing = false;
+ });
});
},
handleSaveSuccess() {
@@ -585,6 +604,10 @@ export default {
handleCheckSuccess() {
this.$refs.tableOut.refresh();
},
+ fileUPSuccess(res) {
+ console.log('res',res);
+ this.test_file = res.id;
+ },
handleEditSuccess() {},
//设置过滤项
setFilters(filters) {