瀏覽代碼

Merge branch 'master' of http://119.23.210.103:3000/wy/lh_firm_former

liujiayin 2 年之前
父節點
當前提交
e8dd58b42e

+ 2 - 2
src/components/ibps-crud/index.vue

@@ -155,7 +155,7 @@
             </el-table-column>
 
             <!-- 自定义表单名称-->
-            <el-table-column :width="150"
+            <el-table-column :width="180"
             show-overflow-tooltip
             label="表单名称"
             v-if="formName">
@@ -348,7 +348,7 @@
                       type="link"
                       @action-event="handleActionEvent"
                     />
-                  <template v-if="rowHandleMoreActions && rowHandleMoreActions.length <=1">
+                  <template v-if="rowHandleMoreActions && rowHandleMoreActions.length ==1">
                       <div class="el-divider el-divider--vertical"/>
                           <ibps-toolbar
                             :actions="rowHandleMoreActions"

+ 1 - 1
src/components/ibps-toolbar/index.vue

@@ -34,7 +34,7 @@
         >
           {{ button.label }}
         </el-link>
-        <el-divider v-if="index !== actions.length - 1" :key="index" direction="vertical" />
+        <el-divider v-if="(actions.length == 2 && index == 0) || (actions.length == 3 && index != 2)" :key="index" direction="vertical" />
       </template>
       <template v-else-if="type==='linkHide'">
         <p>

+ 1 - 1
src/setting.js

@@ -141,7 +141,7 @@ export default {
     active: true
   },
   // 最长请求时间
-  requestTimeout: 1000 * 90,
+  requestTimeout: 1000 * 60,
   // 白名单,不重定向白名单,不经过token校验的路由
   whiteRouterList: [
     '/login',

+ 2 - 2
src/views/platform/bpmn/bpmInstHis/corresponding/index.js

@@ -47,12 +47,12 @@ specialType[guanshen] = [
 
 specialBtn[neishen] = {
     label: '不符合项报告与纠正措施记录',
-    desc: '改',
+    desc: '改',
     path: '43罗湖/L35-LHXBJY-QP-8.8-01内部管理体系审核程序/LHXBJY-QP-88-01-FQ-06不符合项报告与纠正措施记录表.rpx'
 }
 specialBtn[guanshen] = {
     label: '改进项与跟踪验证',
-    desc: '改',
+    desc: '改',
     path: '43罗湖/L36-LHXBJY-QP-8.9-01管理评审程序/LHXBJY-QP-8.6-01-FQ-01 改进项跟踪验证表.rpx'
 }
 

+ 1 - 1
src/views/platform/bpmn/bpmInstHis/list.vue

@@ -239,7 +239,7 @@
                         // { prop: 'subject', label: '任务标题', link: 'dialog', width: 250 },
                         { prop: 'tYear', label: '年份', width: 60 },
                         { prop: 'tDept', label: '部门', width: 90 },
-                        { prop: 'procDefName', label: '表单名称', sortable: 'custom', width: 220 },
+                        { prop: 'procDefName', label: '表单名称', sortable: 'custom', width: 250 },
                         { prop: 'subject', label: '事务说明', formatter: this.getDesc, 'min-width': 300 },
                         { prop: 'tUser', label: '编制人', width: 80 },
                         { prop: 'endTime', label: '完成时间', sortable: 'custom', dateFormat: 'yyyy-MM-dd', width: 90}

+ 13 - 3
src/views/platform/bpmn/bpmInstHis/record/component/testingRecord.vue

@@ -46,6 +46,7 @@
                     <template slot-scope="scope">{{ scope.row.wei_tuo_id_ | getID(trustList) }}</template>
                 </el-table-column>
                 <el-table-column prop="bao_gao_bian_hao_" label="报告编号" width="110"></el-table-column>
+                <el-table-column prop="run_qian_lu_jing_" label="版本号" width="80"></el-table-column>
                 <!-- <el-table-column prop="wei_tuo_fang_" label="委托单位"></el-table-column> -->
                 <!-- <el-table-column prop="wan_cheng_shi_jia" label="委托日期" width="100"></el-table-column> -->
                 <el-table-column prop="yang_pin_bian_hao" label="样品编号" width="110"></el-table-column>
@@ -92,9 +93,9 @@
                                                 v-for="i in fileList"
                                                 :key="i.id"
                                                 class="operate-item"
-                                                @click="preview(i)"
                                             >
-                                                <i class="el-icon-tickets"></i>{{ i.fileName }}.{{ i.ext }}
+                                                <span @click="preview(i)"><i class="el-icon-tickets" ></i>{{ i.fileName }}.{{ i.ext }}</span>
+                                                <i class="el-icon-download" @click="download(i)"></i>
                                             </div>
                                         </div>
                                     </el-popover>
@@ -149,6 +150,7 @@
 <script>
     import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
     import { previewFile } from '@/api/platform/file/attachment'
+    import { downloadFile } from '@/business/platform/file/utils'
     import PopupManager from '@/utils/popup'
     import { SYSTEM_URL, BASE_API } from '@/api/baseUrl'
     const searchList = [
@@ -330,7 +332,7 @@
             getTesting (row) {
                 const { wei_tuo_id_, yang_pin_bian_hao, xiu_gai_bao_gao_b } = row
                 this.testingList = []
-                const sql = `select b.id_ as id, a.defkey_ as number, a.jian_ce_xiang_mu_ as projectName from t_mjjcnlfw a, t_lhjczb b where a.id_ = b.jian_ce_xiang_mu_ and b.wei_tuo_id_ = '${wei_tuo_id_}' and b.yang_pin_bian_hao = '${yang_pin_bian_hao}' and find_in_set(b.jian_ce_xiang_mu_, '${xiu_gai_bao_gao_b}')`
+                const sql = `select b.id_ as id, a.defkey_ as number, a.jian_ce_xiang_mu_ as projectName, max(b.create_time_) from t_mjjcnlfw a, t_lhjczb b where a.id_ = b.jian_ce_xiang_mu_ and b.wei_tuo_id_ = '${wei_tuo_id_}' and b.yang_pin_bian_hao = '${yang_pin_bian_hao}' and find_in_set(b.jian_ce_xiang_mu_, '${xiu_gai_bao_gao_b}') group by b.jian_ce_xiang_mu_`
                 curdPost('sql', sql).then(res => {
                     this.testingList = res.variables && res.variables.data
                     // console.log(this.testingList)
@@ -427,6 +429,9 @@
                     query: this.fileOption
                 })
                 window.open(routeData.href);
+            },
+            download (file) {
+                downloadFile(file)
             }
         }
     }
@@ -505,5 +510,10 @@
     .operate-item {
         cursor: pointer;
         color: #85ce61;
+        .el-icon-download {
+            float: right;
+            font-size: 16px;
+            color: #409eff;
+        }
     }
 </style>

+ 6 - 2
src/views/statistics/sendDatas.js

@@ -136,10 +136,14 @@ export default {
                                 }
                         }
                         val.forEach( function(item){
-                                a += item ;
+                                if(item>0){
+                                        a += 1 ;
+                                }
                         });
                         valAll.forEach( function(item){
-                                b += item ;
+                                if(item>0){
+                                        b += 1 ;
+                                }
                         });
                         if(b===0){
                                 c=0

+ 2 - 2
src/views/system/jbdScan/goods/tag.vue

@@ -16,7 +16,7 @@
               >
               <!-- style="display: inline-block" 13行15行:取消后页面居中 -->
               <!-- style="page-break-after:always" -->
-               <div class="All">
+               <div class="All" style="font-family:sans-serif">
                 <div class="tagBox">
                   <div class="lh">
                     <div>样品名称:</div>
@@ -25,7 +25,7 @@
                   <div class="la">
                     <div class="lh">
                       <div>样品编号:</div>
-                      <div>{{ item1.serial }}</div>
+                      <div >{{ item1.serial }}</div>
                     </div>
                   </div>
                   <div class="lh">