guhongwei 4 rokov pred
rodič
commit
a775a18944
1 zmenil súbory, kde vykonal 6 pridanie a 0 odobranie
  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({