2
3
herozyw1 преди 6 години
родител
ревизия
19f4ad23fd

+ 7 - 6
src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

@@ -2,6 +2,7 @@ package oilsupplier
 
 import (
 	"encoding/json"
+	"fmt"
 	"strconv"
 	"strings"
 	"time"
@@ -678,6 +679,10 @@ func (this *OilSupplierController) GetMyTaskEntityList() {
 	orderby := "Id"
 	asc := false
 	Order := this.GetString("Order")
+	Statustype := this.GetString("Statustype")
+	if Statustype != "" {
+		where = " 1=1 and b.Status =" + Statustype
+	}
 	Prop := this.GetString("Prop")
 	if Order != "" && Prop != "" {
 		orderby = Prop
@@ -998,8 +1003,6 @@ func (this *OilSupplierController) GetDictList() {
 		dictList["CompanyNames"] = list
 	}
 
-
-
 	//var dictCustomer []svccustomer.Customer
 	//customerSvc.GetEntitysByWhere(this.User.AccCode + CustomerName, "", &dictCustomer)
 	//dictList["EntrustCorp"] = &dictCustomer
@@ -1097,7 +1100,7 @@ func (this *OilSupplierController) AddEntity() {
 		}
 	} else {
 		service.CheckUpdateRepeatApplyInfo(OilSupplierName, OilSupplierCertName, modelCertVM.SupplierTypeCode, strconv.Itoa(model.Id), model.SupplierName, model.CommercialNo, model.OrganCode, model.BankAccount, model.CompanyUrl, &list)
-		if len(list) > 0  {
+		if len(list) > 0 {
 			errinfo.Message = "添加失败! 已存在相关企业的信息,或与其他企业信息重复"
 			errinfo.Code = -1
 			this.Data["json"] = &errinfo
@@ -1160,7 +1163,6 @@ func (this *OilSupplierController) AddEntity() {
 	}
 }
 
-
 // @Title 修改实体
 // @Description 修改实体
 // @Success	200	{object} controllers.Request
@@ -1181,11 +1183,10 @@ func (this *OilSupplierController) UpdateEntity() {
 	var jsonBlob = this.Ctx.Input.RequestBody
 	json.Unmarshal(jsonBlob, &model)
 
-
 	var list []supplier.OilSupplierView
 	service := supplier.GetOilSupplierService(utils.DBE)
 	service.CheckUpdateRepeatApplyInfo(OilSupplierName, OilSupplierCertName, typeCode, strconv.Itoa(model.Id), model.SupplierName, model.CommercialNo, model.OrganCode, model.BankAccount, model.CompanyUrl, &list)
-	if len(list) > 0  {
+	if len(list) > 0 {
 		errinfo.Message = "修改失败! 已存在相关企业的信息,或与其他企业信息重复"
 		errinfo.Code = -1
 		this.Data["json"] = &errinfo

+ 528 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/professionaudit/_opera/basisedit.vue

@@ -0,0 +1,528 @@
+<template>
+  <div>
+    <el-breadcrumb class="heading">
+      <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
+      <el-breadcrumb-item :to="{ path: '/oilsupplier/supplieraudit' }">准入审核列表</el-breadcrumb-item>
+      <el-breadcrumb-item>技术服务-准入审核</el-breadcrumb-item>
+    </el-breadcrumb>
+    <el-card class="box-card">
+      <div slot="header">
+        <span>
+          <i class="icon icon-table2"></i> 审批
+        </span>
+        <span style="float: right;">
+          <router-link :to="'/oilsupplier/supplieraudit'">
+            <el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
+          </router-link>
+        </span>
+      </div>
+
+      <el-tabs tab-position="right">
+        <el-tab-pane label="企业信息">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>供方基本信息表</span>
+            </div>
+            <basis-info ref="TechInfo" :formData.sync="formData" :dictData.sync="dictData" :disabled="true"></basis-info>
+          </el-card>
+        </el-tab-pane>
+
+        <el-tab-pane label="企业情况">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" ref="EntityFormNumber" :model="formDataCert">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数">
+                    <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量">
+                    <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数">
+                    <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+              </el-row>
+            </el-form>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>企业主要装备情况</span>
+            </div>
+            <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId" height="360px"
+                            style="margin-top: 20px"></equipment-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>近三年主要工程业绩</span>
+            </div>
+            <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" height="360px"
+                              style="margin-top: 20px"></performance-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>拥有专利、专有技术及工法</span>
+            </div>
+            <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" height="360px"
+                         style="margin-top: 20px">
+            </patent-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
+            </div>
+            <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" height="360px"
+                          style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+
+        <el-tab-pane label="审批意见">
+          <auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId"
+                         :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></auditbus-list>
+        </el-tab-pane>
+
+        <el-tab-pane label="流程查看">
+          <el-card class="box-card" style="margin-top: 20px">
+            <div slot="header" class="clearfix">
+              <span>审批流程</span>
+            </div>
+            <wf-history :entryinfo="entrydetail"></wf-history>
+          </el-card>
+        </el-tab-pane>
+      </el-tabs>
+    </el-card>
+  </div>
+</template>
+
+<script>
+  import {
+    mapGetters
+  } from 'vuex'
+  import api from '@/api/oilsupplier/supplier'
+  import apiCert from '@/api/oilsupplier/suppliercert'
+  import SupplierFileTable from '@/pages/oilsupplier/supplierfile/table.vue'
+  import WfHistory from '@/components/workflow/wfhistory.vue'
+  import SupplierCertEdit from '@/components/oilsupplier/suppliercertedit.vue'
+
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
+  import AuditbusList from '@/components/oilsupplier/auditbuslist'
+  import BasisInfo from '@/components/oilsupplier/basisinfo'
+
+  export default {
+    components: {
+      SupplierFileTable,
+      WfHistory,
+      SupplierCertEdit,
+
+      EquipmentList, //企业主要装备情况
+      PerformanceList, //近三年主要工程业绩列表
+      PatentList, //拥有专利、专有技术及工法列表
+      WinningList, //近三年获得省部级及以上主要技术、管理成果、获奖项目列表
+      AuditbusList, //待审核业务
+      BasisInfo
+    },
+    computed: {
+      ...mapGetters({
+        authUser: 'authUser'
+      })
+    },
+    name: 'oilsupplierEdit',
+
+    data() {
+      return {
+        equipmentList: [], //企业主要装备情况
+        performanceList: [], //近三年主要工程业绩
+        patentList: [], //拥有专利、专有技术及工法
+        winningList: [], //近三年获得省部级及以上主要技术、管理成果、获奖项目
+        auditbusList: [], //待审核业务
+
+        serviceId: '',
+        certId: '',
+        classId: '02',
+        dictData: null,
+
+        formData: {
+          Id: '',
+          SupplierName: '',
+          OilCertificateNo: '',
+          Grade: '',
+          MgrUnit: '',
+          OperType: '',
+          Country: '',
+          MaunAgent: '',
+          ConstructTeam: '',
+          CommercialNo: '',
+          OrganCode: '',
+          CountryTaxNo: '',
+          LocalTaxNo: '',
+          Address: '',
+          Province: '',
+          City: '',
+          Street: '',
+          HouseNo: '',
+          ZipCode: '',
+          QualitySystemCert: '',
+          ProductQualityCert: '',
+          MaunLicense: '',
+          QualifCert: '',
+          QualifCertLevel: '',
+          SafetyLicense: '',
+          TechServiceLic: '',
+          TJInNotify: '',
+          SpecIndustryCert: '',
+          LegalPerson: '',
+          CategoryCode: '',
+          CategoryName: '',
+          RegCapital: '',
+          Currency: '',
+          ContactName: '',
+          CompanyType: '',
+          SetupTime: '',
+          DepositBank: '',
+          BankAccount: '',
+          EMail: '',
+          BankCreditRating: '',
+          Mobile: '',
+          Telphone: '',
+          Fax: '',
+          CompanyTel: '',
+          QQ: '',
+          CompanyUrl: '',
+          SpecSupplier: '',
+          SpecTypeCode: '',
+          SpecTypeName: '',
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Remark: '',
+          IsDelete: '',
+          CreateOn: '',
+          CreateUserId: '',
+          CreateBy: '',
+          ModifiedOn: '',
+          ModifiedUserId: '',
+          ModifiedBy: '',
+          CertId: 0,
+          SupplierTypeCode: '02',
+          SupplierTypeName: '基建类',
+          Step: 0
+        },
+
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        entrydetail: {
+          process: 'oil_supplier_apply',
+          business: '',
+          instance: ''
+        }
+      }
+    },
+    created() {
+
+      this.serviceId = this.$route.params.opera + ''
+      this.certId = this.$route.query.certid + ''
+      if (this.serviceId !== 'add' && this.serviceId > 0) {
+        this.formData.Id = this.serviceId
+      } else {
+        this.formData.Id = 0
+      }
+      this.getDictOptions()
+      this.initDatas()
+    },
+    methods: {
+      equipmentdialog() {
+        this.$refs["equipmentList"].showDialog()
+      },
+      performancedialog() {
+        this.$refs["performanceList"].showDialog()
+      },
+      patentdialog() {
+        this.$refs["patentList"].showDialog()
+      },
+      winningdialog() {
+        this.$refs["winningList"].showDialog()
+      },
+
+      initDatas () {
+        if (this.formData.Id) {
+          api.getEntityAndCert(this.certId, this.$axios).then(res => {
+            this.formData = res.data
+            this.formDataCert.WorkerTotal = this.formData.WorkerTotal
+            this.formDataCert.ContractNum = this.formData.ContractNum
+            this.formDataCert.UniversityNum = this.formData.UniversityNum
+            this.formDataCert.TechnicalNum = this.formData.TechnicalNum
+            this.formDataCert.AboveProfNum = this.formData.AboveProfNum
+            this.formDataCert.MiddleProfNum = this.formData.MiddleProfNum
+            this.formDataCert.NationalRegNum = this.formData.NationalRegNum
+            this.formDataCert.NationalCertTotal = this.formData.NationalCertTotal
+            this.formDataCert.DesignerTotal = this.formData.DesignerTotal
+            this.formDataCert.SkillerTotal = this.formData.SkillerTotal
+            this.formDataCert.Status = this.formData.Status
+            this.formDataCert.WorkflowId = this.formData.WorkflowId
+
+            this.entrydetail.business = this.certId
+            this.entrydetail.instance = this.formDataCert.WorkflowId
+          }).catch(err => {
+            console.error(err)
+          });
+        }
+      },
+
+      getDictOptions () {
+        api.getDictList(this.$axios).then(res => {
+          this.dictData = res.data.items
+        }).catch(err => {
+          console.error(err)
+        })
+      },
+
+      //保存信息
+      saveEntity() {
+        this.$refs['EntityForm'].validate((valid) => {
+          if (valid) {
+            //this.formData.WellNo = this.$refs.selectWellNo.selectedLabel + '';
+            if (!this.formData.Id) {
+              this.addEntity()
+            } else {
+              this.updateEntity()
+            }
+
+          } else {
+            return false
+          }
+        })
+      },
+
+      //保存信息
+      saveCertEntity() {
+        this.$refs['SupplierCertEditCompoment'].saveEntity()
+      },
+
+      addEntity() {
+        this.formData.SupplierTypeCode = '02'
+        this.formData.SupplierTypeName = '基建类'
+        api.addEntity(this.formData, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.formData.Id = res.data.item.split('_')[0]
+            this.certId = res.data.item.split('_')[1]
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      updateEntity() {
+        api.updateEntity(this.formData.Id, this.formData, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      CheckCompanyBase() {
+        if (!this.formData.Id) {
+          this.$message({
+            type: 'error',
+            message: '无法保存,请先填写企业基本信息'
+          })
+          return false
+        }
+        if (!this.certId) {
+          this.$message({
+            type: 'error',
+            message: '准入类别不清晰,无法保存!'
+          })
+          return false
+        }
+        return true
+      },
+      //企业人员结构情况
+      updateNumberEntity() {
+        if (!this.CheckCompanyBase()) {
+          return false
+        }
+        api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      AuditEntity() {
+        apiCert.auditEntity(this.certId, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      jstimehandle(val) {
+        if (val === '') {
+          return '----'
+        } else if (val === '0001-01-01T08:00:00+08:00') {
+          return '----'
+        } else if (val === '5000-01-01T23:59:59+08:00') {
+          return '永久'
+        } else {
+          val = val.replace('T', ' ')
+          return val.substring(0, 10)
+        }
+      },
+
+      formatDateTime(date) {
+        var y = date.getFullYear();
+        var m = date.getMonth() + 1;
+        m = m < 10 ? ('0' + m) : m;
+        var d = date.getDate();
+        d = d < 10 ? ('0' + d) : d;
+        var h = date.getHours();
+        var minute = date.getMinutes();
+        minute = minute < 10 ? ('0' + minute) : minute;
+        return y + '-' + m + '-' + d + ' ' + h + ':' + minute;
+      }
+    }
+  }
+
+</script>
+
+<style lang="scss">
+
+</style>

+ 528 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/professionaudit/_opera/goodsedit.vue

@@ -0,0 +1,528 @@
+<template>
+  <div>
+    <el-breadcrumb class="heading">
+      <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
+      <el-breadcrumb-item :to="{ path: '/oilsupplier/supplieraudit' }">准入审核列表</el-breadcrumb-item>
+      <el-breadcrumb-item>技术服务-准入审核</el-breadcrumb-item>
+    </el-breadcrumb>
+    <el-card class="box-card">
+      <div slot="header">
+        <span>
+          <i class="icon icon-table2"></i> 审批
+        </span>
+        <span style="float: right;">
+          <router-link :to="'/oilsupplier/supplieraudit'">
+            <el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
+          </router-link>
+        </span>
+      </div>
+
+      <el-tabs tab-position="right">
+        <el-tab-pane label="企业信息">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>供方基本信息表</span>
+            </div>
+            <goods-info ref="TechInfo" :formData.sync="formData" :dictData.sync="dictData" :disabled="true"></goods-info>
+          </el-card>
+        </el-tab-pane>
+
+        <el-tab-pane label="企业情况">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" ref="EntityFormNumber" :model="formDataCert">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数">
+                    <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量">
+                    <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数">
+                    <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+              </el-row>
+            </el-form>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>企业主要装备情况</span>
+            </div>
+            <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId" height="360px"
+                            style="margin-top: 20px"></equipment-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>近三年主要工程业绩</span>
+            </div>
+            <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" height="360px"
+                              style="margin-top: 20px"></performance-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>拥有专利、专有技术及工法</span>
+            </div>
+            <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" height="360px"
+                         style="margin-top: 20px">
+            </patent-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
+            </div>
+            <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" height="360px"
+                          style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+
+        <el-tab-pane label="审批意见">
+          <auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId"
+                         :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></auditbus-list>
+        </el-tab-pane>
+
+        <el-tab-pane label="流程查看">
+          <el-card class="box-card" style="margin-top: 20px">
+            <div slot="header" class="clearfix">
+              <span>审批流程</span>
+            </div>
+            <wf-history :entryinfo="entrydetail"></wf-history>
+          </el-card>
+        </el-tab-pane>
+      </el-tabs>
+    </el-card>
+  </div>
+</template>
+
+<script>
+  import {
+    mapGetters
+  } from 'vuex'
+  import api from '@/api/oilsupplier/supplier'
+  import apiCert from '@/api/oilsupplier/suppliercert'
+  import SupplierFileTable from '@/pages/oilsupplier/supplierfile/table.vue'
+  import WfHistory from '@/components/workflow/wfhistory.vue'
+  import SupplierCertEdit from '@/components/oilsupplier/suppliercertedit.vue'
+
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
+  import AuditbusList from '@/components/oilsupplier/auditbuslist'
+  import GoodsInfo from '@/components/oilsupplier/goodsinfo'
+
+  export default {
+    components: {
+      SupplierFileTable,
+      WfHistory,
+      SupplierCertEdit,
+
+      EquipmentList, //企业主要装备情况
+      PerformanceList, //近三年主要工程业绩列表
+      PatentList, //拥有专利、专有技术及工法列表
+      WinningList, //近三年获得省部级及以上主要技术、管理成果、获奖项目列表
+      AuditbusList, //待审核业务
+      GoodsInfo
+    },
+    computed: {
+      ...mapGetters({
+        authUser: 'authUser'
+      })
+    },
+    name: 'oilsupplierEdit',
+
+    data() {
+      return {
+        equipmentList: [], //企业主要装备情况
+        performanceList: [], //近三年主要工程业绩
+        patentList: [], //拥有专利、专有技术及工法
+        winningList: [], //近三年获得省部级及以上主要技术、管理成果、获奖项目
+        auditbusList: [], //待审核业务
+
+        serviceId: '',
+        certId: '',
+        classId: '01',
+        dictData: null,
+
+        formData: {
+          Id: '',
+          SupplierName: '',
+          OilCertificateNo: '',
+          Grade: '',
+          MgrUnit: '',
+          OperType: '',
+          Country: '',
+          MaunAgent: '',
+          ConstructTeam: '',
+          CommercialNo: '',
+          OrganCode: '',
+          CountryTaxNo: '',
+          LocalTaxNo: '',
+          Address: '',
+          Province: '',
+          City: '',
+          Street: '',
+          HouseNo: '',
+          ZipCode: '',
+          QualitySystemCert: '',
+          ProductQualityCert: '',
+          MaunLicense: '',
+          QualifCert: '',
+          QualifCertLevel: '',
+          SafetyLicense: '',
+          TechServiceLic: '',
+          TJInNotify: '',
+          SpecIndustryCert: '',
+          LegalPerson: '',
+          CategoryCode: '',
+          CategoryName: '',
+          RegCapital: '',
+          Currency: '',
+          ContactName: '',
+          CompanyType: '',
+          SetupTime: '',
+          DepositBank: '',
+          BankAccount: '',
+          EMail: '',
+          BankCreditRating: '',
+          Mobile: '',
+          Telphone: '',
+          Fax: '',
+          CompanyTel: '',
+          QQ: '',
+          CompanyUrl: '',
+          SpecSupplier: '',
+          SpecTypeCode: '',
+          SpecTypeName: '',
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Remark: '',
+          IsDelete: '',
+          CreateOn: '',
+          CreateUserId: '',
+          CreateBy: '',
+          ModifiedOn: '',
+          ModifiedUserId: '',
+          ModifiedBy: '',
+          CertId: 0,
+          SupplierTypeCode: '01',
+          SupplierTypeName: '物资类',
+          Step: 0
+        },
+
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        entrydetail: {
+          process: 'oil_supplier_apply',
+          business: '',
+          instance: ''
+        }
+      }
+    },
+    created() {
+
+      this.serviceId = this.$route.params.opera + ''
+      this.certId = this.$route.query.certid + ''
+      if (this.serviceId !== 'add' && this.serviceId > 0) {
+        this.formData.Id = this.serviceId
+      } else {
+        this.formData.Id = 0
+      }
+      this.getDictOptions()
+      this.initDatas()
+    },
+    methods: {
+      equipmentdialog() {
+        this.$refs["equipmentList"].showDialog()
+      },
+      performancedialog() {
+        this.$refs["performanceList"].showDialog()
+      },
+      patentdialog() {
+        this.$refs["patentList"].showDialog()
+      },
+      winningdialog() {
+        this.$refs["winningList"].showDialog()
+      },
+
+      initDatas () {
+        if (this.formData.Id) {
+          api.getEntityAndCert(this.certId, this.$axios).then(res => {
+            this.formData = res.data
+            this.formDataCert.WorkerTotal = this.formData.WorkerTotal
+            this.formDataCert.ContractNum = this.formData.ContractNum
+            this.formDataCert.UniversityNum = this.formData.UniversityNum
+            this.formDataCert.TechnicalNum = this.formData.TechnicalNum
+            this.formDataCert.AboveProfNum = this.formData.AboveProfNum
+            this.formDataCert.MiddleProfNum = this.formData.MiddleProfNum
+            this.formDataCert.NationalRegNum = this.formData.NationalRegNum
+            this.formDataCert.NationalCertTotal = this.formData.NationalCertTotal
+            this.formDataCert.DesignerTotal = this.formData.DesignerTotal
+            this.formDataCert.SkillerTotal = this.formData.SkillerTotal
+            this.formDataCert.Status = this.formData.Status
+            this.formDataCert.WorkflowId = this.formData.WorkflowId
+
+            this.entrydetail.business = this.certId
+            this.entrydetail.instance = this.formDataCert.WorkflowId
+          }).catch(err => {
+            console.error(err)
+          });
+        }
+      },
+
+      getDictOptions () {
+        api.getDictList(this.$axios).then(res => {
+          this.dictData = res.data.items
+        }).catch(err => {
+          console.error(err)
+        })
+      },
+
+      //保存信息
+      saveEntity() {
+        this.$refs['EntityForm'].validate((valid) => {
+          if (valid) {
+            //this.formData.WellNo = this.$refs.selectWellNo.selectedLabel + '';
+            if (!this.formData.Id) {
+              this.addEntity()
+            } else {
+              this.updateEntity()
+            }
+
+          } else {
+            return false
+          }
+        })
+      },
+
+      //保存信息
+      saveCertEntity() {
+        this.$refs['SupplierCertEditCompoment'].saveEntity()
+      },
+
+      addEntity() {
+        this.formData.SupplierTypeCode = '02'
+        this.formData.SupplierTypeName = '物资类'
+        api.addEntity(this.formData, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.formData.Id = res.data.item.split('_')[0]
+            this.certId = res.data.item.split('_')[1]
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      updateEntity() {
+        api.updateEntity(this.formData.Id, this.formData, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      CheckCompanyBase() {
+        if (!this.formData.Id) {
+          this.$message({
+            type: 'error',
+            message: '无法保存,请先填写企业基本信息'
+          })
+          return false
+        }
+        if (!this.certId) {
+          this.$message({
+            type: 'error',
+            message: '准入类别不清晰,无法保存!'
+          })
+          return false
+        }
+        return true
+      },
+      //企业人员结构情况
+      updateNumberEntity() {
+        if (!this.CheckCompanyBase()) {
+          return false
+        }
+        api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      AuditEntity() {
+        apiCert.auditEntity(this.certId, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      jstimehandle(val) {
+        if (val === '') {
+          return '----'
+        } else if (val === '0001-01-01T08:00:00+08:00') {
+          return '----'
+        } else if (val === '5000-01-01T23:59:59+08:00') {
+          return '永久'
+        } else {
+          val = val.replace('T', ' ')
+          return val.substring(0, 10)
+        }
+      },
+
+      formatDateTime(date) {
+        var y = date.getFullYear();
+        var m = date.getMonth() + 1;
+        m = m < 10 ? ('0' + m) : m;
+        var d = date.getDate();
+        d = d < 10 ? ('0' + d) : d;
+        var h = date.getHours();
+        var minute = date.getMinutes();
+        minute = minute < 10 ? ('0' + minute) : minute;
+        return y + '-' + m + '-' + d + ' ' + h + ':' + minute;
+      }
+    }
+  }
+
+</script>
+
+<style lang="scss">
+
+</style>

+ 528 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/professionaudit/_opera/techedit.vue

@@ -0,0 +1,528 @@
+<template>
+  <div>
+    <el-breadcrumb class="heading">
+      <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
+      <el-breadcrumb-item :to="{ path: '/oilsupplier/professionaudit' }">专业审核列表</el-breadcrumb-item>
+      <el-breadcrumb-item>专业审核</el-breadcrumb-item>
+    </el-breadcrumb>
+    <el-card class="box-card">
+      <div slot="header">
+        <span>
+          <i class="icon icon-table2"></i> 审批
+        </span>
+        <span style="float: right;">
+          <router-link :to="'/oilsupplier/supplieraudit'">
+            <el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
+          </router-link>
+        </span>
+      </div>
+
+      <el-tabs tab-position="right">
+        <el-tab-pane label="企业信息">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>供方基本信息表</span>
+            </div>
+            <tech-info ref="TechInfo" :formData.sync="formData" :dictData.sync="dictData" :disabled="true"></tech-info>
+          </el-card>
+        </el-tab-pane>
+
+        <el-tab-pane label="企业情况">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" ref="EntityFormNumber" :model="formDataCert">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数">
+                    <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量">
+                    <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数">
+                    <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
+                      style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+              </el-row>
+            </el-form>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>企业主要装备情况</span>
+            </div>
+            <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId" height="360px"
+              style="margin-top: 20px"></equipment-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>近三年主要工程业绩</span>
+            </div>
+            <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" height="360px"
+              style="margin-top: 20px"></performance-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>拥有专利、专有技术及工法</span>
+            </div>
+            <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" height="360px"
+              style="margin-top: 20px">
+            </patent-list>
+          </el-card>
+
+          <el-card class="box-card" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
+            </div>
+            <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" height="360px"
+              style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+
+        <el-tab-pane label="审批意见">
+          <auditbus-list ref="auditbusList" :data="auditbusList" :SupplierCertId="certId" :SupplierId="serviceId"
+            :SupplierTypeCode="classId" height="360px" style="margin-top: 20px"></auditbus-list>
+        </el-tab-pane>
+
+        <el-tab-pane label="流程查看">
+          <el-card class="box-card" style="margin-top: 20px">
+            <div slot="header" class="clearfix">
+              <span>审批流程</span>
+            </div>
+            <wf-history :entryinfo="entrydetail"></wf-history>
+          </el-card>
+        </el-tab-pane>
+      </el-tabs>
+    </el-card>
+  </div>
+</template>
+
+<script>
+  import {
+    mapGetters
+  } from 'vuex'
+  import api from '@/api/oilsupplier/supplier'
+  import apiCert from '@/api/oilsupplier/suppliercert'
+  import SupplierFileTable from '@/pages/oilsupplier/supplierfile/table.vue'
+  import WfHistory from '@/components/workflow/wfhistory.vue'
+  import SupplierCertEdit from '@/components/oilsupplier/suppliercertedit.vue'
+
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
+  import AuditbusList from '@/components/oilsupplier/auditbuslist'
+  import TechInfo from '@/components/oilsupplier/techinfo'
+
+  export default {
+    components: {
+      SupplierFileTable,
+      WfHistory,
+      SupplierCertEdit,
+
+      EquipmentList, //企业主要装备情况
+      PerformanceList, //近三年主要工程业绩列表
+      PatentList, //拥有专利、专有技术及工法列表
+      WinningList, //近三年获得省部级及以上主要技术、管理成果、获奖项目列表
+      AuditbusList, //待审核业务
+      TechInfo
+    },
+    computed: {
+      ...mapGetters({
+        authUser: 'authUser'
+      })
+    },
+    name: 'oilsupplierEdit',
+
+    data() {
+      return {
+        equipmentList: [], //企业主要装备情况
+        performanceList: [], //近三年主要工程业绩
+        patentList: [], //拥有专利、专有技术及工法
+        winningList: [], //近三年获得省部级及以上主要技术、管理成果、获奖项目
+        auditbusList: [], //待审核业务
+
+        serviceId: '',
+        certId: '',
+        classId: '03',
+        dictData: null,
+
+        formData: {
+          Id: '',
+          SupplierName: '',
+          OilCertificateNo: '',
+          Grade: '',
+          MgrUnit: '',
+          OperType: '',
+          Country: '',
+          MaunAgent: '',
+          ConstructTeam: '',
+          CommercialNo: '',
+          OrganCode: '',
+          CountryTaxNo: '',
+          LocalTaxNo: '',
+          Address: '',
+          Province: '',
+          City: '',
+          Street: '',
+          HouseNo: '',
+          ZipCode: '',
+          QualitySystemCert: '',
+          ProductQualityCert: '',
+          MaunLicense: '',
+          QualifCert: '',
+          QualifCertLevel: '',
+          SafetyLicense: '',
+          TechServiceLic: '',
+          TJInNotify: '',
+          SpecIndustryCert: '',
+          LegalPerson: '',
+          CategoryCode: '',
+          CategoryName: '',
+          RegCapital: '',
+          Currency: '',
+          ContactName: '',
+          CompanyType: '',
+          SetupTime: '',
+          DepositBank: '',
+          BankAccount: '',
+          EMail: '',
+          BankCreditRating: '',
+          Mobile: '',
+          Telphone: '',
+          Fax: '',
+          CompanyTel: '',
+          QQ: '',
+          CompanyUrl: '',
+          SpecSupplier: '',
+          SpecTypeCode: '',
+          SpecTypeName: '',
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Remark: '',
+          IsDelete: '',
+          CreateOn: '',
+          CreateUserId: '',
+          CreateBy: '',
+          ModifiedOn: '',
+          ModifiedUserId: '',
+          ModifiedBy: '',
+          CertId: 0,
+          SupplierTypeCode: '03',
+          SupplierTypeName: '技术服务类',
+          Step: 0
+        },
+
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        entrydetail: {
+          process: 'oil_supplier_apply',
+          business: '',
+          instance: ''
+        }
+      }
+    },
+    created() {
+
+      this.serviceId = this.$route.params.opera + ''
+      this.certId = this.$route.query.certid + ''
+      if (this.serviceId !== 'add' && this.serviceId > 0) {
+        this.formData.Id = this.serviceId
+      } else {
+        this.formData.Id = 0
+      }
+      this.getDictOptions()
+      this.initDatas()
+    },
+    methods: {
+      equipmentdialog() {
+        this.$refs["equipmentList"].showDialog()
+      },
+      performancedialog() {
+        this.$refs["performanceList"].showDialog()
+      },
+      patentdialog() {
+        this.$refs["patentList"].showDialog()
+      },
+      winningdialog() {
+        this.$refs["winningList"].showDialog()
+      },
+
+      initDatas () {
+        if (this.formData.Id) {
+          api.getEntityAndCert(this.certId, this.$axios).then(res => {
+            this.formData = res.data
+            this.formDataCert.WorkerTotal = this.formData.WorkerTotal
+            this.formDataCert.ContractNum = this.formData.ContractNum
+            this.formDataCert.UniversityNum = this.formData.UniversityNum
+            this.formDataCert.TechnicalNum = this.formData.TechnicalNum
+            this.formDataCert.AboveProfNum = this.formData.AboveProfNum
+            this.formDataCert.MiddleProfNum = this.formData.MiddleProfNum
+            this.formDataCert.NationalRegNum = this.formData.NationalRegNum
+            this.formDataCert.NationalCertTotal = this.formData.NationalCertTotal
+            this.formDataCert.DesignerTotal = this.formData.DesignerTotal
+            this.formDataCert.SkillerTotal = this.formData.SkillerTotal
+            this.formDataCert.Status = this.formData.Status
+            this.formDataCert.WorkflowId = this.formData.WorkflowId
+
+            this.entrydetail.business = this.certId
+            this.entrydetail.instance = this.formDataCert.WorkflowId
+          }).catch(err => {
+            console.error(err)
+          });
+        }
+      },
+
+      getDictOptions () {
+        api.getDictList(this.$axios).then(res => {
+          this.dictData = res.data.items
+        }).catch(err => {
+         console.error(err)
+         })
+      },
+
+      //保存信息
+      saveEntity() {
+        this.$refs['EntityForm'].validate((valid) => {
+          if (valid) {
+            //this.formData.WellNo = this.$refs.selectWellNo.selectedLabel + '';
+            if (!this.formData.Id) {
+              this.addEntity()
+            } else {
+              this.updateEntity()
+            }
+
+          } else {
+            return false
+          }
+        })
+      },
+
+      //保存信息
+      saveCertEntity() {
+        this.$refs['SupplierCertEditCompoment'].saveEntity()
+      },
+
+      addEntity() {
+        this.formData.SupplierTypeCode = '03'
+        this.formData.SupplierTypeName = '技术服务类'
+        api.addEntity(this.formData, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.formData.Id = res.data.item.split('_')[0]
+            this.certId = res.data.item.split('_')[1]
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      updateEntity() {
+        api.updateEntity(this.formData.Id, this.formData, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      CheckCompanyBase() {
+        if (!this.formData.Id) {
+          this.$message({
+            type: 'error',
+            message: '无法保存,请先填写企业基本信息'
+          })
+          return false
+        }
+        if (!this.certId) {
+          this.$message({
+            type: 'error',
+            message: '准入类别不清晰,无法保存!'
+          })
+          return false
+        }
+        return true
+      },
+      //企业人员结构情况
+      updateNumberEntity() {
+        if (!this.CheckCompanyBase()) {
+          return false
+        }
+        api.updateNumberEntity(this.formData.Id + '_' + this.certId, this.formDataCert, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      AuditEntity() {
+        apiCert.auditEntity(this.certId, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            //保存成功后,初始化数据,变成修改
+            this.initDatas()
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      jstimehandle(val) {
+        if (val === '') {
+          return '----'
+        } else if (val === '0001-01-01T08:00:00+08:00') {
+          return '----'
+        } else if (val === '5000-01-01T23:59:59+08:00') {
+          return '永久'
+        } else {
+          val = val.replace('T', ' ')
+          return val.substring(0, 10)
+        }
+      },
+
+      formatDateTime(date) {
+        var y = date.getFullYear();
+        var m = date.getMonth() + 1;
+        m = m < 10 ? ('0' + m) : m;
+        var d = date.getDate();
+        d = d < 10 ? ('0' + d) : d;
+        var h = date.getHours();
+        var minute = date.getMinutes();
+        minute = minute < 10 ? ('0' + minute) : minute;
+        return y + '-' + m + '-' + d + ' ' + h + ':' + minute;
+      }
+    }
+  }
+
+</script>
+
+<style lang="scss">
+
+</style>

+ 1032 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/professionaudit/index.vue

@@ -0,0 +1,1032 @@
+<template>
+  <div>
+    <el-breadcrumb class="heading">
+      <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
+      <el-breadcrumb-item :to="{ path: '/oilsupplier/professionaudit' }">专业审核列表</el-breadcrumb-item>
+    </el-breadcrumb>
+    <el-card class="box-card" style="height: calc(100vh - 115px);">
+      <div slot="header">
+        <span>
+          <i class="icon icon-table2"></i> 专业审核列表
+        </span>
+        <!--<span style="float: right;">
+          <router-link :to="'/oilsupplier/supplier/add/auditedit'">
+            <el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;">添加</el-button>
+          </router-link>
+        </span>-->
+        <el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
+          <el-form-item label="上报时间">
+            <el-date-picker size="mini" style="width: 220px" v-model="CreateOn" type="daterange" range-separator="至"
+                            start-placeholder="生成日期" end-placeholder="结束日期"></el-date-picker>
+          </el-form-item>
+
+          <el-form-item>
+            <el-dropdown split-button type="primary" size="mini" @click="handleSearch" @command="searchCommand">
+              查询
+              <el-dropdown-menu slot="dropdown">
+                <el-dropdown-item command="search">高级查询</el-dropdown-item>
+                <el-dropdown-item command="clear">查询重置</el-dropdown-item>
+              </el-dropdown-menu>
+            </el-dropdown>
+          </el-form-item>
+        </el-form>
+      </div>
+      <el-table :data="entityList" border height="calc(100vh - 246px)" style="width: 100%" @sort-change="orderby">
+        <el-table-column label="操作" min-width="90" align="center" fixed>
+          <template slot-scope="scope">
+            <router-link :to="'/oilsupplier/professionaudit/' + scope.row.Id + '/' + (scope.row.SupplierTypeCode === '01' ? 'goodsedit' : (scope.row.SupplierTypeCode === '02' ? 'basisedit' : 'techedit')) + '?certid=' + scope.row.CertId">
+              <el-button type="primary" plain size="mini" title="审核">审核</el-button>
+            </router-link>
+
+            <!--<el-popover placement="top" title="提示">
+              <el-alert
+                title=""
+                description="确认要删除吗?"
+                type="warning"
+                :closable="false">
+              </el-alert>
+              <br/>
+              <div style="text-align: center; margin: 0">
+                <el-button type="primary" size="mini" @click="deleteEntity(scope.row)">删除</el-button>
+              </div>
+              <el-button slot="reference" type="plain" style="margin-left:3px" size="small">删除</el-button>
+            </el-popover>-->
+          </template>
+        </el-table-column>
+
+        <el-table-column v-for="column in tableColumns" :key="column.Id"
+                         v-if="column.prop != 'CreateOn'" :prop="column.prop" sortable :width="column.width" :label="column.label" align="center" show-overflow-tooltip></el-table-column>
+
+        <!--<el-table-column prop="CreateOn" sortable min-width="150" label="生成时间" align="center" show-overflow-tooltip>
+          <template slot-scope="scope">
+            {{ jstimehandle(scope.row.CreateOn+'') }}
+          </template>
+        </el-table-column>-->
+      </el-table>
+      <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
+                     :page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper" :total="currentItemCount">
+      </el-pagination>
+    </el-card>
+
+    <el-dialog title="高级查询" :visible.sync="dialogVisible" width="720px">
+      <el-form ref="advancedsearchForm" label-width="110px">
+        <el-row>
+
+          <el-col :span="12">
+            <el-form-item label="生成时间">
+              <el-date-picker size="mini" v-model="CreateOn" type="daterange" style="width:100%" range-separator="至"
+                              start-placeholder="生成日期" end-placeholder="结束日期"></el-date-picker>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.Id" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="企业名称">
+              <el-input size="mini" v-model="searchForm.SupplierName" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="中石油供应商证书号">
+              <el-input size="mini" v-model="searchForm.OilCertificateNo" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="级别">
+              <el-input size="mini" v-model="searchForm.Grade" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="管理单位">
+              <el-input size="mini" v-model="searchForm.MgrUnit" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="经营方式">
+              <el-input size="mini" v-model="searchForm.OperType" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="国家">
+              <el-input size="mini" v-model="searchForm.Country" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="所代理制造商名称">
+              <el-input size="mini" v-model="searchForm.MaunAgent" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="施工队伍名称">
+              <el-input size="mini" v-model="searchForm.ConstructTeam" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="工商注册号">
+              <el-input size="mini" v-model="searchForm.CommercialNo" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="组织机构代码">
+              <el-input size="mini" v-model="searchForm.OrganCode" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="税务登记证国税编号">
+              <el-input size="mini" v-model="searchForm.CountryTaxNo" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="税务登记证地税编号">
+              <el-input size="mini" v-model="searchForm.LocalTaxNo" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="单位地址">
+              <el-input size="mini" v-model="searchForm.Address" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="省直辖市">
+              <el-input size="mini" v-model="searchForm.Province" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="地市区县">
+              <el-input size="mini" v-model="searchForm.City" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="街道">
+              <el-input size="mini" v-model="searchForm.Street" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="门牌号">
+              <el-input size="mini" v-model="searchForm.HouseNo" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="邮编">
+              <el-input size="mini" v-model="searchForm.ZipCode" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="质量管理体系认证情况及认证机构">
+              <el-input size="mini" v-model="searchForm.QualitySystemCert" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="产品质量认证情况及认证机构">
+              <el-input size="mini" v-model="searchForm.ProductQualityCert" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="生产制造许可证获证情况及编号">
+              <el-input size="mini" v-model="searchForm.MaunLicense" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="企业资质证书编号">
+              <el-input size="mini" v-model="searchForm.QualifCert" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="企业资质证书级别">
+              <el-input size="mini" v-model="searchForm.QualifCertLevel" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="安全生产许可证">
+              <el-input size="mini" v-model="searchForm.SafetyLicense" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="技术服务类准入许可证">
+              <el-input size="mini" v-model="searchForm.TechServiceLic" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="外地企业进津备案通知书">
+              <el-input size="mini" v-model="searchForm.TJInNotify" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="行业特殊要求的认证证书">
+              <el-input size="mini" v-model="searchForm.SpecIndustryCert" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="法定代表人姓名">
+              <el-input size="mini" v-model="searchForm.LegalPerson" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="行业类别代码">
+              <el-input size="mini" v-model="searchForm.CategoryCode" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="行业类别名称">
+              <el-input size="mini" v-model="searchForm.CategoryName" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="注册资本">
+              <el-input size="mini" v-model="searchForm.RegCapital" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="币种">
+              <el-input size="mini" v-model="searchForm.Currency" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="联系人姓名">
+              <el-input size="mini" v-model="searchForm.ContactName" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="公司类型">
+              <el-input size="mini" v-model="searchForm.CompanyType" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="成立时间">
+              <el-input size="mini" v-model="searchForm.SetupTime" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="开户银行">
+              <el-input size="mini" v-model="searchForm.DepositBank" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="银行账号">
+              <el-input size="mini" v-model="searchForm.BankAccount" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="电子邮箱">
+              <el-input size="mini" v-model="searchForm.EMail" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="银行信用等级">
+              <el-input size="mini" v-model="searchForm.BankCreditRating" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="移动电话">
+              <el-input size="mini" v-model="searchForm.Mobile" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="固定电话">
+              <el-input size="mini" v-model="searchForm.Telphone" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="传真">
+              <el-input size="mini" v-model="searchForm.Fax" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="公司电话">
+              <el-input size="mini" v-model="searchForm.CompanyTel" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="QQ号码">
+              <el-input size="mini" v-model="searchForm.QQ" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="公司网址">
+              <el-input size="mini" v-model="searchForm.CompanyUrl" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="是否特殊业务供应商(可不招标)">
+              <el-input size="mini" v-model="searchForm.SpecSupplier" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)">
+              <el-input size="mini" v-model="searchForm.SpecTypeCode" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)">
+              <el-input size="mini" v-model="searchForm.SpecTypeName" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="备注">
+              <el-input size="mini" v-model="searchForm.Remark" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="删除状态,0正常,1已删除">
+              <el-input size="mini" v-model="searchForm.IsDelete" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.CreateOn" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.CreateUserId" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.CreateBy" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.ModifiedOn" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.ModifiedUserId" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="">
+              <el-input size="mini" v-model="searchForm.ModifiedBy" style="width:100%" placeholder="请输入"></el-input>
+            </el-form-item>
+          </el-col>
+
+        </el-row>
+      </el-form>
+      <span slot="footer" class="dialog-footer">
+        <el-button size="mini" @click="dialogVisible = false">取 消</el-button>
+        <el-button size="mini" type="primary" @click="handleSearch">查 询</el-button>
+      </span>
+    </el-dialog>
+
+  </div>
+</template>
+<script>
+  import { mapGetters } from 'vuex';
+  import api from '@/api/oilsupplier/supplier';
+
+  export default {
+    computed: {
+      ...mapGetters({
+        authUser: 'authUser'
+      })
+    },
+    name: 'oilsupplieraudit',
+
+    data() {
+      return {
+        dialogVisible: false,
+        //列表数据
+        entityList: [],
+        //分页参数
+        size: 10,
+        currentPage: 1,
+        currentItemCount: 0,
+        //列表排序
+        Column: {
+          Order: '',
+          Prop: ''
+        },
+        //查询时间
+        CreateOn: [new Date(new Date().getTime() - 30 * 24 * 60 * 60 * 1000), new Date()],
+        //查询项
+        searchFormReset: {},
+        searchForm: {
+          Id: '',
+          SupplierName: '',
+          OilCertificateNo: '',
+          Grade: '',
+          MgrUnit: '',
+          OperType: '',
+          Country: '',
+          MaunAgent: '',
+          ConstructTeam: '',
+          CommercialNo: '',
+          OrganCode: '',
+          CountryTaxNo: '',
+          LocalTaxNo: '',
+          Address: '',
+          Province: '',
+          City: '',
+          Street: '',
+          HouseNo: '',
+          ZipCode: '',
+          QualitySystemCert: '',
+          ProductQualityCert: '',
+          MaunLicense: '',
+          QualifCert: '',
+          QualifCertLevel: '',
+          SafetyLicense: '',
+          TechServiceLic: '',
+          TJInNotify: '',
+          SpecIndustryCert: '',
+          LegalPerson: '',
+          CategoryCode: '',
+          CategoryName: '',
+          RegCapital: '',
+          Currency: '',
+          ContactName: '',
+          CompanyType: '',
+          SetupTime: '',
+          DepositBank: '',
+          BankAccount: '',
+          EMail: '',
+          BankCreditRating: '',
+          Mobile: '',
+          Telphone: '',
+          Fax: '',
+          CompanyTel: '',
+          QQ: '',
+          CompanyUrl: '',
+          SpecSupplier: '',
+          SpecTypeCode: '',
+          SpecTypeName: '',
+          Remark: '',
+          IsDelete: '',
+          CreateOn: '',
+          CreateUserId: '',
+          CreateBy: '',
+          ModifiedOn: '',
+          ModifiedUserId: '',
+          ModifiedBy: ''
+
+        },
+        tableColumns: [
+
+          /*{
+           prop: "Id",
+           label: '',
+           width: 100,
+           sort: true
+           },*/
+
+          {
+            prop: "AccessCardNo",
+            label: '准入证编号',
+            width: 260,
+            sort: true
+          },
+
+          {
+            prop: "SupplierTypeName",
+            label: '准入类别',
+            width: 260,
+            sort: true
+          },
+
+          {
+            prop: "SupplierName",
+            label: '企业名称',
+            width: 260,
+            sort: true
+          },
+
+          /*{
+           prop: "OilCertificateNo",
+           label: '中石油供应商证书号',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "Grade",
+           label: '级别',
+           width: 100,
+           sort: true
+           },*/
+
+          /*{
+           prop: "MgrUnit",
+           label: '管理单位',
+           width: 100,
+           sort: true
+           },*/
+
+          /*{
+           prop: "OperType",
+           label: '经营方式',
+           width: 100,
+           sort: true
+           },*/
+
+          /*{
+           prop: "Country",
+           label: '国家',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "MaunAgent",
+           label: '所代理制造商名称',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "ConstructTeam",
+           label: '施工队伍名称',
+           width: 100,
+           sort: true
+           },*/
+
+          {
+            prop: "CommercialNo",
+            label: '工商注册号',
+            width: 260,
+            sort: true
+          },
+
+          /*{
+           prop: "OrganCode",
+           label: '组织机构代码',
+           width: 100,
+           sort: true
+           },*/
+
+          {
+            prop: "CountryTaxNo",
+            label: '税务登记证编号',
+            width: 260,
+            sort: true
+          },
+
+          /*{
+           prop: "LocalTaxNo",
+           label: '税务登记证地税编号',
+           width: 100,
+           sort: true
+           },*/
+
+          {
+            prop: "Address",
+            label: '单位地址',
+            width: 360,
+            sort: true
+          },
+
+          /*{
+           prop: "Province",
+           label: '省直辖市',
+           width: 200,
+           sort: true
+           },
+
+           {
+           prop: "City",
+           label: '地市区县',
+           width: 200,
+           sort: true
+           },
+
+           {
+           prop: "Street",
+           label: '街道',
+           width: 200,
+           sort: true
+           },
+
+           {
+           prop: "HouseNo",
+           label: '门牌号',
+           width: 200,
+           sort: true
+           },
+
+           {
+           prop: "ZipCode",
+           label: '邮编',
+           width: 200,
+           sort: true
+           },*/
+
+          /*{
+           prop: "QualitySystemCert",
+           label: '质量管理体系认证情况及认证机构',
+           width: 300,
+           sort: true
+           },
+
+           {
+           prop: "ProductQualityCert",
+           label: '产品质量认证情况及认证机构',
+           width: 300,
+           sort: true
+           },
+
+           {
+           prop: "MaunLicense",
+           label: '生产制造许可证获证情况及编号',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "QualifCert",
+           label: '企业资质证书编号',
+           width: 300,
+           sort: true
+           },
+
+           {
+           prop: "QualifCertLevel",
+           label: '企业资质证书级别',
+           width: 300,
+           sort: true
+           },
+
+           {
+           prop: "SafetyLicense",
+           label: '安全生产许可证',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "TechServiceLic",
+           label: '技术服务类准入许可证',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "TJInNotify",
+           label: '外地企业进津备案通知书',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "SpecIndustryCert",
+           label: '行业特殊要求的认证证书',
+           width: 200,
+           sort: true
+           },
+
+           {
+           prop: "LegalPerson",
+           label: '法定代表人姓名',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "CategoryCode",
+           label: '行业类别代码',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "CategoryName",
+           label: '行业类别名称',
+           width: 100,
+           sort: true
+           },*/
+
+          {
+            prop: "RegCapital",
+            label: '注册资本',
+            width: 150,
+            sort: true
+          },
+
+          {
+            prop: "Currency",
+            label: '币种',
+            width: 100,
+            sort: true
+          },
+
+          {
+            prop: "ContactName",
+            label: '联系人姓名',
+            width: 140,
+            sort: true
+          },
+
+          {
+            prop: "CompanyType",
+            label: '公司类型',
+            width: 150,
+            sort: true
+          },
+
+          {
+            prop: "SetupTime",
+            label: '成立时间',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "DepositBank",
+            label: '开户银行',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "BankAccount",
+            label: '银行账号',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "EMail",
+            label: '电子邮箱',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "BankCreditRating",
+            label: '银行信用等级',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "Mobile",
+            label: '移动电话',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "Telphone",
+            label: '固定电话',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "Fax",
+            label: '传真',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "CompanyTel",
+            label: '公司电话',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "QQ",
+            label: 'QQ号码',
+            width: 220,
+            sort: true
+          },
+
+          {
+            prop: "CompanyUrl",
+            label: '公司网址',
+            width: 220,
+            sort: true
+          },
+
+          /*{
+           prop: "SpecSupplier",
+           label: '是否特殊业务供应商(可不招标)',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "SpecTypeCode",
+           label: '业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)',
+           width: 100,
+           sort: true
+           },
+
+           {
+           prop: "SpecTypeName",
+           label: '业务类型(1战略合作,2内部多经,3区域关键,4专业化实施)',
+           width: 100,
+           sort: true
+           },*/
+
+          {
+            prop: "Remark",
+            label: '备注',
+            width: 220,
+            sort: true
+          }
+
+        ]
+      }
+    },
+    created() {
+      //查询条件初始值备份
+      Object.assign(this.searchFormReset, this.searchForm);
+      //查询列表
+      this.initDatas();
+      //this.getDictOptions()
+    },
+    methods: {
+      initDatas() {
+        //分页及列表条件
+        let params = {
+          _currentPage: this.currentPage,
+          _size: this.size,
+          Order: this.Column.Order,
+          Prop: this.Column.Prop,
+          Statustype : 3,
+        }
+        let myCreateOn = []
+        // 解析时间
+        if (this.CreateOn.length === 2) {
+          this.CreateOn[1].setHours(23)
+          this.CreateOn[1].setMinutes(59)
+          this.CreateOn[1].setSeconds(59)
+          myCreateOn.push(this.formatDateTime(this.CreateOn[0]))
+          myCreateOn.push(this.formatDateTime(this.CreateOn[1]))
+        }
+        //查询条件
+        Object.assign(params, this.searchForm)
+        //访问接口
+        api.getMyTasks(myCreateOn.join(','), params, this.$axios).then(res => {
+          this.entityList = res.data.items
+          this.currentItemCount = res.data.currentItemCount
+        }).catch(err => {
+          console.error(err)
+        })
+      },
+
+      getDictOptions () {
+        api.getDictList(this.$axios).then(res => {
+          //this.dictOptions.customerList = res.data.items['customerList']
+          //this.dictOptions.projectList = res.data.items['projectList']
+
+        }).catch(err => {
+          console.error(err)
+        })
+      },
+
+      searchCommand(command) {
+        if (command == 'search') {
+          this.dialogVisible = true
+        } else if (command == 'clear') {
+          this.clearSearch()
+        }
+      },
+      //列表排序功能
+      orderby(column) {
+        if (column.order == 'ascending') {
+          this.Column.Order = 'asc'
+        } else if (column.order == 'descending') {
+          this.Column.Order = 'desc'
+        }
+        this.Column.Prop = column.prop
+        this.initDatas()
+      },
+      clearSearch() {
+        Object.assign(this.searchForm, this.searchFormReset);
+        //this.searchForm = this.searchFormReset;
+        this.CreateOn = ''
+        this.initDatas()
+      },
+      handleSearch() {
+        this.currentPage = 1;
+        this.dialogVisible = false;
+        this.initDatas();
+      },
+      handleCurrentChange(value) {
+        this.currentPage = value
+        this.initDatas()
+      },
+      handleSizeChange(value) {
+        this.size = value
+        this.currentPage = 1
+        this.initDatas()
+      },
+      deleteEntity(row) {
+        row.deleteConfirmFlag = false;
+        api.deleteEntity(row.Id, this.$axios).then(res => {
+          if (res.data.code === 0) {
+            this.initDatas();
+            this.$message({
+              type: 'success',
+              message: res.data.message
+            });
+
+          } else {
+            this.$message({
+              type: 'warning',
+              message: res.data.message
+            });
+          }
+        }).catch(err => {
+          console.error(err)
+        });
+      },
+
+      jstimehandle(val) {
+        if (val === '') {
+          return '----'
+        } else if (val === '0001-01-01T08:00:00+08:00') {
+          return '----'
+        } else if (val === '5000-01-01T23:59:59+08:00') {
+          return '永久'
+        } else {
+          val = val.replace('T', ' ')
+          return val.substring(0, 10)
+        }
+      },
+
+      formatDateTime(date) {
+        var y = date.getFullYear();
+        var m = date.getMonth() + 1;
+        m = m < 10 ? ('0' + m) : m;
+        var d = date.getDate();
+        d = d < 10 ? ('0' + d) : d;
+        var h = date.getHours();
+        var minute = date.getMinutes();
+        minute = minute < 10 ? ('0' + minute) : minute;
+        return y + '-' + m + '-' + d + ' ' + h + ':' + minute;
+      }
+    }
+  }
+
+</script>
+
+<style lang="scss">
+  .el-pagination {
+    margin: 1rem 0 2rem;
+    text-align: right;
+  }
+</style>

+ 1 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplieraudit/index.vue

@@ -905,6 +905,7 @@
           _size: this.size,
           Order: this.Column.Order,
           Prop: this.Column.Prop,
+          Statustype : 2,
         }
         let myCreateOn = []
         // 解析时间