合并分支 'dev_20230216' 到 'master'

Dev 20230216

查看合并请求 laws-foton-slrs/foton-laws-system-front!76
This commit is contained in:
高嵩
2023-05-12 17:43:01 +08:00
3 changed files with 31 additions and 14 deletions
+2 -2
View File
@@ -55,7 +55,7 @@
align="center">
<template slot-scope="scope">
<a class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
@click="handlePreview(scope.row)">{{ scope.row.standNumSplit }}</a>
</template>
</el-table-column>
<el-table-column
@@ -66,7 +66,7 @@
align="center">
<template slot-scope="scope">
<a class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
@click="handlePreview(scope.row)">{{ scope.row.standNameSplit }}</a>
</template>
</el-table-column>
<el-table-column
@@ -614,11 +614,12 @@ export default {
this.$http.get('sys/dictype/getDicTypeListCode', '',{
_this: this
}, res => {
res.data.BUSSSTANDCLASS.forEach(item => {
if(!item.label.indexOf('Q/FT')){
this.standSortOptions.push(item) //企标类别
}
})
this.standSortOptions = res.data.BUSSSTANDCLASS // 标准类别
// res.data.BUSSSTANDCLASS.forEach(item => {
// if(!item.label.indexOf('Q/FT')){
// this.standSortOptions.push(item) //企标类别
// }
// })
})
},
methods: {
@@ -175,7 +175,8 @@
border
:height="sarProStateTableHeight"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}">
fontWeight: 'bold', fontFamily: 'MicrosoftYaHei-Bold', height: '48px'}"
@sort-change="sortChange">
<el-table-column
type="selection"
fixed="left"
@@ -343,7 +344,7 @@
standShowItemEO.readContent ? standShowItemEO.readContent.replace(/<.*?>/ig, ' ') : ''
}}</span>
</div>
<div class="see-drawer-div">
<label class="see-drawer-name" style="font-size: 14px" title="新车型实施日期">新车型实施日期</label>
<span class="see-drawer-val" style="font-size: 12px"
@@ -380,15 +381,15 @@
<span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.comparedWithPrevious">
{{ standShowItemEO.comparedWithPrevious }}</span>
</div>
<div class="see-drawer-div">
<label class="see-drawer-name" style="font-size: 14px" title="符合性状态">符合性状态</label>
<span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.complianceRequire">
{{ standShowItemEO.complianceRequire ? (standShowItemEO.complianceRequire === '1' ? '是' : '否') : '-' }}
</span>
</div>
<div class="see-drawer-div">
<label class="see-drawer-name" style="font-size: 14px" title="合规性分析">合规性分析</label>
<span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.complianceState">
@@ -408,7 +409,7 @@
<!-- <label class="see-drawer-name" title="svpps">svpps</label>-->
<!-- <span class="see-drawer-val" :title="standShowItemEO.svppsShow">{{ standShowItemEO.svppsShow }}</span>-->
<!-- </div>-->
<!-- <div class="see-drawer-div">-->
<!-- <label class="see-drawer-name" title="要求类型">要求类型</label>-->
<!-- <span class="see-drawer-val" :title="standShowItemEO.claimTypeShow">{{ standShowItemEO.claimTypeShow }}</span>-->
@@ -471,6 +472,20 @@
}
},
methods: {
sortChange({ column, prop, order }){
if(order === "descending"){
// 降序
this.querySarProStateZero('desc')
}
if(order === 'ascending'){
// 升序
this.querySarProStateZero('asc')
}
if(order === null){
// 不排序
this.querySarProStateZero()
}
},
// ...
handleCommand(command) {
switch (command[1]) {
@@ -629,13 +644,14 @@
this.querySarProStateZero()
},
// 查看项目符合性
querySarProStateZero () {
querySarProStateZero (order) {
var form = this.sarProStateEO
form.position = this.sarProject.position
form.standId = this.standId
form.current = this.sarProStateTotalPage
form.size = this.sarProStatePageSize
// form.interpretationTime = this.interpretationTime
form.order = order
form.prcNum = this.prcNum
this.$http.get('sarStandardComplianceAssessResult/interpretation', form, {
_this: this,