guhongwei 4 năm trước cách đây
mục cha
commit
a775a18944
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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({