guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
a775a18944
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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({