Browse Source

Merge branch 'kd-dev' of https://gitee.com/zhoulisky/kd-web into kd-dev

ljb 10 months ago
parent
commit
5cc81477b6

+ 4 - 4
src/api/achievement/softWorks.js

@@ -2,7 +2,7 @@ import request from '@/router/axios';
 
 
 export const getList = (current, size, params) => {
 export const getList = (current, size, params) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/page',
+    url: '/api/kd-scientific/kycg/rjzzq/list',
     method: 'get',
     method: 'get',
     params: {
     params: {
       ...params,
       ...params,
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
 
 
 export const add = (row) => {
 export const add = (row) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/save',
+    url: '/api/kd-scientific/kycg/rjzzq/save',
     method: 'post',
     method: 'post',
     data: row
     data: row
   })
   })
@@ -23,7 +23,7 @@ export const add = (row) => {
 
 
 export const update = (row) => {
 export const update = (row) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/update',
+    url: '/api/kd-scientific/kycg/rjzzq/update',
     method: 'post',
     method: 'post',
     data: row
     data: row
   })
   })
@@ -32,7 +32,7 @@ export const update = (row) => {
 
 
 export const remove = (ids) => {
 export const remove = (ids) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/remove',
+    url: '/api/kd-scientific/kycg/rjzzq/remove',
     method: 'post',
     method: 'post',
     params: {
     params: {
       ids,
       ids,

+ 4 - 4
src/api/achievement/technicalStandard.js

@@ -2,7 +2,7 @@ import request from '@/router/axios';
 
 
 export const getList = (current, size, params) => {
 export const getList = (current, size, params) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/page',
+    url: '/api/kd-scientific/kycg/jsbz/list',
     method: 'get',
     method: 'get',
     params: {
     params: {
       ...params,
       ...params,
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
 
 
 export const add = (row) => {
 export const add = (row) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/save',
+    url: '/api/kd-scientific/kycg/jsbz/save',
     method: 'post',
     method: 'post',
     data: row
     data: row
   })
   })
@@ -23,7 +23,7 @@ export const add = (row) => {
 
 
 export const update = (row) => {
 export const update = (row) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/update',
+    url: '/api/kd-scientific/kycg/jsbz/update',
     method: 'post',
     method: 'post',
     data: row
     data: row
   })
   })
@@ -32,7 +32,7 @@ export const update = (row) => {
 
 
 export const remove = (ids) => {
 export const remove = (ids) => {
   return request({
   return request({
-    url: '/api/kd-scientific/technician/remove',
+    url: '/api/kd-scientific/kycg/jsbz/remove',
     method: 'post',
     method: 'post',
     params: {
     params: {
       ids,
       ids,

+ 51 - 27
src/option/achievement/patentAchievement.js

@@ -22,7 +22,7 @@ export default {
       label: "专利号",
       label: "专利号",
       prop: "zlh",
       prop: "zlh",
       span: 12,
       span: 12,
-      width: 130,
+      width: 100,
       align: "center",
       align: "center",
       search: false,
       search: false,
       showOverflowTooltip: true,
       showOverflowTooltip: true,
@@ -39,7 +39,7 @@ export default {
       prop: "zlmc",
       prop: "zlmc",
       span: 12,
       span: 12,
       search: true,
       search: true,
-      width: 100,
+      width: 130,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
@@ -57,7 +57,7 @@ export default {
       span: 12,
       span: 12,
       search: true,
       search: true,
       dicUrl: "/api/kd-system/dict-biz/dictionary?code=patent_type",
       dicUrl: "/api/kd-system/dict-biz/dictionary?code=patent_type",
-      width: 155,
+      width: 100,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       props:{
       props:{
@@ -77,7 +77,7 @@ export default {
       prop: "sfgfzl",
       prop: "sfgfzl",
       type: "select",
       type: "select",
       span: 12,
       span: 12,
-      width: 140,
+      width: 100,
       search: true,
       search: true,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
@@ -99,7 +99,7 @@ export default {
       prop: "gb",
       prop: "gb",
       type: "select",
       type: "select",
       span: 12,
       span: 12,
-      width: 140,
+      width: 130,
       search: true,
       search: true,
       dicUrl: "/api/kd-system/dict-biz/dictionary?code=countries",
       dicUrl: "/api/kd-system/dict-biz/dictionary?code=countries",
       props:{
       props:{
@@ -140,8 +140,8 @@ export default {
       span: 12,
       span: 12,
       width: 100,
       width: 100,
       search: false,
       search: false,
-      format: "yyyy-MM-dd HH:mm:ss",
-      valueFormat: "yyyy-MM-dd HH:mm:ss",
+      format: "yyyy-MM-dd",
+      valueFormat: "yyyy-MM-dd",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       align: "center",
       align: "center",
       rules: [
       rules: [
@@ -157,11 +157,11 @@ export default {
       prop: "shouquanRq",
       prop: "shouquanRq",
       type: "date",
       type: "date",
       span: 12,
       span: 12,
-      width: 80,
+      width: 100,
       align: "center",
       align: "center",
       search: false,
       search: false,
-      format: "yyyy-MM-dd HH:mm:ss",
-      valueFormat: "yyyy-MM-dd HH:mm:ss",
+      format: "yyyy-MM-dd",
+      valueFormat: "yyyy-MM-dd",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
@@ -176,7 +176,7 @@ export default {
       prop: "sqdw",
       prop: "sqdw",
       type: "input",
       type: "input",
       span: 12,
       span: 12,
-      width: 70,
+      width: 120,
       align: "center",
       align: "center",
       search: true,
       search: true,
       showOverflowTooltip: true,
       showOverflowTooltip: true,
@@ -241,7 +241,7 @@ export default {
     },
     },
     {
     {
       label: "法律状态",
       label: "法律状态",
-      prop: "personnelType",
+      prop: "flzt",
       type: "select",
       type: "select",
       span: 12,
       span: 12,
       width: 80,
       width: 80,
@@ -261,24 +261,38 @@ export default {
         },
         },
       ],
       ],
     },
     },
+     {
+      label: "关联研发项目",
+      prop: "glyfxm",
+      type: "select",
+      span: 12,
+      width: 80,
+      align: "center",
+      search: false,
+      showOverflowTooltip: true,
+      hide: true,
+      viewDisplay: false
+    },
     {
     {
       label: "关联研发项目情况",
       label: "关联研发项目情况",
-      prop: "personnelType",
-      type: "select",
+      prop: "xmId",
+      slot: true,
       span: 12,
       span: 12,
       width: 80,
       width: 80,
       align: "center",
       align: "center",
+      display: false,
       search: false,
       search: false,
-      dicUrl: "/api/kd-system/dict-biz/dictionary?code=renyuanleixing",
-      props: {
-        label: "dictValue",
-        value: "dictKey",
-      },
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       children: [
       children: [
         {
         {
           label: "研发项目名称",
           label: "研发项目名称",
+          prop: "xmmc",
           search: true,
           search: true,
+          addDisplay: false,
+          editDisplay: false,
+          viewDisplay: true,
+          align: "center",
+          width: 120,
           rules: [
           rules: [
             {
             {
               required: false,
               required: false,
@@ -289,7 +303,13 @@ export default {
         },
         },
         {
         {
           label: "研发项目编号",
           label: "研发项目编号",
+          prop: "xmbh",
           search: true,
           search: true,
+          addDisplay: false,
+          editDisplay: false,
+          viewDisplay: true,
+          align: "center",
+          width: 150,
           rules: [
           rules: [
             {
             {
               required: false,
               required: false,
@@ -302,40 +322,44 @@ export default {
     },
     },
     {
     {
       label: "附件上传",
       label: "附件上传",
-      prop: "personnelType",
+      prop: "attachment",
       type: "upload",
       type: "upload",
       span: 12,
       span: 12,
-      width: 80,
+      width: 120,
       align: "center",
       align: "center",
       dataType: 'string',
       dataType: 'string',
       search: false,
       search: false,
       loadText: '附件上传中,请稍等',
       loadText: '附件上传中,请稍等',
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       propsHttp: {
       propsHttp: {
-        res: 'data',
         url: 'link',
         url: 'link',
+        name: 'originalName',
+        res: 'data',
       },
       },
       action: "/api/kd-resource/oss/endpoint/put-file-attach"
       action: "/api/kd-resource/oss/endpoint/put-file-attach"
     },
     },
     {
     {
       label: "收件人邮箱",
       label: "收件人邮箱",
-      prop: "personnelType",
+      prop: "sjryx",
       type: "input",
       type: "input",
       span: 12,
       span: 12,
-      width: 80,
+      width: 150,
       align: "center",
       align: "center",
       search: false,
       search: false,
       showOverflowTooltip: true,
       showOverflowTooltip: true,
     },
     },
     {
     {
       label: "专利提醒功能",
       label: "专利提醒功能",
-      prop: "personnelType",
+      prop: "zltxgn",
       type: "select",
       type: "select",
       span: 12,
       span: 12,
-      width: 80,
+      width: 100,
       align: "center",
       align: "center",
       search: false,
       search: false,
-      dicUrl: "/api/kd-system/dict-biz/dictionary?code=renyuanleixing",
+      addDisplay: false,
+      editDisplay: false,
+      dicUrl: "/api/kd-system/dict-biz/dictionary?code=zltx",
+      disabled: true,
       props: {
       props: {
         label: "dictValue",
         label: "dictValue",
         value: "dictKey",
         value: "dictKey",

+ 62 - 51
src/option/achievement/softWorks.js

@@ -13,96 +13,96 @@ export default {
   delBtn: true,
   delBtn: true,
   searchLabelWidth: 140,
   searchLabelWidth: 140,
   labelWidth: 140,
   labelWidth: 140,
-  menuWidth: 160,
+  menuWidth: 200,
   dialogClickModal: false,
   dialogClickModal: false,
   dialogWidth: 760,
   dialogWidth: 760,
   dialogType: "drawer",
   dialogType: "drawer",
   column: [
   column: [
     {
     {
       label: "软件名称",
       label: "软件名称",
-      prop: "number",
+      prop: "rjmc",
       span: 12,
       span: 12,
-      width: 130,
+      width: 155,
       align: "center",
       align: "center",
       search: true,
       search: true,
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请输入专利号",
+          required: false,
+          message: "请输入软件名称",
           trigger: "blur",
           trigger: "blur",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "软件简称",
       label: "软件简称",
-      prop: "name",
+      prop: "rjjc",
       span: 12,
       span: 12,
       search: true,
       search: true,
-      width: 100,
+      width: 120,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请输入专利名称",
+          required: false,
+          message: "请输入软件简称",
           trigger: "blur",
           trigger: "blur",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "版本号",
       label: "版本号",
-      prop: "identityCard",
+      prop: "bbh",
       span: 12,
       span: 12,
       search: true,
       search: true,
-      width: 155,
+      width: 80,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请输入专利类型",
+          required: false,
+          message: "请输入版本号",
           trigger: "blur",
           trigger: "blur",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "登记号",
       label: "登记号",
-      prop: "secondaryUnit",
+      prop: "djh",
       span: 12,
       span: 12,
-      width: 140,
+      width: 100,
       search: true,
       search: true,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请选择是否国防专利",
+          required: false,
+          message: "请输入登记号",
           trigger: "blur",
           trigger: "blur",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "开发完成日期",
       label: "开发完成日期",
-      prop: "department",
-      type: "select",
+      prop: "kfwcrq",
+      type: "date",
       span: 12,
       span: 12,
-      width: 140,
+      width: 100,
       search: true,
       search: true,
       align: "center",
       align: "center",
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请选择国别",
-          trigger: "blur",
+          required: false,
+          message: "请选择开发完成日期",
+          trigger: "change",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "首次发布日期",
       label: "首次发布日期",
-      prop: "post",
-      type: "input",
+      prop: "scfbrq",
+      type: "date",
       span: 12,
       span: 12,
       width: 100,
       width: 100,
       align: "center",
       align: "center",
@@ -110,16 +110,16 @@ export default {
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请输入申请号/专利号",
-          trigger: "blur",
+          required: false,
+          message: "请选择首次发布日期",
+          trigger: "change",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "登记批准日期",
       label: "登记批准日期",
-      prop: "postLocation",
-      type: "select",
+      prop: "djpzrq",
+      type: "date",
       span: 12,
       span: 12,
       width: 100,
       width: 100,
       search: false,
       search: false,
@@ -127,61 +127,65 @@ export default {
       align: "center",
       align: "center",
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请选择申请日",
-          trigger: "blur",
+          required: false,
+          message: "请选择登记批准日期",
+          trigger: "change",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "取得方式",
       label: "取得方式",
-      prop: "nature",
+      prop: "qdfs",
       type: "select",
       type: "select",
       span: 12,
       span: 12,
-      width: 80,
+      width: 100,
       align: "center",
       align: "center",
       search: true,
       search: true,
+      dicUrl: "/api/kd-system/dict-biz/dictionary?code=rjzzqdfs",
+      props: {
+        label: "dictValue",
+        value: "dictKey",
+      },
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       rules: [
       rules: [
         {
         {
-          required: true,
-          message: "请选择授权日",
+          required: false,
+          message: "请选择取得方式",
           trigger: "change",
           trigger: "change",
         },
         },
       ],
       ],
     },
     },
     {
     {
       label: "关联研发项目情况",
       label: "关联研发项目情况",
-      prop: "personnelType",
+      prop: "xmId",
       type: "select",
       type: "select",
       span: 12,
       span: 12,
-      width: 80,
+      width: 300,
       align: "center",
       align: "center",
       search: false,
       search: false,
-      dicUrl: "/api/kd-system/dict-biz/dictionary?code=renyuanleixing",
-      props: {
-        label: "dictValue",
-        value: "dictKey",
-      },
       showOverflowTooltip: true,
       showOverflowTooltip: true,
       children: [
       children: [
         {
         {
-          label: "研发项目名称",
+          label: "项目名称",
           search: true,
           search: true,
+          prop: "xmmc",
+          width: 155,
           rules: [
           rules: [
             {
             {
-              required: true,
+              required: false,
               message: "请输入发明人",
               message: "请输入发明人",
               trigger: "blur",
               trigger: "blur",
             },
             },
           ],
           ],
         },
         },
         {
         {
-          label: "研发项目编号",
+          label: "项目编号",
           search: true,
           search: true,
+          prop: "xmbh",
+          width: 100,
           rules: [
           rules: [
             {
             {
-              required: true,
+              required: false,
               message: "请输入发明人",
               message: "请输入发明人",
               trigger: "blur",
               trigger: "blur",
             },
             },
@@ -191,13 +195,20 @@ export default {
     },
     },
     {
     {
       label: "附件上传",
       label: "附件上传",
-      prop: "personnelType",
-      type: "select",
+      prop: "attachment",
+      type: "upload",
       span: 12,
       span: 12,
-      width: 80,
+      width: 155,
       align: "center",
       align: "center",
+      dataType: 'string',
       search: false,
       search: false,
+      loadText: '附件上传中,请稍等',
       showOverflowTooltip: true,
       showOverflowTooltip: true,
+      propsHttp: {
+        res: 'data',
+        url: 'link',
+      },
+      action: "/api/kd-resource/oss/endpoint/put-file-attach"
     },
     },
   ],
   ],
 };
 };

+ 52 - 3
src/views/achievement/patent-achievement.vue

@@ -43,14 +43,29 @@
           打印
           打印
         </el-button>
         </el-button>
       </template>
       </template>
+      <template slot="glyfxmForm">
+        <project-select v-model="form.xmId" @change="handleProjectChange"></project-select>
+      </template>
+      <template slot="attachmentForm">
+        <el-upload></el-upload>
+      </template>
     </avue-crud>
     </avue-crud>
     <upload-excel-dialog ref="uploadExcelDialog" :uploadAfter="uploadAfter"/>
     <upload-excel-dialog ref="uploadExcelDialog" :uploadAfter="uploadAfter"/>
+    <WideTablePrinter
+      ref="printWideTable"
+      :columns="wideTableColumns"
+      :data="data"
+      :print-title="printTitle"
+      :rows-per-page="30"
+      :default-landscape="true"
+    />
   </basic-container>
   </basic-container>
 </template>
 </template>
 
 
 <script>
 <script>
-import {exportBloByPost} from "@/api/common";
+import {exportBlob} from "@/api/common";
 import UploadExcelDialog from "@/components/upload-excel-dialog";
 import UploadExcelDialog from "@/components/upload-excel-dialog";
+import projectSelect from "@/components/project-select";
 import NProgress from 'nprogress';
 import NProgress from 'nprogress';
 import 'nprogress/nprogress.css';
 import 'nprogress/nprogress.css';
 import {getToken} from "@/util/auth";
 import {getToken} from "@/util/auth";
@@ -60,10 +75,13 @@ import {downloadXls} from "@/util/util";
 export default window.$crudCommon({
 export default window.$crudCommon({
   components: {
   components: {
     UploadExcelDialog,
     UploadExcelDialog,
+    projectSelect
   },
   },
   data() {
   data() {
     return {
     return {
       params: {},
       params: {},
+      wideTableColumns: [],
+      printTitle: "",
     };
     };
   },
   },
   methods: {
   methods: {
@@ -71,7 +89,19 @@ export default window.$crudCommon({
       // let excelParams = { yearAndMonth: this.params.yearAndMonth };
       // let excelParams = { yearAndMonth: this.params.yearAndMonth };
       this.$refs.uploadExcelDialog.open('/api/kd-scientific/kycg/zl/import', {});
       this.$refs.uploadExcelDialog.open('/api/kd-scientific/kycg/zl/import', {});
     },
     },
+    handleProjectChange(data){
+      console.log(data)
+      this.form = {
+        ...this.form,
+        xmmc: data.xmmc,
+        xmbh: data.xmbh
+      }
+    },
     uploadAfter() {
     uploadAfter() {
+      this.$message({
+        type: "success",
+        message: "导入成功!"
+      });
       this.page.currentPage = 1;
       this.page.currentPage = 1;
       this.getList(this.page);
       this.getList(this.page);
     },
     },
@@ -83,14 +113,33 @@ export default window.$crudCommon({
       }).then(() => {
       }).then(() => {
         NProgress.start();
         NProgress.start();
         exportBlob(`/api/kd-scientific/kycg/zl/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
         exportBlob(`/api/kd-scientific/kycg/zl/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
-          downloadXls(res.data, `科研成果${this.params.yearAndMonth}.xlsx`);
+          downloadXls(res.data, `科研成果.xlsx`);
           NProgress.done();
           NProgress.done();
         })
         })
       });
       });
     },
     },
+     /**
+     * 打印表格
+     * @param isLandscape 是否横向打印
+     */
+    printTable() {
+      this.wideTableColumns = this.$refs.crud.columnOption;
+      this.printTitle = `科研成果`;
+      this.$nextTick(() => {
+        this.$refs.printWideTable.printTable(true);
+      })
+    },
   },
   },
 }, {
 }, {
   // 模块路径
   // 模块路径
-  name: 'achievement/patentAchievement'
+  name: 'achievement/patentAchievement',
+  res: ({ data }) => {
+    data.records = data.records.map(item => {
+      item.xmId = item.xmId === -1 ? '' : item.xmId;
+      return item;
+    });
+
+    return data;
+  },
 });
 });
 </script>
 </script>

+ 40 - 4
src/views/achievement/soft-works.vue

@@ -43,12 +43,25 @@
           打印
           打印
         </el-button>
         </el-button>
       </template>
       </template>
+      <template slot="menuLeft">
+
+      </template>
     </avue-crud>
     </avue-crud>
+    <upload-excel-dialog ref="uploadExcelDialog" :uploadAfter="uploadAfter"/>
+    <WideTablePrinter
+      ref="printWideTable"
+      :columns="wideTableColumns"
+      :data="data"
+      :print-title="printTitle"
+      :rows-per-page="30"
+      :default-landscape="true"
+    />
   </basic-container>
   </basic-container>
 </template>
 </template>
 
 
 <script>
 <script>
-import {exportBloByPost} from "@/api/common";
+import {exportBlob} from "@/api/common";
+import UploadExcelDialog from "@/components/upload-excel-dialog";
 import NProgress from 'nprogress';
 import NProgress from 'nprogress';
 import 'nprogress/nprogress.css';
 import 'nprogress/nprogress.css';
 import {getToken} from "@/util/auth";
 import {getToken} from "@/util/auth";
@@ -56,13 +69,29 @@ import {downloadXls} from "@/util/util";
 
 
 
 
 export default window.$crudCommon({
 export default window.$crudCommon({
-  
+  components: {
+    UploadExcelDialog,
+  },
   data() {
   data() {
     return {
     return {
       params: {},
       params: {},
+      wideTableColumns: [],
+      printTitle: "",
     };
     };
   },
   },
   methods: {
   methods: {
+    handleImport() {
+      // let excelParams = { yearAndMonth: this.params.yearAndMonth };
+      this.$refs.uploadExcelDialog.open('/api/kd-scientific/kycg/rjzzq/import', {});
+    },
+    uploadAfter() {
+      this.$message({
+        type: "success",
+        message: "导入成功!"
+      });
+      this.page.currentPage = 1;
+      this.getList(this.page);
+    },
     handleExport() {
     handleExport() {
       this.$confirm("是否导出吗?", "提示", {
       this.$confirm("是否导出吗?", "提示", {
         confirmButtonText: "确定",
         confirmButtonText: "确定",
@@ -70,12 +99,19 @@ export default window.$crudCommon({
         type: "warning"
         type: "warning"
       }).then(() => {
       }).then(() => {
         NProgress.start();
         NProgress.start();
-        exportBloByPost(`/api/kd-scientific/technician/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
-          downloadXls(res.data, `技术人员上一年度平均工资${this.params.yearAndMonth}.xlsx`);
+        exportBlob(`/api/kd-scientific/kycg/rjzzq/export?${this.website.tokenHeader}=${getToken()}`, {}).then(res => {
+          downloadXls(res.data, `软件著作.xlsx`);
           NProgress.done();
           NProgress.done();
         })
         })
       });
       });
     },
     },
+    printTable() {
+      this.wideTableColumns = this.$refs.crud.columnOption;
+      this.printTitle = `科研成果`;
+      this.$nextTick(() => {
+        this.$refs.printWideTable.printTable(false);
+      })
+    },
   },
   },
 }, {
 }, {
   // 模块路径
   // 模块路径