Răsfoiți Sursa

前后:合同年度分数筛选;增项和信息变更加企业情况

dubch 4 ani în urmă
părinte
comite
1d636c0922

+ 19 - 13
src/dashoo.cn/backend/api/business/oilcontract/contractSumScore/contractSumScoreService.go

@@ -65,7 +65,7 @@ func (s *OilContractSumScoreService) GetMyEntitiesWithOrderBytbl(orderby string,
 	}
 	s.DBE.SQL(sql).Find(entitiesPtr)
 }
-func (s *OilContractSumScoreService) GetPagingComputeEntitiesWithOrderBytbl(pageIndex, itemsPerPage int64, orderby string, asc bool, entitiesPtr interface{}, where string, having string) (total int64) {
+func (s *OilContractSumScoreService) GetPagingComputeEntitiesWithOrderBytbl(pageIndex, itemsPerPage int64, orderby string, asc bool, entitiesPtr interface{}, where string, having string, scoreType string) (total int64) {
 	// 优秀、合格分数值从配置中取
 	var paramEntityList []baseparameter.Base_Parameter
 	paramsSvc := baseparameter.GetBaseparameterService(utils.DBE)
@@ -92,6 +92,7 @@ func (s *OilContractSumScoreService) GetPagingComputeEntitiesWithOrderBytbl(page
 	sqlCount += ` ) t `
 
 	var sql string
+	where1 := ""
 	sql = `select YEAR(NOW()) as Year,contract.ContractClass,contract.SupplierId,contract.SupplierName,count(review.id) as count, `
 
 	sql += ` sum(case when items.SequenceNo in  ('1') AND items.Type = 2 AND items.Value > 0 then 1 else 0 end )  B1, `
@@ -103,20 +104,25 @@ func (s *OilContractSumScoreService) GetPagingComputeEntitiesWithOrderBytbl(page
 	sql += ` sum(case when items.SequenceNo in  ('7') AND items.Type = 2 AND items.Value > 0 then 1 else 0 end )  B7, `
 	sql += ` sum(case when items.SequenceNo in  ('8') AND items.Type = 2 AND items.Value > 0 then 1 else 0 end )  B8, `
 
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('1') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score1,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('2') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score2,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('3') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score3,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('4') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score4,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('5') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score5,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('6') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score6,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('7') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score7,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('8') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score8,  `
-	sql += ` ROUND(sum(case when items.SequenceNo in  ('9') AND items.Type =1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1 then 1 else 0 end),2) Score9,  `
-	sql += ` ROUND(sum(case when items.ParentId = 0 AND items.Type = 1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type = 1 then 1 else 0 end),2) Score,  `
-	sql += ` case when ROUND(sum(case when items.ParentId = 0 AND items.Type = 1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type = 1 then 1 else 0 end),2) < ` + pass + ` then 3 when ROUND(sum(case when items.ParentId = 0 AND items.Type = 1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type = 1 then 1 else 0 end),2) < ` + good + ` then 2 else 1 end as Evaluate `
+	if scoreType == "2" {
+		where1 += " AND items.Category = 0 "
+	} else if scoreType == "3" {
+		where1 += " AND (items.Category = 1 or items.Category = 2) "
+	}
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + ` then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score1,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('2') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score2,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('3') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score3,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('4') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score4,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('5') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score5,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('6') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score6,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('7') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score7,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('8') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score8,  `
+	sql += ` ROUND(sum(case when items.SequenceNo in  ('9') AND items.Type =1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type =1` + where1 + `  then 1 else 0 end),2) Score9,  `
+	sql += ` ROUND(sum(case when items.ParentId = 0 AND items.Type = 1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type = 1` + where1 + `  then 1 else 0 end),2) Score,  `
+	sql += ` case when ROUND(sum(case when items.ParentId = 0 AND items.Type = 1` + where1 + `  then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type = 1` + where1 + `  then 1 else 0 end),2) < ` + pass + ` then 3 when ROUND(sum(case when items.ParentId = 0 AND items.Type = 1 then items.Score else 0 end)/sum(case when items.SequenceNo in  ('1') AND items.Type = 1 then 1 else 0 end),2) < ` + good + ` then 2 else 1 end as Evaluate `
 	sql += ` from ` + controllers.OilContractReviewName + ` review `
 	sql += ` left join ` + controllers.OilContractName + ` contract on review.ContractId=contract.id `
-	sql += ` left join ` + controllers.OilContractEvaluationItemsName + ` items on items.ContentReviewId=review.id and items.LevelCode=1 `
+	sql += ` left join ` + controllers.OilContractEvaluationItemsName + ` items on items.ContentReviewId=review.id and items.LevelCode=1 ` + where1
 	sql += ` where ` + where
 	sql += ` group by contract.SupplierId,contract.SupplierName `
 	sql += ` having ` + having

+ 10 - 2
src/dashoo.cn/backend/api/controllers/oilcontract/contractSumScore.go

@@ -156,6 +156,7 @@ func (this *OilContractSumScoreController) GetComputeEntityList() {
 		}
 	}
 	SupplierName := this.GetString("SupplierName")
+	ScoreType := this.GetString("ScoreType")
 	//CreateOn     := this.GetString("CreateOn")
 	ContractClass := this.GetString("ContractClass", "01")
 	Evaluate := this.GetString("Evaluate", "")
@@ -163,6 +164,9 @@ func (this *OilContractSumScoreController) GetComputeEntityList() {
 	if SupplierName != "" {
 		where = where + " and contract.SupplierName like '%" + SupplierName + "%'"
 	}
+	if ScoreType == "2" {
+		where = where + " and review.IsBusiness=0 "
+	}
 	if ContractClass != "" {
 		where = where + " and contract.ContractClass = '" + ContractClass + "'"
 	}
@@ -214,7 +218,7 @@ func (this *OilContractSumScoreController) GetComputeEntityList() {
 
 	svc := contractSumScore.GetOilContractSumScoreService(utils.DBE)
 	var list []contractSumScore.OilContractComputeSumScoreVo
-	total := svc.GetPagingComputeEntitiesWithOrderBytbl(page.CurrentPage, page.Size, orderby, asc, &list, where, having)
+	total := svc.GetPagingComputeEntitiesWithOrderBytbl(page.CurrentPage, page.Size, orderby, asc, &list, where, having, ScoreType)
 	for index, item := range list {
 		where1 := where + " and contract.SupplierId = " + strconv.Itoa(item.SupplierId)
 		var list1 []contractSumScore.OilContractSumScoreResult
@@ -961,6 +965,7 @@ func (this *OilContractSumScoreController) ExcelExport() {
 		}
 	}
 	SupplierName := this.GetString("SupplierName")
+	ScoreType := this.GetString("ScoreType")
 	//CreateOn     := this.GetString("CreateOn")
 	ContractClass := this.GetString("ContractClass", "01")
 	Evaluate := this.GetString("Evaluate", "")
@@ -968,6 +973,9 @@ func (this *OilContractSumScoreController) ExcelExport() {
 	if SupplierName != "" {
 		where = where + " and contract.SupplierName like '%" + SupplierName + "%'"
 	}
+	if ScoreType == "2" {
+		where = where + " and review.IsBusiness=0 "
+	}
 	if ContractClass != "" {
 		where = where + " and contract.ContractClass = '" + ContractClass + "'"
 	}
@@ -1014,7 +1022,7 @@ func (this *OilContractSumScoreController) ExcelExport() {
 
 	svc := contractSumScore.GetOilContractSumScoreService(utils.DBE)
 	var list []contractSumScore.OilContractComputeSumScoreVo
-	svc.GetPagingComputeEntitiesWithOrderBytbl(0, 0, orderby, asc, &list, where, having)
+	svc.GetPagingComputeEntitiesWithOrderBytbl(0, 0, orderby, asc, &list, where, having, ScoreType)
 
 	for index, item := range list {
 		where1 := where + " and contract.SupplierId = " + strconv.Itoa(item.SupplierId)

+ 17 - 0
src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

@@ -2934,4 +2934,21 @@ func (this *OilSupplierController) GetSupplierList() {
 	this.Data["json"] = &datainfo
 	this.ServeJSON()
 
+}
+
+// @Title 根据supplierId查certId
+// @Description
+// @Success 200 {object}
+// @router /getSupplierCertId/:Id [get]
+func (this *OilSupplierController) GetSupplierCertId() {
+	Id := this.Ctx.Input.Param(":Id")
+	var certList []suppliercert.OilSupplierCert
+	svc := supplier.GetOilSupplierService(utils.DBE)
+	svc.GetEntitysByWhere(OilSupplierCertName, "SupplierId = " + Id, &certList)
+
+	var datainfo DataInfo
+	datainfo.Items = certList
+	this.Data["json"] = &datainfo
+	this.ServeJSON()
+
 }

+ 6 - 0
src/dashoo.cn/frontend_web/src/api/oilsupplier/supplier.js

@@ -226,5 +226,11 @@ export default {
       method: 'post',
       data: fileType
     })
+  },
+  getSupplierCert (Id, myAxios) {
+    return myAxios({
+      url: '/supplier/getSupplierCertId/' + Id,
+      method: 'get'
+    })
   }
 }

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilcontract/contract-service-year/index.vue

@@ -72,8 +72,8 @@
         <el-table-column show-overflow-tooltip label="评价内容及得分" header-align="center">
           <el-table-column sortable show-overflow-tooltip prop="Score1" align="center" header-align="center" label="项目管理(40分)" width="140"></el-table-column>
           <el-table-column sortable show-overflow-tooltip prop="Score2" align="center" header-align="center" label="HSE管理(30分)" width="140"></el-table-column>
-          <el-table-column sortable show-overflow-tooltip prop="Score3" align="center" header-align="center" label="合同履行(15分)" width="140"></el-table-column>
-          <el-table-column sortable show-overflow-tooltip prop="Score4" align="center" header-align="center" label="企业诚信(15分)" width="140"></el-table-column>
+          <el-table-column sortable show-overflow-tooltip prop="Score3" align="center" header-align="center" label="企业诚信(15分)" width="140"></el-table-column>
+          <el-table-column sortable show-overflow-tooltip prop="Score4" align="center" header-align="center" label="合同履约(15分)" width="140"></el-table-column>
         </el-table-column>
       </el-table>
       <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"

+ 171 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/basisdataopera.vue

@@ -370,6 +370,123 @@
 
             </el-form>
           </el-tab-pane>
+          <el-tab-pane label="企业情况">
+            <el-card class="box-card">
+              <div slot="header" class="clearfix">
+                <span>企业人员结构情况</span>
+                <span style="float: right;">
+              </span>
+              </div>
+
+              <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert">
+                <el-row>
+                  <el-col :span="8">
+                    <el-form-item label="企业员工总数" prop="WorkerTotal">
+                      <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0" disabled
+                                       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" disabled
+                                       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" disabled
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                      <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术工人总数" prop="SkillerTotal">
+                      <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0" disabled
+                                       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="formData.SupplierCertId"
+                              :SupplierTypeCode="supplierTypeCode" :canadd="false" 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="formData.SupplierCertId" :disabled="true"
+                                :SupplierTypeCode="supplierTypeCode" :canadd="false" 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" :canadd="false" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                           :SupplierTypeCode="supplierTypeCode" 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" :canadd="false" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                            :SupplierTypeCode="supplierTypeCode" height="360px" style="margin-top: 20px">
+              </winning-list>
+            </el-card>
+          </el-tab-pane>
           <el-tab-pane label="增项信息">
             <el-card class="box-card">
               <div slot="header">
@@ -762,7 +879,10 @@
   import apiCert from '@/api/oilsupplier/suppliercert'
   import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
   import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
-
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -774,6 +894,10 @@
   export default {
     components: {
       WfMultiHistory,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditor
     },
     computed: {
@@ -806,6 +930,25 @@
         }
       }
       return {
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        supplierTypeCode: '02',
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         needPayAmount: 0,
         // 新增准入范围分页参数
         currentPageAddAccess: 1,
@@ -1124,6 +1267,32 @@
       // this.changeOrgUnit(this.selectDept)
     },
     methods: {
+      initDatas () {
+        if (this.formData.Id) {
+          suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
+            this.AccessCardNo = res.data.AccessCardNo
+            this.InStyle = res.data.InStyle
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+          }).catch(err => {
+            console.error(err)
+          })
+        }
+      },
       getStatus () {
         if (this.formData.Status != '7' && this.formData.Status != '8' && this.formData.Status != '11') {
           this.isStatus = true
@@ -1173,6 +1342,7 @@
           this.getDictOptions()
           this.isAccess()
           this.getSupplierData()
+          this.initDatas()
           // 显示公司名
           _this.supplierOptions = _this.formData.SupplierId.toString()
         }).catch(err => {

+ 171 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/goodsdataopera.vue

@@ -438,6 +438,123 @@
 
             </el-form>
           </el-tab-pane>
+          <el-tab-pane label="企业情况">
+            <el-card class="box-card">
+              <div slot="header" class="clearfix">
+                <span>企业人员结构情况</span>
+                <span style="float: right;">
+              </span>
+              </div>
+
+              <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert">
+                <el-row>
+                  <el-col :span="8">
+                    <el-form-item label="企业员工总数" prop="WorkerTotal">
+                      <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0" disabled
+                                       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" disabled
+                                       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" disabled
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                      <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术工人总数" prop="SkillerTotal">
+                      <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0" disabled
+                                       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="formData.SupplierCertId"
+                              :SupplierTypeCode="supplierTypeCode" :canadd="false" 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="formData.SupplierCertId" :disabled="true"
+                                :SupplierTypeCode="supplierTypeCode" :canadd="false" 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" :canadd="false" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                           :SupplierTypeCode="supplierTypeCode" 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" :canadd="false" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                            :SupplierTypeCode="supplierTypeCode" height="360px" style="margin-top: 20px">
+              </winning-list>
+            </el-card>
+          </el-tab-pane>
           <el-tab-pane label="增项信息">
             <el-card class="box-card">
               <div slot="header">
@@ -844,6 +961,10 @@
   import apiCert from '@/api/oilsupplier/suppliercert'
   import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
   import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -856,6 +977,10 @@
   export default {
     components: {
       WfMultiHistory,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditor
     },
     computed: {
@@ -888,6 +1013,25 @@
         }
       }
       return {
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        supplierTypeCode: '01',
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         needPayAmount: 0,
         // 新增准入范围分页参数
         currentPageAddAccess: 1,
@@ -1215,6 +1359,32 @@
           this.isStatus = false
         }
       },
+      initDatas () {
+        if (this.formData.Id) {
+          suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
+            this.AccessCardNo = res.data.AccessCardNo
+            this.InStyle = res.data.InStyle
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+          }).catch(err => {
+            console.error(err)
+          })
+        }
+      },
       // 获取需要修改的增项信息
       getEntityById () {
         let _this = this
@@ -1258,6 +1428,7 @@
           this.getDictOptions()
           this.isAccess()
           this.getSupplierData()
+          this.initDatas()
           // 显示公司名
           _this.supplierOptions = _this.formData.SupplierId.toString()
         }).catch(err => {

+ 171 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/addtionaudit/_opera/techdataopera.vue

@@ -371,6 +371,123 @@
 
             </el-form>
           </el-tab-pane>
+          <el-tab-pane label="企业情况">
+            <el-card class="box-card">
+              <div slot="header" class="clearfix">
+                <span>企业人员结构情况</span>
+                <span style="float: right;">
+              </span>
+              </div>
+
+              <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert">
+                <el-row>
+                  <el-col :span="8">
+                    <el-form-item label="企业员工总数" prop="WorkerTotal">
+                      <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0" disabled
+                                       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" disabled
+                                       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" disabled
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                      <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       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" disabled
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术工人总数" prop="SkillerTotal">
+                      <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0" disabled
+                                       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="formData.SupplierCertId"
+                              :SupplierTypeCode="supplierTypeCode" :canadd="false" 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="formData.SupplierCertId" :disabled="true"
+                                :SupplierTypeCode="supplierTypeCode" :canadd="false" 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" :canadd="false" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                           :SupplierTypeCode="supplierTypeCode" 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" :canadd="false" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                            :SupplierTypeCode="supplierTypeCode" height="360px" style="margin-top: 20px">
+              </winning-list>
+            </el-card>
+          </el-tab-pane>
           <el-tab-pane label="增项信息">
             <el-card class="box-card">
               <div slot="header">
@@ -743,7 +860,10 @@
   import apiCert from '@/api/oilsupplier/suppliercert'
   import WfMultiHistory from '@/components/workflow/wfmultihistory.vue';
   import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
-
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -755,6 +875,10 @@
   export default {
     components: {
       WfMultiHistory,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditor
     },
     computed: {
@@ -787,6 +911,25 @@
         }
       }
       return {
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        supplierTypeCode: '03',
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         needPayAmount: 0,
         // 新增准入范围分页参数
         currentPageAddAccess: 1,
@@ -1127,6 +1270,32 @@
       // this.changeOrgUnit(this.selectDept)
     },
     methods: {
+      initDatas () {
+        if (this.formData.Id) {
+          suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
+            this.AccessCardNo = res.data.AccessCardNo
+            this.InStyle = res.data.InStyle
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.supplierTypeCode, this.formData.SupplierCertId)
+          }).catch(err => {
+            console.error(err)
+          })
+        }
+      },
       getStatus () {
         if (this.formData.Status != '7' && this.formData.Status != '8' && this.formData.Status != '11') {
           this.isStatus = true
@@ -1176,6 +1345,7 @@
           this.getDictOptions()
           this.getSupplierData()
           this.isAccess()
+          this.initDatas()
           // 显示公司名
           _this.supplierOptions = _this.formData.SupplierId.toString()
         }).catch(err => {

+ 526 - 31
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/_opera/auditoperation.vue

@@ -435,6 +435,339 @@
 
           </el-form>
         </el-tab-pane>
+        <el-tab-pane label="物资类企业情况" v-if="accessedType.includes('01')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber1" size="mini" :model="formDataCert1">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert1.WorkerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert1.ContractNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert1.UniversityNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert1.TechnicalNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert1.AboveProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert1.MiddleProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert1.NationalRegNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert1.NationalCertTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert1.DesignerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert1.SkillerTotal" controls-position="right" :min="0" disabled
+                                     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="equipmentList1" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="InfoStatus <= 0" 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="performanceList1" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="InfoStatus <= 0" 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="patentList1" :canadd="InfoStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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="winningList1" :canadd="InfoStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+        <el-tab-pane label="服务类企业情况" v-if="accessedType.includes('03')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber3" size="mini" :model="formDataCert3">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert3.WorkerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert3.ContractNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert3.UniversityNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert3.TechnicalNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert3.AboveProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert3.MiddleProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert3.NationalRegNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert3.NationalCertTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert3.DesignerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert3.SkillerTotal" controls-position="right" :min="0" disabled
+                                     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="equipmentList3" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="InfoStatus <= 0" 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="performanceList3" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="InfoStatus <= 0" 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="patentList3" :canadd="InfoStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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="winningList3" :canadd="InfoStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+        <el-tab-pane label="基建类企业情况" v-if="accessedType.includes('02')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber2" size="mini" :model="formDataCert2">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert2.WorkerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert2.ContractNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert2.UniversityNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert2.TechnicalNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert2.AboveProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert2.MiddleProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert2.NationalRegNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert2.NationalCertTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert2.DesignerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert2.SkillerTotal" controls-position="right" :min="0" disabled
+                                     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="equipmentList2" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="InfoStatus <= 0" 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="performanceList2" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="InfoStatus <= 0" 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="patentList2" :canadd="InfoStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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="winningList2" :canadd="InfoStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
         <el-tab-pane label="物资类" v-if="accessedType.includes('01')">
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
@@ -535,12 +868,12 @@
             </el-pagination>
           </el-card>
         </el-tab-pane>
-        <el-tab-pane label="基建类" v-if="accessedType.includes('02')">
+        <el-tab-pane label="服务类" v-if="accessedType.includes('03')">
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span style="font-weight: bold">企业资质</span>
             </div>
-            <el-table :data="subfileList2" border>
+            <el-table :data="subfileList3" border>
               <el-table-column label="状态" width="150" align="center" fixed>
                 <template slot-scope="scope">
                   <span v-if="scope.row.OldFileUrl == ''" style="color:#20A0FF">新增</span>
@@ -552,12 +885,6 @@
               <el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
                 <template slot-scope="scope">
 
-
-                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
-                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
-                       class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
-                  </div> -->
-
                   <viewer :images="scope.row.OldFileUrlList">
                     <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
                       <div v-if="imgFormat(scope.row.OldFileUrl, index)">
@@ -572,7 +899,14 @@
                           :key="index">
                       </div>
                     </div>
-                    </viewer>
+                  </viewer>
+
+
+
+                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
+                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
+                       class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
+                  </div> -->
 
 
 
@@ -587,6 +921,11 @@
                 <template slot-scope="scope">
 
 
+                  <!-- <div v-for="(tmpUrl, index) in scope.row.FileUrlList">
+                    <a :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank"
+                       class="buttonText">{{scope.row.FileName.split('$')[index]}}</a>
+                  </div> -->
+
                   <viewer :images="scope.row.FileUrlList">
                     <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
                       <div v-if="imgFormat(scope.row.FileUrl, index)">
@@ -601,13 +940,7 @@
                           :key="index">
                       </div>
                     </div>
-                    </viewer>
-
-
-                  <!-- <div v-for="(tmpUrl, index) in scope.row.FileUrlList">
-                    <a :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank"
-                       class="buttonText">{{scope.row.FileName.split('$')[index]}}</a>
-                  </div> -->
+                  </viewer>
 
 
                 </template>
@@ -636,12 +969,12 @@
             </el-pagination>
           </el-card>
         </el-tab-pane>
-        <el-tab-pane label="服务类" v-if="accessedType.includes('03')">
+        <el-tab-pane label="基建类" v-if="accessedType.includes('02')">
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span style="font-weight: bold">企业资质</span>
             </div>
-            <el-table :data="subfileList3" border>
+            <el-table :data="subfileList2" border>
               <el-table-column label="状态" width="150" align="center" fixed>
                 <template slot-scope="scope">
                   <span v-if="scope.row.OldFileUrl == ''" style="color:#20A0FF">新增</span>
@@ -653,6 +986,12 @@
               <el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
                 <template slot-scope="scope">
 
+
+                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
+                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
+                       class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
+                  </div> -->
+
                   <viewer :images="scope.row.OldFileUrlList">
                     <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
                       <div v-if="imgFormat(scope.row.OldFileUrl, index)">
@@ -671,13 +1010,6 @@
 
 
 
-                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
-                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
-                       class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
-                  </div> -->
-
-
-
                 </template>
               </el-table-column>
               <el-table-column prop="OldEffectDate" label="原有效日期" show-overflow-tooltip>
@@ -689,11 +1021,6 @@
                 <template slot-scope="scope">
 
 
-                  <!-- <div v-for="(tmpUrl, index) in scope.row.FileUrlList">
-                    <a :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank"
-                       class="buttonText">{{scope.row.FileName.split('$')[index]}}</a>
-                  </div> -->
-
                   <viewer :images="scope.row.FileUrlList">
                     <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
                       <div v-if="imgFormat(scope.row.FileUrl, index)">
@@ -711,6 +1038,12 @@
                     </viewer>
 
 
+                  <!-- <div v-for="(tmpUrl, index) in scope.row.FileUrlList">
+                    <a :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank"
+                       class="buttonText">{{scope.row.FileName.split('$')[index]}}</a>
+                  </div> -->
+
+
                 </template>
               </el-table-column>
               <el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip >
@@ -857,6 +1190,10 @@
   import api from '@/api/oilsupplier/infochange'
   import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
   import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -868,6 +1205,10 @@
   export default {
     components: {
       WfMultiHistory,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditor
     },
     computed: {
@@ -886,6 +1227,56 @@
     },
     data () {
       return {
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        certList: [],
+        CertId1: 0,
+        CertId2: 0,
+        CertId3: 0,
+        formDataCert1: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        formDataCert2: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        formDataCert3: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         OperTypeOptions: [],
         accessedType: [], // 已准入的类别:物资类、服务类、基建类
         firOptions: [],
@@ -1194,10 +1585,114 @@
       this.getfilelist1()
       this.getfilelist2()
       this.getfilelist3()
-
+      this.getSupplierCert()
       this.getAccessCardNo()
     },
     methods: {
+      equipmentdialog (code) {
+        if (code === '01') {
+          this.$refs['equipmentList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['equipmentList2'].showDialog()
+        } else {
+          this.$refs['equipmentList3'].showDialog()
+        }
+      },
+      performancedialog (code) {
+        if (code === '01') {
+          this.$refs['performanceList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['performanceList2'].showDialog()
+        } else {
+          this.$refs['performanceList3'].showDialog()
+        }
+      },
+      patentdialog (code) {
+        if (code === '01') {
+          this.$refs['patentList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['patentList2'].showDialog()
+        } else {
+          this.$refs['patentList3'].showDialog()
+        }
+      },
+      winningdialog (code) {
+        if (code === '01') {
+          this.$refs['winningList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['winningList2'].showDialog()
+        } else {
+          this.$refs['winningList3'].showDialog()
+        }
+      },
+      getSupplierCert () {
+        supplierapi.getSupplierCert(this.SuppId, this.$axios).then(res => {
+          this.certList = res.data.items
+          if (this.certList.length > 0) {
+            for (let i = 0; i < this.certList.length; i++) {
+              if (this.certList[i].SupplierTypeCode == '01') {
+                this.CertId1 = this.certList[i].Id
+                this.formDataCert1.WorkerTotal = this.certList[i].WorkerTotal
+                this.formDataCert1.ContractNum = this.certList[i].ContractNum
+                this.formDataCert1.UniversityNum = this.certList[i].UniversityNum
+                this.formDataCert1.TechnicalNum = this.certList[i].TechnicalNum
+                this.formDataCert1.AboveProfNum = this.certList[i].AboveProfNum
+                this.formDataCert1.MiddleProfNum = this.certList[i].MiddleProfNum
+                this.formDataCert1.NationalRegNum = this.certList[i].NationalRegNum
+                this.formDataCert1.NationalCertTotal = this.certList[i].NationalCertTotal
+                this.formDataCert1.DesignerTotal = this.certList[i].DesignerTotal
+                this.formDataCert1.SkillerTotal = this.certList[i].SkillerTotal
+                this.formDataCert1.Status = this.certList[i].Status
+                this.formDataCert1.WorkflowId = this.certList[i].WorkflowId
+                this.$refs['equipmentList1'].getvalue(0, '01', this.certList[i].Id)
+                this.$refs['performanceList1'].getvalue(0, '01', this.certList[i].Id)
+                this.$refs['patentList1'].getvalue(0, '01', this.certList[i].Id)
+                this.$refs['winningList1'].getvalue(0, '01', this.certList[i].Id)
+              }
+              if (this.certList[i].SupplierTypeCode == '02') {
+                this.CertId2 = this.certList[i].Id
+                this.formDataCert2.WorkerTotal = this.certList[i].WorkerTotal
+                this.formDataCert2.ContractNum = this.certList[i].ContractNum
+                this.formDataCert2.UniversityNum = this.certList[i].UniversityNum
+                this.formDataCert2.TechnicalNum = this.certList[i].TechnicalNum
+                this.formDataCert2.AboveProfNum = this.certList[i].AboveProfNum
+                this.formDataCert2.MiddleProfNum = this.certList[i].MiddleProfNum
+                this.formDataCert2.NationalRegNum = this.certList[i].NationalRegNum
+                this.formDataCert2.NationalCertTotal = this.certList[i].NationalCertTotal
+                this.formDataCert2.DesignerTotal = this.certList[i].DesignerTotal
+                this.formDataCert2.SkillerTotal = this.certList[i].SkillerTotal
+                this.formDataCert2.Status = this.certList[i].Status
+                this.formDataCert2.WorkflowId = this.certList[i].WorkflowId
+                this.$refs['equipmentList2'].getvalue(0, '02', this.certList[i].Id)
+                this.$refs['performanceList2'].getvalue(0, '02', this.certList[i].Id)
+                this.$refs['patentList2'].getvalue(0, '02', this.certList[i].Id)
+                this.$refs['winningList2'].getvalue(0, '02', this.certList[i].Id)
+              }
+              if (this.certList[i].SupplierTypeCode == '03') {
+                this.CertId3 = this.certList[i].Id
+                this.formDataCert3.WorkerTotal = this.certList[i].WorkerTotal
+                this.formDataCert3.ContractNum = this.certList[i].ContractNum
+                this.formDataCert3.UniversityNum = this.certList[i].UniversityNum
+                this.formDataCert3.TechnicalNum = this.certList[i].TechnicalNum
+                this.formDataCert3.AboveProfNum = this.certList[i].AboveProfNum
+                this.formDataCert3.MiddleProfNum = this.certList[i].MiddleProfNum
+                this.formDataCert3.NationalRegNum = this.certList[i].NationalRegNum
+                this.formDataCert3.NationalCertTotal = this.certList[i].NationalCertTotal
+                this.formDataCert3.DesignerTotal = this.certList[i].DesignerTotal
+                this.formDataCert3.SkillerTotal = this.certList[i].SkillerTotal
+                this.formDataCert3.Status = this.certList[i].Status
+                this.formDataCert3.WorkflowId = this.certList[i].WorkflowId
+                this.$refs['equipmentList3'].getvalue(0, '03', this.certList[i].Id)
+                this.$refs['performanceList3'].getvalue(0, '03', this.certList[i].Id)
+                this.$refs['patentList3'].getvalue(0, '03', this.certList[i].Id)
+                this.$refs['winningList3'].getvalue(0, '03', this.certList[i].Id)
+              }
+            }
+          }
+        }).catch(err => {
+          console.error(err)
+        })
+      },
       getAccessedType () {
         if (this.SuppId > 0) {
           api.GetAccessedType(this.SuppId, this.$axios)

+ 741 - 51
src/dashoo.cn/frontend_web/src/pages/oilsupplier/infochangech/_opera/operation.vue

@@ -440,6 +440,375 @@
 
           </el-form>
         </el-tab-pane>
+        <el-tab-pane label="物资类企业情况" v-if="accessedType.includes('01')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+              <span style="float: right;">
+                <el-button type="primary" size="mini" @click="updateNumberEntity1()" v-if="InfoStatus <= 0">
+                  保存人员结构情况</el-button>
+              </span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber1" size="mini" :model="formDataCert1" :rules="rulesnum">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert1.WorkerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert1.ContractNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert1.UniversityNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert1.TechnicalNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert1.AboveProfNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert1.MiddleProfNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert1.NationalRegNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert1.NationalCertTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert1.DesignerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert1.SkillerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog('01')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <equipment-list ref="equipmentList1" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="InfoStatus <= 0" 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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog('01')" v-if="InfoStatus <= 0">
+                添加</el-button>
+            </div>
+            <performance-list ref="performanceList1" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="InfoStatus <= 0" 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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog('01')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <patent-list ref="patentList1" :canadd="InfoStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog('01')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <winning-list ref="winningList1" :canadd="InfoStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+        <el-tab-pane label="服务类企业情况" v-if="accessedType.includes('03')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+              <span style="float: right;">
+                <el-button type="primary" size="mini" @click="updateNumberEntity3()" v-if="InfoStatus <= 0">
+                  保存人员结构情况</el-button>
+              </span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber3" size="mini" :model="formDataCert3" :rules="rulesnum">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert3.WorkerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert3.ContractNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert3.UniversityNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert3.TechnicalNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert3.AboveProfNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert3.MiddleProfNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert3.NationalRegNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert3.NationalCertTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert3.DesignerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert3.SkillerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog('03')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <equipment-list ref="equipmentList3" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="InfoStatus <= 0" 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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog('03')" v-if="InfoStatus <= 0">
+                添加</el-button>
+            </div>
+            <performance-list ref="performanceList3" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="InfoStatus <= 0" 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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog('03')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <patent-list ref="patentList3" :canadd="InfoStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog('03')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <winning-list ref="winningList3" :canadd="InfoStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+        <el-tab-pane label="基建类企业情况" v-if="accessedType.includes('02')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+              <span style="float: right;">
+                <el-button type="primary" size="mini" @click="updateNumberEntity2()" v-if="InfoStatus <= 0">
+                  保存人员结构情况</el-button>
+              </span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber2" size="mini" :model="formDataCert2" :rules="rulesnum">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert2.WorkerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert2.ContractNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert2.UniversityNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert2.TechnicalNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert2.AboveProfNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert2.MiddleProfNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert2.NationalRegNum" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert2.NationalCertTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert2.DesignerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert2.SkillerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                     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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog('02')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <equipment-list ref="equipmentList2" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="InfoStatus <= 0" 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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog('02')" v-if="InfoStatus <= 0">
+                添加</el-button>
+            </div>
+            <performance-list ref="performanceList2" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="InfoStatus <= 0" 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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog('02')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <patent-list ref="patentList2" :canadd="InfoStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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>
+              <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog('02')" v-if="InfoStatus <= 0">添加
+              </el-button>
+            </div>
+            <winning-list ref="winningList2" :canadd="InfoStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
         <el-tab-pane label="物资类" v-if="accessedType.includes('01')">
           <!-- <el-card class="box-card">
             <el-form :model="formData">
@@ -571,21 +940,20 @@
               </el-pagination>
           </el-card>
         </el-tab-pane>
-
-        <el-tab-pane label="基建类" v-if="accessedType.includes('02')">
+        <el-tab-pane label="服务类" v-if="accessedType.includes('03')">
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span style="font-weight: bold">企业资质</span>
               <span style="float: right;">
-                <el-button style="padding: 3px 0" type="text" @click="recall('02')" v-if="!(InfoStatus > 0 || butnab)">撤销删除</el-button>
-                <el-button style="padding: 3px 0" type="text" @click="showDialog('02')" v-if="!(InfoStatus > 0 || butnab)">添加</el-button>
+                <el-button style="padding: 3px 0" type="text" @click="recall('03')" v-if="!(InfoStatus > 0 || butnab)">撤销删除</el-button>
+                <el-button style="padding: 3px 0" type="text" @click="showDialog('03')" v-if="!(InfoStatus > 0 || butnab)">添加</el-button>
               </span>
             </div>
-            <el-table :data="subfileList2" border>
+            <el-table :data="subfileList3" border>
               <el-table-column label="操作" width="150" align="center" fixed>
                 <template slot-scope="scope">
                   <el-button type="primary" plain size="mini" title="文件变更" @click="openDialog(scope.row)"
-                    :disabled="InfoStatus > 0 || butnab">
+                             :disabled="InfoStatus > 0 || butnab">
                     变更</el-button>
                   <el-button type="danger" plain size="mini" title="文件变更" @click="delFile(scope.row)"
                              :disabled="InfoStatus > 0 || butnab">
@@ -597,6 +965,11 @@
                 <template slot-scope="scope">
 
 
+                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
+                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
+                      class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
+                  </div> -->
+
                   <viewer :images="scope.row.OldFileUrlList">
                     <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
                       <div v-if="imgFormat(scope.row.OldFileUrl, index)">
@@ -611,13 +984,7 @@
                           :key="index">
                       </div>
                     </div>
-                    </viewer>
-
-                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
-                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
-                      class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
-                  </div> -->
-
+                  </viewer>
 
 
                 </template>
@@ -632,28 +999,27 @@
 
 
                   <el-row align="middle">
-                      <el-col :span="20">
-                        <viewer :images="scope.row.FileUrlList">
+                    <el-col :span="20">
+                      <viewer :images="scope.row.FileUrlList">
                         <div v-for="(tmpUrl,index) in scope.row.FileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
-                        <div v-if="imgFormat(scope.row.FileUrl, index)">
-                          <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
-                            {{scope.row.FileName.split('$')[index]}}</el-link>
+                          <div v-if="imgFormat(scope.row.FileUrl, index)">
+                            <el-link :href="'http://'+fileurlcut(scope.row.FileUrl, index)" target="_blank" type="primary">
+                              {{scope.row.FileName.split('$')[index]}}</el-link>
+                          </div>
+                          <div v-else>
+                            <img
+                              class="photoStyle" alt=""
+                              v-if="fileurlcut(scope.row.FileUrl, index)"
+                              :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
+                              :key="index">
+                          </div>
                         </div>
-                        <div v-else>
-                          <img
-                            class="photoStyle" alt=""
-                            v-if="fileurlcut(scope.row.FileUrl, index)"
-                            :src="'http://'+fileurlcut(scope.row.FileUrl, index)"
-                            :key="index">
-                        </div>
-                        </div>
-                        </viewer>
-                      </el-col>
-                     <el-col :span="4" v-if="scope.row.FileUrl != ''">
+                      </viewer>
+                    </el-col>
+                    <el-col :span="4" v-if="scope.row.FileUrl != ''">
                       <i class="el-icon-close" :style="{'float': 'right', 'height': '100%','line-height': lineheight(scope.row.FileUrlList.length)  + 'px',}" @click="iconclear(scope.row)"></i>
                     </el-col>
-                    </el-row>
-
+                  </el-row>
 
                   <!-- <el-row align="middle">
                     <el-col :span="20">
@@ -669,7 +1035,6 @@
                   </el-row> -->
 
 
-
                 </template>
               </el-table-column>
               <el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip>
@@ -680,27 +1045,27 @@
               <el-table-column prop="Remark" label="描述" show-overflow-tooltip></el-table-column>
             </el-table>
             <el-pagination small
-                           @size-change="handleProjectSizeChange2"
-                           @current-change="handleProjectCurrentChange2"
-                           :current-page="currentPageProject2"
+                           @size-change="handleProjectSizeChange3"
+                           @current-change="handleProjectCurrentChange3"
+                           :current-page="currentPageProject3"
                            :page-sizes="[10, 20, 30]"
-                           :page-size="sizeProject2"
+                           :page-size="sizeProject3"
                            layout="total, sizes, prev, pager, next,jumper"
-                           :total="currentItemCountProject2"
+                           :total="currentItemCountProject3"
                            style="margin: 5px;">
             </el-pagination>
           </el-card>
         </el-tab-pane>
-        <el-tab-pane label="服务类" v-if="accessedType.includes('03')">
+        <el-tab-pane label="基建类" v-if="accessedType.includes('02')">
           <el-card class="box-card" style="margin-top: 10px;">
             <div slot="header" class="clearfix">
               <span style="font-weight: bold">企业资质</span>
               <span style="float: right;">
-                <el-button style="padding: 3px 0" type="text" @click="recall('03')" v-if="!(InfoStatus > 0 || butnab)">撤销删除</el-button>
-                <el-button style="padding: 3px 0" type="text" @click="showDialog('03')" v-if="!(InfoStatus > 0 || butnab)">添加</el-button>
+                <el-button style="padding: 3px 0" type="text" @click="recall('02')" v-if="!(InfoStatus > 0 || butnab)">撤销删除</el-button>
+                <el-button style="padding: 3px 0" type="text" @click="showDialog('02')" v-if="!(InfoStatus > 0 || butnab)">添加</el-button>
               </span>
             </div>
-            <el-table :data="subfileList3" border>
+            <el-table :data="subfileList2" border>
               <el-table-column label="操作" width="150" align="center" fixed>
                 <template slot-scope="scope">
                   <el-button type="primary" plain size="mini" title="文件变更" @click="openDialog(scope.row)"
@@ -716,11 +1081,6 @@
                 <template slot-scope="scope">
 
 
-                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
-                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
-                      class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
-                  </div> -->
-
                   <viewer :images="scope.row.OldFileUrlList">
                     <div v-for="(tmpUrl,index) in scope.row.OldFileUrlList" :key="index" style="vertical-align: middle;	text-align: center;">
                       <div v-if="imgFormat(scope.row.OldFileUrl, index)">
@@ -737,6 +1097,12 @@
                     </div>
                     </viewer>
 
+                  <!-- <div v-for="(tmpUrl, index) in scope.row.OldFileUrlList">
+                    <a :href="'http://'+fileurlcut(scope.row.OldFileUrl, index)" target="_blank"
+                      class="buttonText">{{scope.row.OldFileName.split('$')[index]}}</a>
+                  </div> -->
+
+
 
                 </template>
               </el-table-column>
@@ -772,6 +1138,7 @@
                     </el-col>
                     </el-row>
 
+
                   <!-- <el-row align="middle">
                     <el-col :span="20">
                       <div v-for="(tmpUrl, index) in scope.row.FileUrlList">
@@ -786,6 +1153,7 @@
                   </el-row> -->
 
 
+
                 </template>
               </el-table-column>
               <el-table-column prop="EffectDate" label="变更后有效日期" show-overflow-tooltip>
@@ -796,13 +1164,13 @@
               <el-table-column prop="Remark" label="描述" show-overflow-tooltip></el-table-column>
             </el-table>
             <el-pagination small
-                           @size-change="handleProjectSizeChange3"
-                           @current-change="handleProjectCurrentChange3"
-                           :current-page="currentPageProject3"
+                           @size-change="handleProjectSizeChange2"
+                           @current-change="handleProjectCurrentChange2"
+                           :current-page="currentPageProject2"
                            :page-sizes="[10, 20, 30]"
-                           :page-size="sizeProject3"
+                           :page-size="sizeProject2"
                            layout="total, sizes, prev, pager, next,jumper"
-                           :total="currentItemCountProject3"
+                           :total="currentItemCountProject2"
                            style="margin: 5px;">
             </el-pagination>
           </el-card>
@@ -965,6 +1333,10 @@
   import fileapi from '@/api/oilsupplier/supplierfile'
   import ChooseAuditorFen from '@/components/oilsupplier/chooseauditorfenban'
   import setapi from '@/api/oilsupplier/oilclassorgset'
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -977,6 +1349,10 @@
     components: {
       WfMultiHistory,
       ChooseAuditor,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditorFen
     },
     computed: {
@@ -1129,7 +1505,95 @@
           }
         }
       }
+      var checkWorkerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('企业员工总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkTechnicalNum = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术、管理人员数量必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkSkillerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术工人总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
       return {
+        rulesnum: {
+          WorkerTotal: [{
+            required: true,
+            validator: checkWorkerTotal,
+            trigger: 'blur'
+          }],
+          TechnicalNum: [{
+            required: true,
+            validator: checkTechnicalNum,
+            trigger: 'blur'
+          }],
+          SkillerTotal: [{
+            required: true,
+            validator: checkSkillerTotal,
+            trigger: 'blur'
+          }]
+        },
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        certList: [],
+        CertId1: 0,
+        CertId2: 0,
+        CertId3: 0,
+        formDataCert1: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        formDataCert2: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        formDataCert3: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         saveLoading: false,
         dateDisable: false,
         OperTypeCopy: '',
@@ -1602,9 +2066,235 @@
       this.getsubfile3()
       this.getFileDictOptions()
       this.initTableHeader()
+      this.getSupplierCert()
       // this.getAccessCardNo()
     },
     methods: {
+      equipmentdialog (code) {
+        if (code === '01') {
+          this.$refs['equipmentList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['equipmentList2'].showDialog()
+        } else {
+          this.$refs['equipmentList3'].showDialog()
+        }
+      },
+      performancedialog (code) {
+        if (code === '01') {
+          this.$refs['performanceList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['performanceList2'].showDialog()
+        } else {
+          this.$refs['performanceList3'].showDialog()
+        }
+      },
+      patentdialog (code) {
+        if (code === '01') {
+          this.$refs['patentList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['patentList2'].showDialog()
+        } else {
+          this.$refs['patentList3'].showDialog()
+        }
+      },
+      winningdialog (code) {
+        if (code === '01') {
+          this.$refs['winningList1'].showDialog()
+        } else if (code === '02') {
+          this.$refs['winningList2'].showDialog()
+        } else {
+          this.$refs['winningList3'].showDialog()
+        }
+      },
+      getSupplierCert () {
+        supplierapi.getSupplierCert(this.supplierId, this.$axios).then(res => {
+            this.certList = res.data.items
+            if (this.certList.length > 0) {
+              for (let i = 0; i < this.certList.length; i++) {
+                if (this.certList[i].SupplierTypeCode == '01') {
+                  this.CertId1 = this.certList[i].Id
+                  this.formDataCert1.WorkerTotal = this.certList[i].WorkerTotal
+                  this.formDataCert1.ContractNum = this.certList[i].ContractNum
+                  this.formDataCert1.UniversityNum = this.certList[i].UniversityNum
+                  this.formDataCert1.TechnicalNum = this.certList[i].TechnicalNum
+                  this.formDataCert1.AboveProfNum = this.certList[i].AboveProfNum
+                  this.formDataCert1.MiddleProfNum = this.certList[i].MiddleProfNum
+                  this.formDataCert1.NationalRegNum = this.certList[i].NationalRegNum
+                  this.formDataCert1.NationalCertTotal = this.certList[i].NationalCertTotal
+                  this.formDataCert1.DesignerTotal = this.certList[i].DesignerTotal
+                  this.formDataCert1.SkillerTotal = this.certList[i].SkillerTotal
+                  this.formDataCert1.Status = this.certList[i].Status
+                  this.formDataCert1.WorkflowId = this.certList[i].WorkflowId
+                  this.$refs['equipmentList1'].getvalue(0, '01', this.certList[i].Id)
+                  this.$refs['performanceList1'].getvalue(0, '01', this.certList[i].Id)
+                  this.$refs['patentList1'].getvalue(0, '01', this.certList[i].Id)
+                  this.$refs['winningList1'].getvalue(0, '01', this.certList[i].Id)
+                }
+                if (this.certList[i].SupplierTypeCode == '02') {
+                  this.CertId2 = this.certList[i].Id
+                  this.formDataCert2.WorkerTotal = this.certList[i].WorkerTotal
+                  this.formDataCert2.ContractNum = this.certList[i].ContractNum
+                  this.formDataCert2.UniversityNum = this.certList[i].UniversityNum
+                  this.formDataCert2.TechnicalNum = this.certList[i].TechnicalNum
+                  this.formDataCert2.AboveProfNum = this.certList[i].AboveProfNum
+                  this.formDataCert2.MiddleProfNum = this.certList[i].MiddleProfNum
+                  this.formDataCert2.NationalRegNum = this.certList[i].NationalRegNum
+                  this.formDataCert2.NationalCertTotal = this.certList[i].NationalCertTotal
+                  this.formDataCert2.DesignerTotal = this.certList[i].DesignerTotal
+                  this.formDataCert2.SkillerTotal = this.certList[i].SkillerTotal
+                  this.formDataCert2.Status = this.certList[i].Status
+                  this.formDataCert2.WorkflowId = this.certList[i].WorkflowId
+                  this.$refs['equipmentList2'].getvalue(0, '02', this.certList[i].Id)
+                  this.$refs['performanceList2'].getvalue(0, '02', this.certList[i].Id)
+                  this.$refs['patentList2'].getvalue(0, '02', this.certList[i].Id)
+                  this.$refs['winningList2'].getvalue(0, '02', this.certList[i].Id)
+                }
+                if (this.certList[i].SupplierTypeCode == '03') {
+                  this.CertId3 = this.certList[i].Id
+                  this.formDataCert3.WorkerTotal = this.certList[i].WorkerTotal
+                  this.formDataCert3.ContractNum = this.certList[i].ContractNum
+                  this.formDataCert3.UniversityNum = this.certList[i].UniversityNum
+                  this.formDataCert3.TechnicalNum = this.certList[i].TechnicalNum
+                  this.formDataCert3.AboveProfNum = this.certList[i].AboveProfNum
+                  this.formDataCert3.MiddleProfNum = this.certList[i].MiddleProfNum
+                  this.formDataCert3.NationalRegNum = this.certList[i].NationalRegNum
+                  this.formDataCert3.NationalCertTotal = this.certList[i].NationalCertTotal
+                  this.formDataCert3.DesignerTotal = this.certList[i].DesignerTotal
+                  this.formDataCert3.SkillerTotal = this.certList[i].SkillerTotal
+                  this.formDataCert3.Status = this.certList[i].Status
+                  this.formDataCert3.WorkflowId = this.certList[i].WorkflowId
+                  this.$refs['equipmentList3'].getvalue(0, '03', this.certList[i].Id)
+                  this.$refs['performanceList3'].getvalue(0, '03', this.certList[i].Id)
+                  this.$refs['patentList3'].getvalue(0, '03', this.certList[i].Id)
+                  this.$refs['winningList3'].getvalue(0, '03', this.certList[i].Id)
+                }
+              }
+            }
+        }).catch(err => {
+          console.error(err)
+        })
+      },
+      // 企业人员结构情况
+      updateNumberEntity1 () {
+        if (this.formDataCert1.TechnicalNum > this.formDataCert1.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert1.SkillerTotal > this.formDataCert1.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
+        this.$refs['EntityFormNumber1'].validate((valid) => {
+          if (valid) {
+            supplierapi.updateNumberEntity(this.formData.Id + '_' + this.CertId1, this.formDataCert1, this.$axios).then(
+              res => {
+                if (res.data.code === 0) {
+                  // 保存成功后,初始化数据,变成修改
+                  this.getSupplierCert()
+                  this.$message({
+                    type: 'success',
+                    message: res.data.message
+                  })
+                } else {
+                  this.$message({
+                    type: 'warning',
+                    message: res.data.message
+                  })
+                }
+              }).catch(err => {
+              console.error(err)
+            })
+          } else {
+            return false
+          }
+        })
+      },
+      updateNumberEntity2 () {
+        if (this.formDataCert2.TechnicalNum > this.formDataCert2.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert2.SkillerTotal > this.formDataCert2.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
+        this.$refs['EntityFormNumber2'].validate((valid) => {
+          if (valid) {
+            supplierapi.updateNumberEntity(this.formData.Id + '_' + this.CertId2, this.formDataCert2, this.$axios).then(
+              res => {
+                if (res.data.code === 0) {
+                  // 保存成功后,初始化数据,变成修改
+                  this.getSupplierCert()
+                  this.$message({
+                    type: 'success',
+                    message: res.data.message
+                  })
+                } else {
+                  this.$message({
+                    type: 'warning',
+                    message: res.data.message
+                  })
+                }
+              }).catch(err => {
+              console.error(err)
+            })
+          } else {
+            return false
+          }
+        })
+      },
+      updateNumberEntity3 () {
+        if (this.formDataCert3.TechnicalNum > this.formDataCert3.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert3.SkillerTotal > this.formDataCert3.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
+        this.$refs['EntityFormNumber3'].validate((valid) => {
+          if (valid) {
+            supplierapi.updateNumberEntity(this.formData.Id + '_' + this.CertId3, this.formDataCert3, this.$axios).then(
+              res => {
+                if (res.data.code === 0) {
+                  // 保存成功后,初始化数据,变成修改
+                  this.getSupplierCert()
+                  this.$message({
+                    type: 'success',
+                    message: res.data.message
+                  })
+                } else {
+                  this.$message({
+                    type: 'warning',
+                    message: res.data.message
+                  })
+                }
+              }).catch(err => {
+              console.error(err)
+            })
+          } else {
+            return false
+          }
+        })
+      },
       addDate () {
         let date = new Date()
         let year = date.getFullYear() + 50

+ 277 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/basisdataopera.vue

@@ -397,6 +397,133 @@
               </el-row>
             </el-form>
           </el-tab-pane>
+          <el-tab-pane label="企业情况">
+            <el-card class="box-card">
+              <div slot="header" class="clearfix">
+                <span>企业人员结构情况</span>
+                <span style="float: right;">
+                <el-button type="primary" size="mini" @click="updateNumberEntity()" v-if="currentStatus <= 0">
+                  保存人员结构情况</el-button>
+              </span>
+              </div>
+
+              <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert" :rules="rulesnum">
+                <el-row>
+                  <el-col :span="8">
+                    <el-form-item label="企业员工总数" prop="WorkerTotal">
+                      <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                      <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术工人总数" prop="SkillerTotal">
+                      <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                       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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                              :SupplierTypeCode="SupplierTypeCode" :canadd="currentStatus <= 0" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog" v-if="currentStatus <= 0">
+                  添加</el-button>
+              </div>
+              <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                                :SupplierTypeCode="SupplierTypeCode" :canadd="currentStatus <= 0" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <patent-list ref="patentList" :canadd="currentStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                           :SupplierTypeCode="SupplierTypeCode" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <winning-list ref="winningList" :canadd="currentStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                            :SupplierTypeCode="SupplierTypeCode" height="360px" style="margin-top: 20px">
+              </winning-list>
+            </el-card>
+          </el-tab-pane>
           <el-tab-pane label="增项信息">
             <el-card class="box-card">
               <div slot="header">
@@ -922,6 +1049,10 @@
   import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
   import ChooseAuditorFen from '@/components/oilsupplier/chooseauditorfenban'
   import setapi from '@/api/oilsupplier/oilclassorgset'
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -936,6 +1067,10 @@
     components: {
       WfMultiHistory,
       ChooseAuditor,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditorFen
     },
     computed: {
@@ -1061,7 +1196,63 @@
           }
         }
       }
+      var checkWorkerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('企业员工总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkTechnicalNum = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术、管理人员数量必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkSkillerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术工人总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
       return {
+        rulesnum: {
+          WorkerTotal: [{
+            required: true,
+            validator: checkWorkerTotal,
+            trigger: 'blur'
+          }],
+          TechnicalNum: [{
+            required: true,
+            validator: checkTechnicalNum,
+            trigger: 'blur'
+          }],
+          SkillerTotal: [{
+            required: true,
+            validator: checkSkillerTotal,
+            trigger: 'blur'
+          }]
+        },
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         recallApplyVisible: false, // 撤回申请弹出框
         recallApplyBtn: false,
         needPayAmount: 0,
@@ -1123,7 +1314,7 @@
           Status: ''
         },
         SupplierId: 0,
-        SupplierTypeCode: '',
+        SupplierTypeCode: '02',
         SupplierCertId: 0,
         subfileList1: [],
         visible: false,
@@ -1585,6 +1776,90 @@
       //this.getsubfile()
     },
     methods: {
+      equipmentdialog () {
+        this.$refs['equipmentList'].showDialog()
+      },
+      performancedialog () {
+        this.$refs['performanceList'].showDialog()
+      },
+      patentdialog () {
+        this.$refs['patentList'].showDialog()
+      },
+      winningdialog () {
+        this.$refs['winningList'].showDialog()
+      },
+      initDatas () {
+        console.log(this.formData.Id,'+++++',this.formData.SupplierCertId, '-------- --')
+        if (this.formData.Id) {
+          suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
+            this.AccessCardNo = res.data.AccessCardNo
+            this.InStyle = res.data.InStyle
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+          }).catch(err => {
+            console.error(err)
+          })
+        }
+      },
+      // 企业人员结构情况
+      updateNumberEntity () {
+        if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
+        this.$refs['EntityFormNumber'].validate((valid) => {
+          if (valid) {
+            // if (!this.CheckCompanyBase()) {
+            //   return false
+            // }
+            this.formDataCert.InStyle = this.formData.InStyle
+            suppapi.updateNumberEntity(this.formData.Id + '_' + this.formData.SupplierCertId, 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)
+            })
+          } else {
+            return false
+          }
+        })
+      },
       addDate () {
         let date = new Date()
         let year = date.getFullYear() + 50
@@ -2554,6 +2829,7 @@
           _this.getMySortList()
           _this.getSupplierData()
           _this.getsubfile()
+          _this.initDatas()
         }).catch(err => {
           console.error(err)
         })

+ 277 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/goodsdataopera.vue

@@ -5,7 +5,7 @@
       <el-breadcrumb-item :to="{ path: '/oilsupplier/supplierappend/goodslist' }">物资类增项申请列表</el-breadcrumb-item>
       <el-breadcrumb-item>物资类</el-breadcrumb-item>
     </el-breadcrumb>
-    <el-card class="box-card" v-loading="cardloading">
+    <el-card class="box-card">
       <div slot="header">
         <span>
           <i class="icon icon-table2"></i> &nbsp;{{supplierData.SupplierName}}
@@ -441,6 +441,133 @@
 
             </el-form>
           </el-tab-pane>
+          <el-tab-pane label="企业情况">
+            <el-card class="box-card">
+              <div slot="header" class="clearfix">
+                <span>企业人员结构情况</span>
+                <span style="float: right;">
+                <el-button type="primary" size="mini" @click="updateNumberEntity()" v-if="currentStatus <= 0">
+                  保存人员结构情况</el-button>
+              </span>
+              </div>
+
+              <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert" :rules="rulesnum">
+                <el-row>
+                  <el-col :span="8">
+                    <el-form-item label="企业员工总数" prop="WorkerTotal">
+                      <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                      <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术工人总数" prop="SkillerTotal">
+                      <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                       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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                              :SupplierTypeCode="SupplierTypeCode" :canadd="currentStatus <= 0" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog" v-if="currentStatus <= 0">
+                  添加</el-button>
+              </div>
+              <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                                :SupplierTypeCode="SupplierTypeCode" :canadd="currentStatus <= 0" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <patent-list ref="patentList" :canadd="currentStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                           :SupplierTypeCode="SupplierTypeCode" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <winning-list ref="winningList" :canadd="currentStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                            :SupplierTypeCode="SupplierTypeCode" height="360px" style="margin-top: 20px">
+              </winning-list>
+            </el-card>
+          </el-tab-pane>
           <el-tab-pane label="增项信息">
             <el-card class="box-card" style="margin-top: 20px">
               <div slot="header">
@@ -1117,6 +1244,10 @@
   import ChooseAuditorFen from '@/components/oilsupplier/chooseauditorfenban'
   import setapi from '@/api/oilsupplier/oilclassorgset'
   import goodsApi from '@/api/oilsupplier/goodsaptitude'
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
 
   // v-viewer
   import Vue from 'vue'
@@ -1132,6 +1263,10 @@
     components: {
       WfMultiHistory,
       ChooseAuditor,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditorFen
     },
     computed: {
@@ -1272,7 +1407,63 @@
           }
         }
       }
+      var checkWorkerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('企业员工总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkTechnicalNum = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术、管理人员数量必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkSkillerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术工人总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
       return {
+        rulesnum: {
+          WorkerTotal: [{
+            required: true,
+            validator: checkWorkerTotal,
+            trigger: 'blur'
+          }],
+          TechnicalNum: [{
+            required: true,
+            validator: checkTechnicalNum,
+            trigger: 'blur'
+          }],
+          SkillerTotal: [{
+            required: true,
+            validator: checkSkillerTotal,
+            trigger: 'blur'
+          }]
+        },
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         recallApplyVisible: false, // 撤回申请弹出框
         recallApplyBtn: false,
         needPayAmount: 0,
@@ -1297,7 +1488,6 @@
         selectDept: 100000653,
         Grade: '',
         OperType: '',
-        cardloading: '',
         Remark: '',
         Remark1: '',
         loading: false,
@@ -1365,7 +1555,7 @@
         },
         auditbusList: [],
         SupplierId: 0,
-        SupplierTypeCode: '',
+        SupplierTypeCode: '01',
         SupplierCertId: 0,
         subfileList: [],
         subfileList1: [],
@@ -1826,6 +2016,89 @@
       // this.getsubfile()
     },
     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) {
+          suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
+            this.AccessCardNo = res.data.AccessCardNo
+            this.InStyle = res.data.InStyle
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+          }).catch(err => {
+            console.error(err)
+          })
+        }
+      },
+      // 企业人员结构情况
+      updateNumberEntity () {
+        if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
+        this.$refs['EntityFormNumber'].validate((valid) => {
+          if (valid) {
+            // if (!this.CheckCompanyBase()) {
+            //   return false
+            // }
+            this.formDataCert.InStyle = this.formData.InStyle
+            suppapi.updateNumberEntity(this.formData.Id + '_' + this.formData.SupplierCertId, 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)
+            })
+          } else {
+            return false
+          }
+        })
+      },
       addDate () {
         let date = new Date()
         let year = date.getFullYear() + 50
@@ -2293,6 +2566,7 @@
           _this.getSupplier()
           _this.getSupplierData()
           _this.getsubfile()
+          _this.initDatas()
         }).catch(err => {
           console.error(err)
         })

+ 277 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplierappend/_opera/techdataopera.vue

@@ -393,6 +393,133 @@
               </el-row>
             </el-form>
           </el-tab-pane>
+          <el-tab-pane label="企业情况">
+            <el-card class="box-card">
+              <div slot="header" class="clearfix">
+                <span>企业人员结构情况</span>
+                <span style="float: right;">
+                <el-button type="primary" size="mini" @click="updateNumberEntity()" v-if="currentStatus <= 0">
+                  保存人员结构情况</el-button>
+              </span>
+              </div>
+
+              <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert" :rules="rulesnum">
+                <el-row>
+                  <el-col :span="8">
+                    <el-form-item label="企业员工总数" prop="WorkerTotal">
+                      <el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                      <el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       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" :disabled="disabled"
+                                       style="width: 100%"></el-input-number>
+                    </el-form-item>
+                  </el-col>
+
+                  <el-col :span="8">
+                    <el-form-item label="技术工人总数" prop="SkillerTotal">
+                      <el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0" :disabled="disabled"
+                                       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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                              :SupplierTypeCode="SupplierTypeCode" :canadd="currentStatus <= 0" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog" v-if="currentStatus <= 0">
+                  添加</el-button>
+              </div>
+              <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                                :SupplierTypeCode="SupplierTypeCode" :canadd="currentStatus <= 0" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <patent-list ref="patentList" :canadd="currentStatus <= 0" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                           :SupplierTypeCode="SupplierTypeCode" 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>
+                <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog" v-if="currentStatus <= 0">添加
+                </el-button>
+              </div>
+              <winning-list ref="winningList" :canadd="currentStatus <= 0" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                            :SupplierTypeCode="SupplierTypeCode" height="360px" style="margin-top: 20px">
+              </winning-list>
+            </el-card>
+          </el-tab-pane>
           <el-tab-pane label="增项信息">
             <el-card class="box-card">
               <div slot="header">
@@ -924,6 +1051,10 @@
   import WfMultiHistory from '@/components/workflow/wfmultihistory.vue'
   import ChooseAuditorFen from '@/components/oilsupplier/chooseauditorfenban'
   import setapi from '@/api/oilsupplier/oilclassorgset'
+  import EquipmentList from '@/components/oilsupplier/equipmentlist'
+  import PerformanceList from '@/components/oilsupplier/performancelist'
+  import PatentList from '@/components/oilsupplier/patentlist'
+  import WinningList from '@/components/oilsupplier/winninglist'
   // v-viewer
   import Vue from 'vue'
   import Viewer from 'v-viewer'
@@ -937,6 +1068,10 @@
     components: {
       WfMultiHistory,
       ChooseAuditor,
+      EquipmentList, // 企业主要设备
+      PerformanceList, // 近三年主要业绩列表
+      PatentList, // 专利及专有技术列表
+      WinningList, // 近三年省部级及以上获奖项目列表
       ChooseAuditorFen
     },
     computed: {
@@ -1069,7 +1204,63 @@
           }
         }
       }
+      var checkWorkerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('企业员工总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkTechnicalNum = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术、管理人员数量必须大于0'))
+        } else {
+          callback()
+        }
+      }
+      var checkSkillerTotal = (rule, value, callback) => {
+        if (value <= 0) {
+          callback(new Error('技术工人总数必须大于0'))
+        } else {
+          callback()
+        }
+      }
       return {
+        rulesnum: {
+          WorkerTotal: [{
+            required: true,
+            validator: checkWorkerTotal,
+            trigger: 'blur'
+          }],
+          TechnicalNum: [{
+            required: true,
+            validator: checkTechnicalNum,
+            trigger: 'blur'
+          }],
+          SkillerTotal: [{
+            required: true,
+            validator: checkSkillerTotal,
+            trigger: 'blur'
+          }]
+        },
+        equipmentList: [], // 企业主要设备
+        performanceList: [], // 近三年主要业绩
+        patentList: [], // 专利及专有技术
+        winningList: [], // 近三年省部级及以上获奖项目
+        formDataCert: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         recallApplyVisible: false, // 撤回申请弹出框
         recallApplyBtn: false,
         needPayAmount: 0,
@@ -1140,7 +1331,7 @@
         },
         auditbusList: [],
         SupplierId: 0,
-        SupplierTypeCode: '',
+        SupplierTypeCode: '03',
         SupplierCertId: 0,
         subfileList1: [],
         visible: false,
@@ -1595,6 +1786,90 @@
       // this.getsubfile()
     },
     methods: {
+      equipmentdialog () {
+        this.$refs['equipmentList'].showDialog()
+      },
+      performancedialog () {
+        this.$refs['performanceList'].showDialog()
+      },
+      patentdialog () {
+        this.$refs['patentList'].showDialog()
+      },
+      winningdialog () {
+        this.$refs['winningList'].showDialog()
+      },
+      initDatas () {
+        console.log(this.formData.Id,'+++++',this.formData.SupplierCertId, '-------- --')
+        if (this.formData.Id) {
+          suppapi.getEntityAndCert(this.formData.SupplierCertId, this.$axios).then(res => {
+            this.AccessCardNo = res.data.AccessCardNo
+            this.InStyle = res.data.InStyle
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.formData.SupplierCertId)
+          }).catch(err => {
+            console.error(err)
+          })
+        }
+      },
+      // 企业人员结构情况
+      updateNumberEntity () {
+        if (this.formDataCert.TechnicalNum > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术、管理人员数量不能大于员工总数!'
+          })
+          return
+        }
+        if (this.formDataCert.SkillerTotal > this.formDataCert.WorkerTotal) {
+          this.$message({
+            type: 'warning',
+            message: '技术工人总数不能大于员工总数!'
+          })
+          return
+        }
+        this.$refs['EntityFormNumber'].validate((valid) => {
+          if (valid) {
+            // if (!this.CheckCompanyBase()) {
+            //   return false
+            // }
+            this.formDataCert.InStyle = this.formData.InStyle
+            suppapi.updateNumberEntity(this.formData.Id + '_' + this.formData.SupplierCertId, 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)
+            })
+          } else {
+            return false
+          }
+        })
+      },
       addDate () {
         let date = new Date()
         let year = date.getFullYear() + 50
@@ -2043,6 +2318,7 @@
           _this.getMySortList()
           _this.getSupplierData()
           _this.getsubfile()
+          _this.initDatas()
         }).catch(err => {
           console.error(err)
         })

+ 646 - 5
src/dashoo.cn/frontend_web/src/pages/select/processselect/wfmultihistory.vue

@@ -1488,6 +1488,339 @@
 
           </el-form>
         </el-tab-pane>
+        <el-tab-pane label="物资类企业情况" v-if="accessedType.includes('01')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber1" size="mini" :model="formDataCert1">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert1.WorkerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert1.ContractNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert1.UniversityNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert1.TechnicalNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert1.AboveProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert1.MiddleProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert1.NationalRegNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert1.NationalCertTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert1.DesignerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert1.SkillerTotal" controls-position="right" :min="0" disabled
+                                     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="equipmentList1" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="false" 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="performanceList1" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="false" 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="patentList1" :canadd="false" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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="winningList1" :canadd="false" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+        <el-tab-pane label="服务类企业情况" v-if="accessedType.includes('03')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber3" size="mini" :model="formDataCert3">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert3.WorkerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert3.ContractNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert3.UniversityNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert3.TechnicalNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert3.AboveProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert3.MiddleProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert3.NationalRegNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert3.NationalCertTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert3.DesignerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert3.SkillerTotal" controls-position="right" :min="0" disabled
+                                     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="equipmentList3" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="false" 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="performanceList3" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="false" 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="patentList3" :canadd="false" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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="winningList3" :canadd="false" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
+        <el-tab-pane label="基建类企业情况" v-if="accessedType.includes('02')">
+          <el-card class="box-card">
+            <div slot="header" class="clearfix">
+              <span>企业人员结构情况</span>
+            </div>
+
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber2" size="mini" :model="formDataCert2">
+              <el-row>
+                <el-col :span="8">
+                  <el-form-item label="企业员工总数" prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert2.WorkerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量">
+                    <el-input-number v-model="formDataCert2.ContractNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量">
+                    <el-input-number v-model="formDataCert2.UniversityNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术、管理人员数量" prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert2.TechnicalNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量">
+                    <el-input-number v-model="formDataCert2.AboveProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量">
+                    <el-input-number v-model="formDataCert2.MiddleProfNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量">
+                    <el-input-number v-model="formDataCert2.NationalRegNum" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数">
+                    <el-input-number v-model="formDataCert2.NationalCertTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数">
+                    <el-input-number v-model="formDataCert2.DesignerTotal" controls-position="right" :min="0" disabled
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数" prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert2.SkillerTotal" controls-position="right" :min="0" disabled
+                                     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="equipmentList2" :data="equipmentList" :SupplierCertId="formData.SupplierCertId"
+                            :canadd="false" 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="performanceList2" :data="performanceList" :SupplierCertId="formData.SupplierCertId" :disabled="true"
+                              :canadd="false" 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="patentList2" :canadd="false" :data="patentList" :SupplierCertId="formData.SupplierCertId"
+                         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="winningList2" :canadd="false" :data="winningList" :SupplierCertId="formData.SupplierCertId"
+                          height="360px" style="margin-top: 20px">
+            </winning-list>
+          </el-card>
+        </el-tab-pane>
         <el-tab-pane label="物资类" v-if="accessedType.length > 0 && accessedType.includes('01')">
           <el-card class="box-card" style="margin-top: 10px;">
             <el-table :data="subfileList1" border>
@@ -1544,9 +1877,9 @@
             </el-table>
           </el-card>
         </el-tab-pane>
-        <el-tab-pane label="基建类" v-if="accessedType.length > 0 && accessedType.includes('02')">
+        <el-tab-pane label="服务类" v-if="accessedType.length > 0 && accessedType.includes('03')">
           <el-card class="box-card" style="margin-top: 10px;">
-            <el-table :data="subfileList2" border>
+            <el-table :data="subfileList3" border>
               <el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
               <el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
                 <template slot-scope="scope">
@@ -1600,9 +1933,9 @@
             </el-table>
           </el-card>
         </el-tab-pane>
-        <el-tab-pane label="服务类" v-if="accessedType.length > 0 && accessedType.includes('03')">
+        <el-tab-pane label="基建类" v-if="accessedType.length > 0 && accessedType.includes('02')">
           <el-card class="box-card" style="margin-top: 10px;">
-            <el-table :data="subfileList3" border>
+            <el-table :data="subfileList2" border>
               <el-table-column prop="NeedFileType" label="文件分类" show-overflow-tooltip></el-table-column>
               <el-table-column prop="OldFileUrlList" label="原文件" show-overflow-tooltip>
                 <template slot-scope="scope">
@@ -2085,6 +2418,186 @@
 
           </el-form>
         </el-tab-pane>
+        <el-tab-pane label="企业情况" ref="tabPaneRef" name="444">
+          <el-card class="box-card mycard">
+            <el-form label-width="220px" class="formDataInfo" ref="EntityFormNumber" size="mini" :model="formDataCert">
+              <el-row>
+                <el-col :span="8">
+
+                  <!--修改为必填-->
+                  <el-form-item label="企业员工总数"
+                                prop="WorkerTotal">
+                    <el-input-number v-model="formDataCert.WorkerTotal"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="合同化用工数量"
+                                prop="ContractNum">
+                    <el-input-number v-model="formDataCert.ContractNum"
+                                     controls-position="right"
+                                     step-strictly
+                                     disabled
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="大学及以上学历人员数量"
+                                prop="UniversityNum">
+                    <el-input-number v-model="formDataCert.UniversityNum"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+
+                  <!--修改为必填-->
+                  <el-form-item label="技术、管理人员数量"
+                                prop="TechnicalNum">
+                    <el-input-number v-model="formDataCert.TechnicalNum"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="高级及以上职称人员数量"
+                                prop="AboveProfNum">
+                    <el-input-number v-model="formDataCert.AboveProfNum"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="中级职称人员数量"
+                                prop="MiddleProfNum">
+                    <el-input-number v-model="formDataCert.MiddleProfNum"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格人员数量"
+                                prop="NationalRegNum">
+                    <el-input-number v-model="formDataCert.NationalRegNum"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="具有国家注册执业资格证书总数"
+                                prop="NationalCertTotal">
+                    <el-input-number v-model="formDataCert.NationalCertTotal"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="设计人员总数"
+                                prop="DesignerTotal">
+                    <el-input-number v-model="formDataCert.DesignerTotal"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+
+                <el-col :span="8">
+                  <el-form-item label="技术工人总数"
+                                prop="SkillerTotal">
+                    <el-input-number v-model="formDataCert.SkillerTotal"
+                                     controls-position="right"
+                                     disabled
+                                     step-strictly
+                                     :min="0"
+                                     style="width: 100%"></el-input-number>
+                  </el-form-item>
+                </el-col>
+              </el-row>
+            </el-form>
+          </el-card>
+          <el-card class="box-card mycard" style="margin-top: 10px;">
+            <div slot="header" class="clearfix">
+              <span>企业主要设备</span>
+            </div>
+            <equipment-list ref="equipmentList" :data.sync="equipmentList" :SupplierCertId="certId+''" :SupplierTypeCode="classId"  height="360px" style="margin-top: 20px">
+
+            </equipment-list>
+          </el-card>
+          <el-card class="box-card mycard"
+                   style="margin-top: 10px;">
+            <div slot="header"
+                 class="clearfix">
+              <span>近三年主要业绩</span>
+            </div>
+            <performance-list ref="performanceList"
+                              :data.sync="performanceList"
+                              :SupplierCertId="certId+''"
+                              :SupplierTypeCode="classId"
+
+                              style="margin-top: 20px"></performance-list>
+          </el-card>
+          <el-card class="box-card mycard"
+                   style="margin-top: 10px;">
+            <div slot="header"
+                 class="clearfix">
+              <span>专利及专有技术</span>
+            </div>
+            <patent-list ref="patentList"
+                         :data.sync="patentList"
+                         :SupplierCertId="certId+''"
+                         :SupplierTypeCode="classId"
+
+                         height="360px"
+                         style="margin-top: 20px"></patent-list>
+          </el-card>
+          <el-card class="box-card mycard"
+                   style="margin-top: 10px;">
+            <div slot="header"
+                 class="clearfix">
+              <span>近三年省部级及以上获奖项目</span>
+            </div>
+            <winning-list ref="winningList"
+                          :data.sync="winningList"
+                          :SupplierCertId="certId+''"
+                          :SupplierTypeCode="classId"
+
+                          height="360px"
+                          style="margin-top: 20px"></winning-list>
+          </el-card>
+        </el-tab-pane>
         <el-tab-pane label="增项信息" name="222">
           <el-card class="box-card">
             <el-form class="formDataInfo" label-width="150px" ref="EntityForm" :model="formDataAppend">
@@ -2310,6 +2823,52 @@
     data () {
       return {
         accessedType: [], // 已准入的类别:物资类、服务类、基建类
+        certList: [],
+        CertId1: 0,
+        CertId2: 0,
+        CertId3: 0,
+        formDataCert1: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        formDataCert2: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
+        formDataCert3: {
+          WorkerTotal: 0,
+          ContractNum: 0,
+          UniversityNum: 0,
+          TechnicalNum: 0,
+          AboveProfNum: 0,
+          MiddleProfNum: 0,
+          NationalRegNum: 0,
+          NationalCertTotal: 0,
+          DesignerTotal: 0,
+          SkillerTotal: 0,
+          Status: 0,
+          WorkflowId: ''
+        },
         activeName: 'all',
         activeName2: 'all',
         activeName3: 'all',
@@ -2597,6 +3156,7 @@
           infochange.GetAccessedType(this.SupplierId, this.$axios)
             .then(res => {
               this.accessedType = res.data
+              this.getSupplierCert()
             })
             .catch(err => {
               console.error(err)
@@ -2611,6 +3171,74 @@
         this.getHistoryTask()
         this.getDictOptions()
       },
+      getSupplierCert () {
+        api.getSupplierCert(this.SupplierId, this.$axios).then(res => {
+          this.certList = res.data.items
+          if (this.certList.length > 0) {
+            for (let i = 0; i < this.certList.length; i++) {
+              if (this.certList[i].SupplierTypeCode == '01') {
+                this.CertId1 = this.certList[i].Id
+                this.formDataCert1.WorkerTotal = this.certList[i].WorkerTotal
+                this.formDataCert1.ContractNum = this.certList[i].ContractNum
+                this.formDataCert1.UniversityNum = this.certList[i].UniversityNum
+                this.formDataCert1.TechnicalNum = this.certList[i].TechnicalNum
+                this.formDataCert1.AboveProfNum = this.certList[i].AboveProfNum
+                this.formDataCert1.MiddleProfNum = this.certList[i].MiddleProfNum
+                this.formDataCert1.NationalRegNum = this.certList[i].NationalRegNum
+                this.formDataCert1.NationalCertTotal = this.certList[i].NationalCertTotal
+                this.formDataCert1.DesignerTotal = this.certList[i].DesignerTotal
+                this.formDataCert1.SkillerTotal = this.certList[i].SkillerTotal
+                this.formDataCert1.Status = this.certList[i].Status
+                this.formDataCert1.WorkflowId = this.certList[i].WorkflowId
+                this.$refs['equipmentList1'].getvalue(0, '01', this.certList[i].Id)
+                this.$refs['performanceList1'].getvalue(0, '01', this.certList[i].Id)
+                this.$refs['patentList1'].getvalue(0, '01', this.certList[i].Id)
+                this.$refs['winningList1'].getvalue(0, '01', this.certList[i].Id)
+              }
+              if (this.certList[i].SupplierTypeCode == '02') {
+                this.CertId2 = this.certList[i].Id
+                this.formDataCert2.WorkerTotal = this.certList[i].WorkerTotal
+                this.formDataCert2.ContractNum = this.certList[i].ContractNum
+                this.formDataCert2.UniversityNum = this.certList[i].UniversityNum
+                this.formDataCert2.TechnicalNum = this.certList[i].TechnicalNum
+                this.formDataCert2.AboveProfNum = this.certList[i].AboveProfNum
+                this.formDataCert2.MiddleProfNum = this.certList[i].MiddleProfNum
+                this.formDataCert2.NationalRegNum = this.certList[i].NationalRegNum
+                this.formDataCert2.NationalCertTotal = this.certList[i].NationalCertTotal
+                this.formDataCert2.DesignerTotal = this.certList[i].DesignerTotal
+                this.formDataCert2.SkillerTotal = this.certList[i].SkillerTotal
+                this.formDataCert2.Status = this.certList[i].Status
+                this.formDataCert2.WorkflowId = this.certList[i].WorkflowId
+                this.$refs['equipmentList2'].getvalue(0, '02', this.certList[i].Id)
+                this.$refs['performanceList2'].getvalue(0, '02', this.certList[i].Id)
+                this.$refs['patentList2'].getvalue(0, '02', this.certList[i].Id)
+                this.$refs['winningList2'].getvalue(0, '02', this.certList[i].Id)
+              }
+              if (this.certList[i].SupplierTypeCode == '03') {
+                this.CertId3 = this.certList[i].Id
+                this.formDataCert3.WorkerTotal = this.certList[i].WorkerTotal
+                this.formDataCert3.ContractNum = this.certList[i].ContractNum
+                this.formDataCert3.UniversityNum = this.certList[i].UniversityNum
+                this.formDataCert3.TechnicalNum = this.certList[i].TechnicalNum
+                this.formDataCert3.AboveProfNum = this.certList[i].AboveProfNum
+                this.formDataCert3.MiddleProfNum = this.certList[i].MiddleProfNum
+                this.formDataCert3.NationalRegNum = this.certList[i].NationalRegNum
+                this.formDataCert3.NationalCertTotal = this.certList[i].NationalCertTotal
+                this.formDataCert3.DesignerTotal = this.certList[i].DesignerTotal
+                this.formDataCert3.SkillerTotal = this.certList[i].SkillerTotal
+                this.formDataCert3.Status = this.certList[i].Status
+                this.formDataCert3.WorkflowId = this.certList[i].WorkflowId
+                this.$refs['equipmentList3'].getvalue(0, '03', this.certList[i].Id)
+                this.$refs['performanceList3'].getvalue(0, '03', this.certList[i].Id)
+                this.$refs['patentList3'].getvalue(0, '03', this.certList[i].Id)
+                this.$refs['winningList3'].getvalue(0, '03', this.certList[i].Id)
+              }
+            }
+          }
+        }).catch(err => {
+          console.error(err)
+        })
+      },
       appendShow () {
         this.historyTask = []
         this.tmp_historyTask = []
@@ -2964,7 +3592,6 @@
             this.formData = res.data
             this.AccessCardNo = res.data.AccessCardNo
             this.InStyle = res.data.InStyle
-            console.log(this.$refs,this.$refs['BasisInfo'], 'this.$refs')
             if (this.$refs['TechInfo']) {
               this.$refs['TechInfo'].CityAry = []
               this.$refs['TechInfo'].CityAry.push(this.formData.Province)
@@ -3009,6 +3636,18 @@
             this.formDataCert.Status = this.formData.Status
             this.formDataCert.WorkflowId = this.formData.WorkflowId
             this.formDataCert.InStyle = this.formData.InStyle
+            if (this.$refs['equipmentList']) {
+              this.$refs['equipmentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            }
+            if (this.$refs['performanceList']) {
+              this.$refs['performanceList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            }
+            if (this.$refs['patentList']) {
+              this.$refs['patentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            }
+            if (this.$refs['winningList']) {
+              this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            }
             if (this.formData.Status > 0) {
               this.add_flat = false
               this.delete_flat = false
@@ -3307,6 +3946,8 @@
           this.getSortList()
           this.getsubfileAppend()
           this.getSupplierData()
+          this.certId = res.data.SupplierCertId
+          this.initDatas()
           // 显示公司名
           _this.supplierOptions = _this.formDataAppend.SupplierId.toString()
         }).catch(err => {