|
|
@@ -799,7 +799,7 @@
|
|
|
style="margin-top: 20px"></business-list>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
- <el-tab-pane label="提交审批">
|
|
|
+ <el-tab-pane label="提交审批" v-if="parseInt(Status) > 0">
|
|
|
<el-card class="box-card" style="height: 800px">
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>审批流程</span>
|
|
|
@@ -1064,20 +1064,14 @@
|
|
|
import fileapi from '@/api/oilsupplier/supplierfile'
|
|
|
import setapi from '@/api/oilsupplier/oilclassorgset'
|
|
|
import suppapi from '@/api/oilsupplier/supplier'
|
|
|
-
|
|
|
-
|
|
|
- // v-viewer
|
|
|
- import Vue from 'vue';
|
|
|
+ // v-viewer
|
|
|
+ import Vue from 'vue'
|
|
|
import Viewer from 'v-viewer'
|
|
|
import 'viewerjs/dist/viewer.css'
|
|
|
Vue.use(Viewer)
|
|
|
Viewer.setDefaults({
|
|
|
Options: { 'inline': true, 'button': true, 'navbar': true, 'title': true, 'toolbar': true, 'tooltip': true, 'movable': true, 'zoomable': true, 'rotatable': true, 'scalable': true, 'transition': true, 'fullscreen': true, 'keyboard': true, 'url': 'data-source' }
|
|
|
})
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
export default {
|
|
|
computed: {
|
|
|
...mapGetters({
|
|
|
@@ -1998,21 +1992,21 @@
|
|
|
lineheight (list) {
|
|
|
return list * 23 + ''
|
|
|
},
|
|
|
- imgFormat(val,index){
|
|
|
- console.log(val)
|
|
|
- if(val !=null && val != undefined && val !=''){
|
|
|
+ imgFormat (val, index) {
|
|
|
+ console.log(val)
|
|
|
+ if (val != null && val != undefined && val != '') {
|
|
|
let fileurlall = val.split('$')[index]
|
|
|
let fileurl = fileurlall.split('|')
|
|
|
- if(fileurl[1] != null && fileurl[1] !='' && fileurl[1] != undefined){
|
|
|
- let Format = fileurl[1].split(".")
|
|
|
- if(Format[1]!=null && Format[1] !='' && Format[1] != undefined){
|
|
|
- let pictureFormat = Format[1];
|
|
|
- if("jpg"== pictureFormat || "bmp" ==pictureFormat || "png" ==pictureFormat || "gif" ==pictureFormat|| "jpeg" ==pictureFormat){
|
|
|
- return false;
|
|
|
+ if (fileurl[1] != null && fileurl[1] != '' && fileurl[1] != undefined) {
|
|
|
+ let Format = fileurl[1].split('.')
|
|
|
+ if (Format[1] != null && Format[1] != '' && Format[1] != undefined) {
|
|
|
+ let pictureFormat = Format[1]
|
|
|
+ if (pictureFormat == 'jpg' || pictureFormat == 'bmp' || pictureFormat == 'png' || pictureFormat == 'gif' || pictureFormat == 'jpeg') {
|
|
|
+ return false
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- return true;
|
|
|
+ return true
|
|
|
}
|
|
|
},
|
|
|
fileurlcut (val, index) {
|
|
|
@@ -3099,9 +3093,9 @@
|
|
|
_this.infochangeForm.SelectItemName = '银行信用等级'
|
|
|
} else if (_this.infochangeForm.SelectItem === 'HseTraining') {
|
|
|
_this.infochangeForm.SelectItemName = 'HSE审查培训'
|
|
|
- }else if (_this.infochangeForm.SelectItem === 'TjinNotify') {
|
|
|
+ } else if (_this.infochangeForm.SelectItem === 'TjinNotify') {
|
|
|
_this.infochangeForm.SelectItemName = '进津备案通知书'
|
|
|
- }else if (_this.infochangeForm.SelectItem === 'QualifCert') {
|
|
|
+ } else if (_this.infochangeForm.SelectItem === 'QualifCert') {
|
|
|
_this.infochangeForm.SelectItemName = '企业资质证书(编号 级别)'
|
|
|
} else if (_this.infochangeForm.SelectItem === 'QualitySystemCert') {
|
|
|
_this.infochangeForm.SelectItemName = '质量管理体系认证情况及认证机构'
|