guhongwei 4 年之前
父節點
當前提交
a775a18944
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/views/notice/index.vue

+ 6 - 0
src/views/notice/index.vue

@@ -471,6 +471,9 @@ export default {
     // 技术提交
     async technologyBtn() {
       let data = this.technologyForm;
+      data.noticeid = this.noticeInfo.id;
+      data.type = '0';
+      data.status = '0';
       let res = await this.productCreate(data);
       if (this.$checkRes(res)) {
         this.$message({
@@ -485,6 +488,9 @@ export default {
     // 成果提交
     async achieveBtn() {
       let data = this.achieveForm;
+      data.noticeid = this.noticeInfo.id;
+      data.type = '0';
+      data.status = '0';
       let res = await this.productCreate(data);
       if (this.$checkRes(res)) {
         this.$message({