|
|
@@ -13,6 +13,8 @@
|
|
|
<span style="float: right;">
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="itemsshow">查看变更项</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="auhistory">审批流程</el-button>
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" @click="fenbanbtn"
|
|
|
+ v-if="auditBtn && InfoStatus == '10'">分办</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="submitInfoChange"
|
|
|
v-if="auditBtn && InfoStatus == '1'">初审</el-button>
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px" @click="submitInfoChange"
|
|
|
@@ -602,7 +604,38 @@
|
|
|
<el-dialog title="审批流程" :visible.sync="audithistoryshow" width="1200px">
|
|
|
<wf-multi-history ref="WfHistory" :entryinfo="entrydetail"></wf-multi-history>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+ <el-dialog title="提交申请" :visible.sync="commitshowfen" width="360px">
|
|
|
+ <el-form label-width="90px" :model="entityForm" ref="EntityFormref">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="初审人员">
|
|
|
+ <el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择初审人">
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="复审人员">
|
|
|
+ <el-select ref="selectAuditer" v-model="fushenauditer" placeholder="请选择复审人" style="width: 100%" filterable
|
|
|
+ allow-create default-first-option>
|
|
|
+ <el-option v-for="item in secauditerOptions" :key="item.Id" :label="item.Realname" :value="item.Id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="说明">
|
|
|
+ <el-input v-model="shenheForm.AuditorRemark" type="textarea" placeholder="请输入说明内容"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ <span style="float: right;margin-top:-10px;">
|
|
|
+ <el-button size="small" @click="commitshowfen = false">取 消</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="addInfoChangeAudit()">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ <br>
|
|
|
+ </el-dialog>
|
|
|
+ <choose-auditor ref="chooseAuditor" @close="setAuditer" @hideChooseAuditer="chooseAuditorVisible=false"
|
|
|
+ :visible="chooseAuditorVisible"></choose-auditor>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -610,14 +643,17 @@
|
|
|
import {
|
|
|
mapGetters
|
|
|
} from 'vuex'
|
|
|
- import _ from 'lodash';
|
|
|
+ import _ from 'lodash'
|
|
|
import apiCert from '@/api/oilsupplier/suppliercert'
|
|
|
- import supplierapi from '@/api/oilsupplier/supplier';
|
|
|
- import api from '@/api/oilsupplier/infochange';
|
|
|
- import WfMultiHistory from "@/components/workflow/wfmultihistory.vue";
|
|
|
+ import supplierapi from '@/api/oilsupplier/supplier'
|
|
|
+ import api from '@/api/oilsupplier/infochange'
|
|
|
+ import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
|
|
|
+ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
+
|
|
|
export default {
|
|
|
components: {
|
|
|
WfMultiHistory,
|
|
|
+ ChooseAuditor
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters({
|
|
|
@@ -636,6 +672,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ chooseAuditorVisible: false,
|
|
|
myitemsshow: false,
|
|
|
auditstepcode: '',
|
|
|
auditBtn: false,
|
|
|
@@ -698,6 +735,8 @@
|
|
|
label: '常规'
|
|
|
}],
|
|
|
shenheForm: {
|
|
|
+ SecondAudit: '',
|
|
|
+ FirstAudit: '',
|
|
|
SuccessStatus: 1,
|
|
|
AuditorRemark: '',
|
|
|
InfoId: 0,
|
|
|
@@ -890,6 +929,7 @@
|
|
|
supplierId: '',
|
|
|
auditerOption: [],
|
|
|
commitshow: false,
|
|
|
+ commitshowfen: false,
|
|
|
InfoData: [],
|
|
|
AddChangeShow: false,
|
|
|
UnitRelationOptions: [],
|
|
|
@@ -938,10 +978,73 @@
|
|
|
this.getAccessCardNo()
|
|
|
},
|
|
|
methods: {
|
|
|
- initDatas() {
|
|
|
+ fenbanbtn () {
|
|
|
+ this.commitshowfen = true
|
|
|
+ },
|
|
|
+ addInfoChangeAudit () {
|
|
|
+ if (this.auditer === '') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请选择初审人!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (this.fushenauditer === '') {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: '请选择复审人!'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.shenheForm.SecondAudit = this.fushenauditer
|
|
|
+ this.shenheForm.FirstAudit = parseInt(this.auditer)
|
|
|
+ this.shenheForm.InfoId = parseInt(this.infoId)
|
|
|
+ this.shenheForm.SuppId = parseInt(this.SuppId)
|
|
|
+ api.infoAudit(this.shenheForm, this.$axios).then(res => {
|
|
|
+ if (res.data.code === 0) {
|
|
|
+ // 保存成功后,初始化数据,变成修改
|
|
|
+ this.initDatas()
|
|
|
+ this.commitshowfen = false
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ chooseAuditorShow () {
|
|
|
+ this.$refs['chooseAuditor'].getorgtreelist()
|
|
|
+ this.chooseAuditorVisible = true
|
|
|
+ },
|
|
|
+ setAuditer (val, name) {
|
|
|
+ this.auditer = val
|
|
|
+ this.auditerName = name
|
|
|
+ this.chooseAuditorVisible = false
|
|
|
+ this.auditOrgChang(this.auditer)
|
|
|
+ },
|
|
|
+ auditOrgChang (val) {
|
|
|
+ let auditstepcode = 'SECOND_TRIAL'
|
|
|
+ supplierapi.getAuditerByFirst(val, auditstepcode, this.$axios)
|
|
|
+ .then(res => {
|
|
|
+ this.secauditerOptions = res.data.item
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ initDatas () {
|
|
|
this.getMainInfo()
|
|
|
let params = {
|
|
|
- InfomainId : this.infoId
|
|
|
+ InfomainId: this.infoId
|
|
|
}
|
|
|
if (this.SuppId) {
|
|
|
api.GetChangeEntity(this.SuppId, params, this.$axios)
|
|
|
@@ -971,15 +1074,15 @@
|
|
|
this.infochangedata = res.data.items
|
|
|
if (this.infochangedata) {
|
|
|
for (var i = 0; i < this.infochangedata.length; i++) {
|
|
|
- if (this.infochangedata[i].SelectItem != "Province" && this.infochangedata[i].SelectItem !=
|
|
|
- "City" && this.infochangedata[i].SelectItem != "Street" && this.infochangedata[i]
|
|
|
- .SelectItem != "LinkProvince" && this.infochangedata[i].SelectItem != "LinkCity" && this
|
|
|
- .infochangedata[i].SelectItem != "LinkStreet") {
|
|
|
+ if (this.infochangedata[i].SelectItem != 'Province' && this.infochangedata[i].SelectItem !=
|
|
|
+ 'City' && this.infochangedata[i].SelectItem != 'Street' && this.infochangedata[i]
|
|
|
+ .SelectItem != 'LinkProvince' && this.infochangedata[i].SelectItem != 'LinkCity' && this
|
|
|
+ .infochangedata[i].SelectItem != 'LinkStreet') {
|
|
|
this.InfoData.push(this.infochangedata[i])
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- console.log("-this.InfoData---",this.InfoData)
|
|
|
+ console.log('-this.InfoData---',this.InfoData)
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.error(err);
|
|
|
@@ -993,7 +1096,7 @@
|
|
|
api.GetMainInfo(this.infoId, this.$axios)
|
|
|
.then(res => {
|
|
|
this.Infomain = res.data.items;
|
|
|
- console.log("this.Infomain", this.Infomain)
|
|
|
+ console.log('this.Infomain', this.Infomain)
|
|
|
if (this.Infomain) {
|
|
|
this.entrydetail.business = this.infoId + ''
|
|
|
this.entrydetail.instance = this.Infomain[0].WorkFlowId + ''
|
|
|
@@ -1005,6 +1108,8 @@
|
|
|
this.auditstepcode = 'SECOND_TRIAL'
|
|
|
} else if (this.Infomain[0].Status === '5') {
|
|
|
this.auditstepcode = 'PROF_REGULATION'
|
|
|
+ } else if (this.Infomain[0].Status === '10') {
|
|
|
+ this.auditstepcode = 'SUB_OFFICE_BG'
|
|
|
}
|
|
|
}
|
|
|
this.isAccess()
|
|
|
@@ -1024,88 +1129,88 @@
|
|
|
_this.changedForm[key] = true
|
|
|
_this.infochangeForm = {}
|
|
|
_this.infochangeForm.SelectItem = key
|
|
|
- if (_this.infochangeForm.SelectItem == "SupplierName") {
|
|
|
- _this.infochangeForm.SelectItemName = "企业名称"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "OperType") {
|
|
|
- _this.infochangeForm.SelectItemName = "供应商类型"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "SpecTypeCode") {
|
|
|
- _this.infochangeForm.SelectItemName = "单位关系"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Country") {
|
|
|
- _this.infochangeForm.SelectItemName = "国家"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "InStyle") {
|
|
|
- _this.infochangeForm.SelectItemName = "准入方式"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "MgrUnit") {
|
|
|
- _this.infochangeForm.SelectItemName = "管理单位"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "PACNumber") {
|
|
|
- _this.infochangeForm.SelectItemName = "中石油准入证编号"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "CredentialFlag") {
|
|
|
- _this.infochangeForm.SelectItemName = "证件合一"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "CommercialNo") {
|
|
|
- _this.infochangeForm.SelectItemName = "统一社会信用代码"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "CountryTaxNo") {
|
|
|
- _this.infochangeForm.SelectItemName = "税务登记证编号"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "OrganCode") {
|
|
|
- _this.infochangeForm.SelectItemName = "组织机构代码"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Address") {
|
|
|
- _this.infochangeForm.SelectItemName = "注册地址"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "LinkAddress") {
|
|
|
- _this.infochangeForm.SelectItemName = "通信地址-单位地址"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "ZipCode") {
|
|
|
- _this.infochangeForm.SelectItemName = "邮编"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "LinkZipCode") {
|
|
|
- _this.infochangeForm.SelectItemName = "通信地址-邮编"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "LegalPerson") {
|
|
|
- _this.infochangeForm.SelectItemName = "法定代表人姓名"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "CompanyType") {
|
|
|
- _this.infochangeForm.SelectItemName = "公司类型"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "SetupTime") {
|
|
|
- _this.infochangeForm.SelectItemName = "成立时间"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "RegCapital") {
|
|
|
- _this.infochangeForm.SelectItemName = "注册资本"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Currency") {
|
|
|
- _this.infochangeForm.SelectItemName = "币种"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "币种") {
|
|
|
- _this.infochangeForm.SelectItemName = "开户银行"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "ContactName") {
|
|
|
- _this.infochangeForm.SelectItemName = "联系人姓名"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Mobile") {
|
|
|
- _this.infochangeForm.SelectItemName = "移动电话"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "BankAccount") {
|
|
|
- _this.infochangeForm.SelectItemName = "银行账号"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Telphone") {
|
|
|
- _this.infochangeForm.SelectItemName = "固定电话"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Fax") {
|
|
|
- _this.infochangeForm.SelectItemName = "传真"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "CompanyTel") {
|
|
|
- _this.infochangeForm.SelectItemName = "财务电话"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "EMail") {
|
|
|
- _this.infochangeForm.SelectItemName = "电子邮箱"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "BankCreditRating") {
|
|
|
- _this.infochangeForm.SelectItemName = "银行信用等级"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "HseTraining") {
|
|
|
- _this.infochangeForm.SelectItemName = "HSE审查培训"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "QualitySystemCert") {
|
|
|
- _this.infochangeForm.SelectItemName = "质量管理体系认证情况及认证机构"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "ProductQualityCert") {
|
|
|
- _this.infochangeForm.SelectItemName = "产品质量认证情况及认证机构"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "MaunLicense") {
|
|
|
- _this.infochangeForm.SelectItemName = "生产/制造许可证获证情况及编号"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "MaunAgent") {
|
|
|
- _this.infochangeForm.SelectItemName = "所代理制造商名称"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "SupplierCertificate") {
|
|
|
- _this.infochangeForm.SelectItemName = "中石油物资供应商证书"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "SafetyLicense") {
|
|
|
- _this.infochangeForm.SelectItemName = "安全生产许可证"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "SpecIndustryCert") {
|
|
|
- _this.infochangeForm.SelectItemName = "行业特殊要求的认证证书"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "BusinessScope") {
|
|
|
- _this.infochangeForm.SelectItemName = "营业范围"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "Remark") {
|
|
|
- _this.infochangeForm.SelectItemName = "备注"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "AllAddress") {
|
|
|
- _this.infochangeForm.SelectItemName = "注册地址"
|
|
|
- } else if (_this.infochangeForm.SelectItem == "LinkAllAddress") {
|
|
|
- _this.infochangeForm.SelectItemName = "通信地址"
|
|
|
+ if (_this.infochangeForm.SelectItem == 'SupplierName') {
|
|
|
+ _this.infochangeForm.SelectItemName = '企业名称'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'OperType') {
|
|
|
+ _this.infochangeForm.SelectItemName = '供应商类型'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'SpecTypeCode') {
|
|
|
+ _this.infochangeForm.SelectItemName = '单位关系'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Country') {
|
|
|
+ _this.infochangeForm.SelectItemName = '国家'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'InStyle') {
|
|
|
+ _this.infochangeForm.SelectItemName = '准入方式'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'MgrUnit') {
|
|
|
+ _this.infochangeForm.SelectItemName = '管理单位'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'PACNumber') {
|
|
|
+ _this.infochangeForm.SelectItemName = '中石油准入证编号'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'CredentialFlag') {
|
|
|
+ _this.infochangeForm.SelectItemName = '证件合一'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'CommercialNo') {
|
|
|
+ _this.infochangeForm.SelectItemName = '统一社会信用代码'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'CountryTaxNo') {
|
|
|
+ _this.infochangeForm.SelectItemName = '税务登记证编号'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'OrganCode') {
|
|
|
+ _this.infochangeForm.SelectItemName = '组织机构代码'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Address') {
|
|
|
+ _this.infochangeForm.SelectItemName = '注册地址'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'LinkAddress') {
|
|
|
+ _this.infochangeForm.SelectItemName = '通信地址-单位地址'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'ZipCode') {
|
|
|
+ _this.infochangeForm.SelectItemName = '邮编'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'LinkZipCode') {
|
|
|
+ _this.infochangeForm.SelectItemName = '通信地址-邮编'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'LegalPerson') {
|
|
|
+ _this.infochangeForm.SelectItemName = '法定代表人姓名'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'CompanyType') {
|
|
|
+ _this.infochangeForm.SelectItemName = '公司类型'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'SetupTime') {
|
|
|
+ _this.infochangeForm.SelectItemName = '成立时间'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'RegCapital') {
|
|
|
+ _this.infochangeForm.SelectItemName = '注册资本'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Currency') {
|
|
|
+ _this.infochangeForm.SelectItemName = '币种'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == '币种') {
|
|
|
+ _this.infochangeForm.SelectItemName = '开户银行'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'ContactName') {
|
|
|
+ _this.infochangeForm.SelectItemName = '联系人姓名'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Mobile') {
|
|
|
+ _this.infochangeForm.SelectItemName = '移动电话'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'BankAccount') {
|
|
|
+ _this.infochangeForm.SelectItemName = '银行账号'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Telphone') {
|
|
|
+ _this.infochangeForm.SelectItemName = '固定电话'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Fax') {
|
|
|
+ _this.infochangeForm.SelectItemName = '传真'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'CompanyTel') {
|
|
|
+ _this.infochangeForm.SelectItemName = '财务电话'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'EMail') {
|
|
|
+ _this.infochangeForm.SelectItemName = '电子邮箱'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'BankCreditRating') {
|
|
|
+ _this.infochangeForm.SelectItemName = '银行信用等级'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'HseTraining') {
|
|
|
+ _this.infochangeForm.SelectItemName = 'HSE审查培训'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'QualitySystemCert') {
|
|
|
+ _this.infochangeForm.SelectItemName = '质量管理体系认证情况及认证机构'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'ProductQualityCert') {
|
|
|
+ _this.infochangeForm.SelectItemName = '产品质量认证情况及认证机构'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'MaunLicense') {
|
|
|
+ _this.infochangeForm.SelectItemName = '生产/制造许可证获证情况及编号'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'MaunAgent') {
|
|
|
+ _this.infochangeForm.SelectItemName = '所代理制造商名称'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'SupplierCertificate') {
|
|
|
+ _this.infochangeForm.SelectItemName = '中石油物资供应商证书'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'SafetyLicense') {
|
|
|
+ _this.infochangeForm.SelectItemName = '安全生产许可证'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'SpecIndustryCert') {
|
|
|
+ _this.infochangeForm.SelectItemName = '行业特殊要求的认证证书'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'BusinessScope') {
|
|
|
+ _this.infochangeForm.SelectItemName = '营业范围'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'Remark') {
|
|
|
+ _this.infochangeForm.SelectItemName = '备注'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'AllAddress') {
|
|
|
+ _this.infochangeForm.SelectItemName = '注册地址'
|
|
|
+ } else if (_this.infochangeForm.SelectItem == 'LinkAllAddress') {
|
|
|
+ _this.infochangeForm.SelectItemName = '通信地址'
|
|
|
}
|
|
|
_this.infochangeForm.ChangeInfo = value
|
|
|
_this.infochangeForm.BeChangeInfo = _this.copyformdata[key]
|
|
|
@@ -1121,6 +1226,7 @@
|
|
|
auditstepcode: this.auditstepcode,
|
|
|
processkey: this.entrydetail.process
|
|
|
}
|
|
|
+ console.log(this.InfoStatus, params)
|
|
|
apiCert.isAccess(params, this.$axios).then(res => {
|
|
|
this.auditBtn = res.data
|
|
|
console.log('---this.auditBtn-',this.auditBtn)
|
|
|
@@ -1130,7 +1236,7 @@
|
|
|
},
|
|
|
fileurlcut(val, index) {
|
|
|
let fileurlall = val.split('$')[index]
|
|
|
- let fileurl = fileurlall.split("|")
|
|
|
+ let fileurl = fileurlall.split('|')
|
|
|
return fileurl[0]
|
|
|
},
|
|
|
getAccessCardNo() {
|
|
|
@@ -1139,11 +1245,11 @@
|
|
|
this.AccessCardNolist = res.data.items;
|
|
|
if (this.AccessCardNolist) {
|
|
|
for (var i = 0; i < this.AccessCardNolist.length; i++) {
|
|
|
- if (this.AccessCardNolist[i].SupplierTypeCode == "01") {
|
|
|
+ if (this.AccessCardNolist[i].SupplierTypeCode == '01') {
|
|
|
this.AccessCardNo1 = this.AccessCardNolist[i].AccessCardNo
|
|
|
- } else if (this.AccessCardNolist[i].SupplierTypeCode == "02") {
|
|
|
+ } else if (this.AccessCardNolist[i].SupplierTypeCode == '02') {
|
|
|
this.AccessCardNo2 = this.AccessCardNolist[i].AccessCardNo
|
|
|
- } else if (this.AccessCardNolist[i].SupplierTypeCode == "03") {
|
|
|
+ } else if (this.AccessCardNolist[i].SupplierTypeCode == '03') {
|
|
|
this.AccessCardNo3 = this.AccessCardNolist[i].AccessCardNo
|
|
|
}
|
|
|
}
|
|
|
@@ -1182,33 +1288,33 @@
|
|
|
},
|
|
|
bfdataformat(val) {
|
|
|
//debugger
|
|
|
- if (val.SelectItem == "SpecTypeCode") {
|
|
|
- if (val.BeChangeInfo == "1") {
|
|
|
- return "一般外部"
|
|
|
- } else if (val.BeChangeInfo == "2") {
|
|
|
- return "多元内部"
|
|
|
+ if (val.SelectItem == 'SpecTypeCode') {
|
|
|
+ if (val.BeChangeInfo == '1') {
|
|
|
+ return '一般外部'
|
|
|
+ } else if (val.BeChangeInfo == '2') {
|
|
|
+ return '多元内部'
|
|
|
}
|
|
|
- } else if (val.SelectItem == "InStyle") {
|
|
|
- if (val.BeChangeInfo == "1") {
|
|
|
- return "评审准入"
|
|
|
- } else if (val.BeChangeInfo == "2") {
|
|
|
- return "一级物资备案准入"
|
|
|
- } else if (val.BeChangeInfo == "3") {
|
|
|
- return "二级物资备案准入"
|
|
|
- } else if (val.BeChangeInfo == "4") {
|
|
|
- return "战略合作准入"
|
|
|
- } else if (val.BeChangeInfo == "5") {
|
|
|
- return "内部多元准入"
|
|
|
+ } else if (val.SelectItem == 'InStyle') {
|
|
|
+ if (val.BeChangeInfo == '1') {
|
|
|
+ return '评审准入'
|
|
|
+ } else if (val.BeChangeInfo == '2') {
|
|
|
+ return '一级物资备案准入'
|
|
|
+ } else if (val.BeChangeInfo == '3') {
|
|
|
+ return '二级物资备案准入'
|
|
|
+ } else if (val.BeChangeInfo == '4') {
|
|
|
+ return '战略合作准入'
|
|
|
+ } else if (val.BeChangeInfo == '5') {
|
|
|
+ return '内部多元准入'
|
|
|
}
|
|
|
- } else if (val.SelectItem == "CredentialFlag") {
|
|
|
- if (val.BeChangeInfo == "1") {
|
|
|
- return "三证合一"
|
|
|
- } else if (val.BeChangeInfo == "2") {
|
|
|
- return "五证合一"
|
|
|
- } else if (val.BeChangeInfo == "3") {
|
|
|
- return "常规"
|
|
|
+ } else if (val.SelectItem == 'CredentialFlag') {
|
|
|
+ if (val.BeChangeInfo == '1') {
|
|
|
+ return '三证合一'
|
|
|
+ } else if (val.BeChangeInfo == '2') {
|
|
|
+ return '五证合一'
|
|
|
+ } else if (val.BeChangeInfo == '3') {
|
|
|
+ return '常规'
|
|
|
}
|
|
|
- } else if (val.SelectItem == "SetupTime") {
|
|
|
+ } else if (val.SelectItem == 'SetupTime') {
|
|
|
if (val.BeChangeInfo === '') {
|
|
|
return '----'
|
|
|
} else if (val.BeChangeInfo === '0001-01-01T08:00:00+08:00') {
|
|
|
@@ -1225,38 +1331,38 @@
|
|
|
},
|
|
|
dataformat(val) {
|
|
|
//debugger
|
|
|
- if (val.SelectItem == "SpecTypeCode") {
|
|
|
- if (val.ChangeInfo == "1") {
|
|
|
- return "一般外部"
|
|
|
- } else if (val.ChangeInfo == "2") {
|
|
|
- return "多元内部"
|
|
|
+ if (val.SelectItem == 'SpecTypeCode') {
|
|
|
+ if (val.ChangeInfo == '1') {
|
|
|
+ return '一般外部'
|
|
|
+ } else if (val.ChangeInfo == '2') {
|
|
|
+ return '多元内部'
|
|
|
}
|
|
|
- } else if (val.SelectItem == "InStyle") {
|
|
|
- if (val.ChangeInfo == "1") {
|
|
|
- return "评审准入"
|
|
|
- } else if (val.ChangeInfo == "2") {
|
|
|
- return "一级物资备案准入"
|
|
|
- } else if (val.ChangeInfo == "3") {
|
|
|
- return "二级物资备案准入"
|
|
|
- } else if (val.ChangeInfo == "4") {
|
|
|
- return "战略合作准入"
|
|
|
- } else if (val.ChangeInfo == "5") {
|
|
|
- return "内部多元准入"
|
|
|
+ } else if (val.SelectItem == 'InStyle') {
|
|
|
+ if (val.ChangeInfo == '1') {
|
|
|
+ return '评审准入'
|
|
|
+ } else if (val.ChangeInfo == '2') {
|
|
|
+ return '一级物资备案准入'
|
|
|
+ } else if (val.ChangeInfo == '3') {
|
|
|
+ return '二级物资备案准入'
|
|
|
+ } else if (val.ChangeInfo == '4') {
|
|
|
+ return '战略合作准入'
|
|
|
+ } else if (val.ChangeInfo == '5') {
|
|
|
+ return '内部多元准入'
|
|
|
}
|
|
|
- } else if (val.SelectItem == "CredentialFlag") {
|
|
|
- if (val.ChangeInfo == "1") {
|
|
|
- return "三证合一"
|
|
|
- } else if (val.ChangeInfo == "2") {
|
|
|
- return "五证合一"
|
|
|
- } else if (val.ChangeInfo == "3") {
|
|
|
- return "常规"
|
|
|
+ } else if (val.SelectItem == 'CredentialFlag') {
|
|
|
+ if (val.ChangeInfo == '1') {
|
|
|
+ return '三证合一'
|
|
|
+ } else if (val.ChangeInfo == '2') {
|
|
|
+ return '五证合一'
|
|
|
+ } else if (val.ChangeInfo == '3') {
|
|
|
+ return '常规'
|
|
|
}
|
|
|
- } else if (val.SelectItem == "SetupTime") {
|
|
|
- if (val.ChangeInfo == "") {
|
|
|
+ } else if (val.SelectItem == 'SetupTime') {
|
|
|
+ if (val.ChangeInfo == '') {
|
|
|
return '----'
|
|
|
- } else if (val.ChangeInfo == "0001-01-01T08:00:00+08:00") {
|
|
|
+ } else if (val.ChangeInfo == '0001-01-01T08:00:00+08:00') {
|
|
|
return '----'
|
|
|
- } else if (val.ChangeInfo == "5000-01-01T23:59:59+08:00") {
|
|
|
+ } else if (val.ChangeInfo == '5000-01-01T23:59:59+08:00') {
|
|
|
return '永久'
|
|
|
} else {
|
|
|
val = val.replace('T', ' ')
|