标准详情,已被分解的的文本才有分解单按钮
This commit is contained in:
@@ -408,12 +408,14 @@
|
|||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="child.attrField === 'FBGBJBD' || child.attrField === 'SSG' || child.attrField === 'ZQYJG' || child.attrField === 'BPG' || child.attrField === 'ZBJBD' || child.attrField === 'CA'"
|
v-for="itemNam in itemExistList"
|
||||||
|
v-if="child.attrField === itemNam "
|
||||||
@click="showItemsModel(child.attrField)"
|
@click="showItemsModel(child.attrField)"
|
||||||
class="decomposition-btn"
|
class="decomposition-btn"
|
||||||
icon="icon-separate"
|
icon="icon-separate"
|
||||||
>标准分解单
|
>标准分解单
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -519,6 +521,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<el-table
|
<el-table
|
||||||
|
@sort-change='sort'
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
:data="standItemList"
|
:data="standItemList"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
@@ -535,6 +538,7 @@
|
|||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
sortable="custom"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="itemsNum"
|
prop="itemsNum"
|
||||||
label="条款号"
|
label="条款号"
|
||||||
@@ -605,7 +609,6 @@
|
|||||||
label="符合性状态">
|
label="符合性状态">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-'}}
|
{{scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-'}}
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -1232,6 +1235,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
itemExistList:[],
|
||||||
interpretationContent: '',
|
interpretationContent: '',
|
||||||
relatedTermsDrawerVisible: false,
|
relatedTermsDrawerVisible: false,
|
||||||
btnLoading: false,
|
btnLoading: false,
|
||||||
@@ -1259,6 +1263,8 @@ export default {
|
|||||||
knowType: '',
|
knowType: '',
|
||||||
KnowTitle: '',
|
KnowTitle: '',
|
||||||
knowIdList: '',
|
knowIdList: '',
|
||||||
|
order:'',
|
||||||
|
orderBy:'',
|
||||||
total7: 0,
|
total7: 0,
|
||||||
page7: 1,
|
page7: 1,
|
||||||
pageSize7: this.$store.getters.userInfo.configContent,
|
pageSize7: this.$store.getters.userInfo.configContent,
|
||||||
@@ -2123,6 +2129,8 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarStandardsInfoEO = res.data || {}
|
this.sarStandardsInfoEO = res.data || {}
|
||||||
|
this.itemExistList=this.sarStandardsInfoEO.attrInfoMap.itemExistList;
|
||||||
|
console.log("hllo",this.sarStandardsInfoEO);
|
||||||
if (this.sarStandardsInfoEO.issueTime != null && this.sarStandardsInfoEO.issueTime !== '') {
|
if (this.sarStandardsInfoEO.issueTime != null && this.sarStandardsInfoEO.issueTime !== '') {
|
||||||
this.sarStandardsInfoEO.issueTime = this.sarStandardsInfoEO.issueTime.split(' ')[0]
|
this.sarStandardsInfoEO.issueTime = this.sarStandardsInfoEO.issueTime.split(' ')[0]
|
||||||
}
|
}
|
||||||
@@ -2343,13 +2351,18 @@ export default {
|
|||||||
}.bind(this)
|
}.bind(this)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
sort(column){
|
||||||
|
this.order=column.order;
|
||||||
|
this.orderBy=column.prop;
|
||||||
|
this.selectSarStandItems();
|
||||||
|
},
|
||||||
// 分解单----查看标准条款相关
|
// 分解单----查看标准条款相关
|
||||||
selectSarStandItems(id, flag) {
|
selectSarStandItems(id, flag) {
|
||||||
this.standItemSearch.standId = this.sarStandardsInfoEO.id
|
this.standItemSearch.standId = this.sarStandardsInfoEO.id
|
||||||
this.standItemSearch.fileType = this.fileType
|
this.standItemSearch.fileType = this.fileType
|
||||||
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
|
this.$http.get('SarStandItems/sar-stand-items/querySarItemAndInterpretation', {
|
||||||
...this.standItemSearch,
|
...this.standItemSearch,
|
||||||
pageSize: this.pageSize7, page: this.page7,
|
pageSize: this.pageSize7, page: this.page7,order:this.order,orderBy:this.orderBy
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
this.selectedItemList = []
|
this.selectedItemList = []
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user