|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div style="overflow: auto">
|
|
|
<!--准入-->
|
|
|
- <el-dialog :visible.sync="dialogVisible1" width="80%" style="z-index:9997">
|
|
|
+ <el-dialog :visible.sync="dialogVisible1" width="80%">
|
|
|
<el-tabs type="border-card" v-model="activeName">
|
|
|
<el-tab-pane label="审批流程" name="all">
|
|
|
<el-table highlight-current-row stripe :data="historyTask" border size="mini">
|
|
|
@@ -238,20 +238,22 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="FileUrlList" label="资质文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary"
|
|
|
- v-if="scope.row.FileUrl==''?false:imgFormat(scope.row.FileUrl, index)"
|
|
|
- >
|
|
|
- {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.FileUrl, index)"
|
|
|
- width="60%"
|
|
|
- v-if="scope.row.FileUrl==''?false:!imgFormat(scope.row.FileUrl, index)"
|
|
|
- class="photoStyle" alt=""
|
|
|
- :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
- </div>
|
|
|
+ <viewer :images="scope.row.FileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary"
|
|
|
+ v-if="scope.row.FileUrl==''?false:imgFormat(scope.row.FileUrl, index)"
|
|
|
+ >
|
|
|
+ {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ <img
|
|
|
+ @click="imgHover(scope.row.FileUrl, index)"
|
|
|
+ width="60%"
|
|
|
+ v-if="scope.row.FileUrl==''?false:!imgFormat(scope.row.FileUrl, index)"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="EffectDate" label="有效日期" show-overflow-tooltip>
|
|
|
@@ -338,7 +340,7 @@
|
|
|
</el-tabs>
|
|
|
</el-dialog>
|
|
|
<!--年审-->
|
|
|
- <el-dialog :visible.sync="dialogVisible2" width="80%" style="z-index:9997">
|
|
|
+ <el-dialog :visible.sync="dialogVisible2" width="80%">
|
|
|
<el-tabs type="border-card" v-model="activeName2">
|
|
|
<el-tab-pane label="审批流程" name="all">
|
|
|
<el-table highlight-current-row stripe :data="historyTask" border size="mini">
|
|
|
@@ -391,7 +393,24 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="8" v-if="SupplierTypeCode == '01'">
|
|
|
+ <el-form-item label="供应商类型" prop="OperType">
|
|
|
+ <el-select ref="OperType"
|
|
|
+ v-model="formData.OperType"
|
|
|
+ :class="changedForm['OperType'] ? 'modified-form-input' : ''"
|
|
|
+ :disabled="true"
|
|
|
+ placeholder="请选择"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-option v-for="item in OperTypeOptions"
|
|
|
+ :key="item.Id"
|
|
|
+ :label="item.Key"
|
|
|
+ :value="item.Key">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="单位关系">
|
|
|
<el-select ref="SpecType" v-model="formData.SpecTypeCode" :class="changedForm['SpecTypeCode'] ? 'modified-form-input' : ''"
|
|
|
@@ -422,15 +441,6 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="证件合一">
|
|
|
- <el-select v-model="formData.CredentialFlag" :disabled="!canUpdateSupplier" placeholder="请选择" :class="changedForm['CredentialFlag'] ? 'modified-form-input' : ''" style="width: 100%">
|
|
|
- <el-option v-for="item in selectoptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
</el-row>
|
|
|
<el-row v-if="SupplierTypeCode == '01'">
|
|
|
<el-col :span="8">
|
|
|
@@ -478,7 +488,14 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
-
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="证件合一">
|
|
|
+ <el-select v-model="formData.CredentialFlag" :disabled="!canUpdateSupplier" placeholder="请选择" :class="changedForm['CredentialFlag'] ? 'modified-form-input' : ''" style="width: 100%">
|
|
|
+ <el-option v-for="item in selectoptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="统一社会信用代码" prop="CommercialNo" >
|
|
|
<el-input v-model="formData.CommercialNo" maxlength="50" :readonly="true" placeholder="请输入" style="width: 100%">
|
|
|
@@ -756,6 +773,16 @@
|
|
|
</el-row>
|
|
|
|
|
|
</el-form>
|
|
|
+ <el-card class="box-card mycard" style="margin-top: 10px;" v-if="SupplierTypeCode == '01'">
|
|
|
+ <div slot="header" class="clearfix">
|
|
|
+ <span style="margin-left: 10px;">所代理制造商名称</span>
|
|
|
+ </div>
|
|
|
+ <manufacturer-list ref="manufacturerList"
|
|
|
+ :data.sync="manufacturerList"
|
|
|
+ :SupplierCertId="certId+''"
|
|
|
+ :canadd="false"
|
|
|
+ ></manufacturer-list>
|
|
|
+ </el-card>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="企业情况" ref="tabPaneRef" name="222">
|
|
|
<el-card class="box-card mycard">
|
|
|
@@ -942,21 +969,22 @@
|
|
|
<el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.OldFileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :key="index">
|
|
|
+ <viewer :images="scope.row.OldFileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="OldEffectDate" label="原有效日期" show-overflow-tooltip>
|
|
|
@@ -967,21 +995,22 @@
|
|
|
<el-table-column prop="FileUrlList" label="变更后文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-row align="middle">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
- <el-link :href="'http://' + fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
- {{tmpUrl.split('|')[1]}}</el-link>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.FileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :src="'http://' + fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :key="index">
|
|
|
+ <viewer :images="scope.row.FileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
+ <el-link :href="'http://' + fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{tmpUrl.split('|')[1]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :src="'http://' + fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</el-row>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -1078,7 +1107,7 @@
|
|
|
</el-tabs>
|
|
|
</el-dialog>
|
|
|
<!--信息变更-->
|
|
|
- <el-dialog :visible.sync="dialogVisible3" width="80%" style="z-index:9997">
|
|
|
+ <el-dialog :visible.sync="dialogVisible3" width="80%">
|
|
|
<el-tabs type="border-card" v-model="activeName3">
|
|
|
<el-tab-pane label="审批流程" name="all">
|
|
|
<el-table highlight-current-row stripe :data="historyTask" border size="mini">
|
|
|
@@ -1124,45 +1153,22 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="准入编码">
|
|
|
- <el-input v-model="AccessCardNo" :readonly="true" placeholder="请输入" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="单位关系">
|
|
|
- <el-select ref="SpecType" v-model="formData.SpecTypeCode" :class="changedForm['SpecTypeCode'] ? 'modified-form-input' : ''"
|
|
|
- :disabled="!canUpdateSupplier" placeholder="请选择" style="width: 100%">
|
|
|
- <el-option v-for="item in UnitRelationOptions" :key="item.Id" :label="item.Key"
|
|
|
- :value="item.Value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="准入方式">
|
|
|
- <el-select ref="SpecType" v-model="InStyle" :disabled="true"
|
|
|
- placeholder="请选择" style="width: 100%">
|
|
|
- <el-option v-for="item in InOptions" :key="item.Id" :label="item.Key" v-if="item.Value != '2' && item.Value != '3'"
|
|
|
- :value="item.Value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item label="证件合一">
|
|
|
- <el-select v-model="formData.CredentialFlag" :disabled="!canUpdateSupplier" placeholder="请选择" :class="changedForm['CredentialFlag'] ? 'modified-form-input' : ''" style="width: 100%">
|
|
|
- <el-option v-for="item in selectoptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ <el-col :span="8" v-if="accessedType.length > 0 && accessedType.includes('01')">
|
|
|
+ <el-form-item label="供应商类型" prop="OperType">
|
|
|
+ <el-select ref="OperType"
|
|
|
+ v-model="formData.OperType"
|
|
|
+ :class="changedForm['OperType'] ? 'modified-form-input' : ''"
|
|
|
+ :disabled="true"
|
|
|
+ placeholder="请选择"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-option v-for="item in OperTypeOptions"
|
|
|
+ :key="item.Id"
|
|
|
+ :label="item.Key"
|
|
|
+ :value="item.Key">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
</el-row>
|
|
|
<el-row v-if="accessedType.length > 0 && accessedType.includes('01')">
|
|
|
<el-col :span="8">
|
|
|
@@ -1210,14 +1216,32 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
-
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="单位关系">
|
|
|
+ <el-select ref="SpecType" v-model="formData.SpecTypeCode" :class="changedForm['SpecTypeCode'] ? 'modified-form-input' : ''"
|
|
|
+ :disabled="!canUpdateSupplier" placeholder="请选择" style="width: 100%">
|
|
|
+ <el-option v-for="item in UnitRelationOptions" :key="item.Id" :label="item.Key"
|
|
|
+ :value="item.Value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="证件类型">
|
|
|
+ <el-select v-model="formData.CredentialFlag" :disabled="!canUpdateSupplier" placeholder="请选择" :class="changedForm['CredentialFlag'] ? 'modified-form-input' : ''" style="width: 100%">
|
|
|
+ <el-option v-for="item in selectoptions" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="统一社会信用代码" prop="CommercialNo" >
|
|
|
<el-input v-model="formData.CommercialNo" maxlength="50" :readonly="true" placeholder="请输入" style="width: 100%">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="税务登记证编号" prop="CountryTaxNo" v-if="showorhidflag=='show'" >
|
|
|
<el-input v-model="formData.CountryTaxNo" maxlength="50" :readonly="!canUpdateSupplier" placeholder="请输入" style="width: 100%">
|
|
|
@@ -1487,6 +1511,17 @@
|
|
|
</el-row>
|
|
|
|
|
|
</el-form>
|
|
|
+ <el-card class="box-card mycard" style="margin-top: 10px;">
|
|
|
+ <div slot="header" class="clearfix">
|
|
|
+ <span style="margin-left: 10px;">所代理制造商名称</span>
|
|
|
+ </div>
|
|
|
+ <manufacturer-list ref="manufacturerList"
|
|
|
+ :data.sync="manufacturerList"
|
|
|
+ :SupplierCertId="CertId1+''"
|
|
|
+ :canadd="false"
|
|
|
+ ></manufacturer-list>
|
|
|
+ </el-card>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="物资类企业情况" v-if="accessedType.includes('01')">
|
|
|
<el-card class="box-card">
|
|
|
@@ -1827,21 +1862,22 @@
|
|
|
<el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.OldFileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :key="index">
|
|
|
+ <viewer :images="scope.row.OldFileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="OldEffectDate" label="原有效日期" show-overflow-tooltip>
|
|
|
@@ -1851,21 +1887,22 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="FileUrlList" label="变更后文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ <viewer :images="scope.row.FileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.FileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :key="index">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip >
|
|
|
@@ -1883,21 +1920,22 @@
|
|
|
<el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.OldFileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :key="index">
|
|
|
+ <viewer :images="scope.row.OldFileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="OldEffectDate" label="原有效日期" show-overflow-tooltip>
|
|
|
@@ -1907,21 +1945,22 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="FileUrlList" label="变更后文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ <viewer :images="scope.row.FileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.FileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :key="index">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip>
|
|
|
@@ -1939,21 +1978,22 @@
|
|
|
<el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
- </div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.OldFileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
- :key="index">
|
|
|
+ <viewer :images="scope.row.OldFileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="OldEffectDate" label="原有效日期" show-overflow-tooltip>
|
|
|
@@ -1963,21 +2003,22 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="FileUrlList" label="变更后文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
- <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
- <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
- {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ <viewer :images="scope.row.FileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
+ <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
+ {{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
+ </div>
|
|
|
+ <div v-else>
|
|
|
+ <img
|
|
|
+ width="60%"
|
|
|
+ class="photoStyle" alt=""
|
|
|
+ v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
+ :key="index">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div v-else>
|
|
|
- <img
|
|
|
- @click="imgHover(scope.row.FileUrl, index)"
|
|
|
- width="60%"
|
|
|
- class="photoStyle" alt=""
|
|
|
- v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
|
|
|
- :key="index">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip>
|
|
|
@@ -2008,7 +2049,7 @@
|
|
|
</el-tabs>
|
|
|
</el-dialog>
|
|
|
<!--增项-->
|
|
|
- <el-dialog :visible.sync="dialogVisible4" width="80%" style="z-index:9997">
|
|
|
+ <el-dialog :visible.sync="dialogVisible4" width="80%">
|
|
|
<el-tabs type="border-card" v-model="activeName4">
|
|
|
<el-tab-pane label="审批流程" name="all">
|
|
|
<el-table highlight-current-row stripe :data="historyTask" border size="mini">
|
|
|
@@ -2642,14 +2683,14 @@
|
|
|
<el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <viewer :images="scope.row.OldFileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
<div v-if="imgFormat(scope.row.OldFileUrl, index)">
|
|
|
<el-link :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank" type="primary">
|
|
|
{{scope.row.OldFileName.split('$')[index]}}</el-link>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
<img
|
|
|
- @click="imgHover(scope.row.OldFileUrl, index)"
|
|
|
width="60%"
|
|
|
class="photoStyle" alt=""
|
|
|
v-if="fileurlcut(scope.row.OldFileUrl, index)"
|
|
|
@@ -2657,6 +2698,7 @@
|
|
|
:key="index">
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="OldEffectDate" label="原有效日期" show-overflow-tooltip>
|
|
|
@@ -2666,14 +2708,14 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="FileUrlList" label="变更后文件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
+ <viewer :images="scope.row.FileUrlList">
|
|
|
+ <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle; text-align: center;">
|
|
|
<div v-if="imgFormat(scope.row.FileUrl, index)">
|
|
|
<el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
|
|
|
{{scope.row.FileName.split('$')[index]}}</el-link>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
<img
|
|
|
- @click="imgHover(scope.row.FileUrl, index)"
|
|
|
width="60%"
|
|
|
class="photoStyle" alt=""
|
|
|
v-if="fileurlcut(scope.row.FileUrl, index)"
|
|
|
@@ -2681,6 +2723,7 @@
|
|
|
:key="index">
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip >
|
|
|
@@ -2766,8 +2809,17 @@
|
|
|
import PerformanceList from '@/components/oilsupplier/performancelist'
|
|
|
import PatentList from '@/components/oilsupplier/patentlist'
|
|
|
import WinningList from '@/components/oilsupplier/winninglist'
|
|
|
+ import ManufacturerList from '@/components/oilsupplier/manufacturerlist'
|
|
|
import _ from 'lodash'
|
|
|
|
|
|
+ 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 {
|
|
|
name: 'wfhistory',
|
|
|
props: {
|
|
|
@@ -2796,6 +2848,7 @@
|
|
|
GoodsInfo,
|
|
|
BasisInfo,
|
|
|
TechInfo,
|
|
|
+ ManufacturerList,
|
|
|
GoodsList2,
|
|
|
EquipmentList, // 企业主要设备
|
|
|
PerformanceList, // 近三年主要业绩列表
|
|
|
@@ -2915,6 +2968,8 @@
|
|
|
instance: '',
|
|
|
AccessCardNo: '',
|
|
|
InStyle: '',
|
|
|
+ manufacturerList: [],
|
|
|
+ OperTypeOptions: [],
|
|
|
selfVisible: this.visible, // 避免vue双向绑定警告
|
|
|
historyTask: [],
|
|
|
goodsList: [],
|
|
|
@@ -3126,6 +3181,9 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ manufacturerdialog () {
|
|
|
+ this.$refs['manufacturerList'].showDialog()
|
|
|
+ },
|
|
|
show () {
|
|
|
this.historyTask = []
|
|
|
this.tmp_historyTask = []
|
|
|
@@ -3194,6 +3252,7 @@
|
|
|
this.$refs['performanceList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
this.$refs['patentList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
this.$refs['winningList1'].getvalue(0, '01', this.certList[i].Id)
|
|
|
+ this.$refs['manufacturerList'].getvalue(this.certList[i].Id)
|
|
|
}
|
|
|
if (this.certList[i].SupplierTypeCode == '02') {
|
|
|
this.CertId2 = this.certList[i].Id
|
|
|
@@ -3648,6 +3707,9 @@
|
|
|
if (this.$refs['winningList']) {
|
|
|
this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
|
|
|
}
|
|
|
+ if (this.$refs['manufacturerList']) {
|
|
|
+ this.$refs['manufacturerList'].getvalue(this.certId)
|
|
|
+ }
|
|
|
if (this.formData.Status > 0) {
|
|
|
this.add_flat = false
|
|
|
this.delete_flat = false
|
|
|
@@ -3779,6 +3841,7 @@
|
|
|
SupplierId: this.SupplierId,
|
|
|
SupplierTypeCode: '01',
|
|
|
MInfoId: this.business,
|
|
|
+ SupType: this.dialogVisible3 ? '1' : '',
|
|
|
_currentPage: 1,
|
|
|
_size: 1000
|
|
|
}
|
|
|
@@ -3803,6 +3866,7 @@
|
|
|
const params = {
|
|
|
SupplierId: this.SupplierId,
|
|
|
SupplierTypeCode: '02',
|
|
|
+ SupType: this.dialogVisible3 ? '1' : '',
|
|
|
MInfoId: this.business,
|
|
|
_currentPage: 1,
|
|
|
_size: 1000
|
|
|
@@ -3828,6 +3892,7 @@
|
|
|
const params = {
|
|
|
SupplierId: this.SupplierId,
|
|
|
SupplierTypeCode: '02',
|
|
|
+ SupType: this.dialogVisible3 ? '1' : '',
|
|
|
MInfoId: this.business,
|
|
|
_currentPage: 1,
|
|
|
_size: 1000
|
|
|
@@ -4117,6 +4182,12 @@
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
+ .viewer-container {
|
|
|
+ z-index: 9999 !important;
|
|
|
+ }
|
|
|
+ .el-cascader.is-disabled .el-cascader__label {
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
.mycard .el-card__header {
|
|
|
padding: 8px;
|
|
|
}
|
|
|
@@ -4124,6 +4195,12 @@
|
|
|
padding: 8px 15px 0 0;
|
|
|
margin-left: -2px;
|
|
|
}
|
|
|
+ .modified-form-input .el-input__inner {
|
|
|
+ background-color: lightblue !important;
|
|
|
+ }
|
|
|
+ .modified-form-input .el-textarea__inner {
|
|
|
+ background-color: lightblue !important;
|
|
|
+ }
|
|
|
.dialog-footer img{
|
|
|
position: relative;
|
|
|
width: 100%;
|