Merge remote-tracking branch 'origin/dev_20230216' into dev_20230216
This commit is contained in:
@@ -0,0 +1,390 @@
|
||||
<template>
|
||||
<div style="height: 100%;">
|
||||
<div style="height: 100%;display: flex;flex-direction: row">
|
||||
<el-table
|
||||
style="height: calc(100% - 56px)"
|
||||
:data="itemInfoList"
|
||||
height="100%"
|
||||
border
|
||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
||||
@selection-change="standSelectChange"
|
||||
ref="selection"
|
||||
>
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
:resizable="false"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
label="条款号"
|
||||
width="150"
|
||||
fixed="left"
|
||||
:resizable="false"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsName"
|
||||
label="条款名称"
|
||||
width="150"
|
||||
fixed="left"
|
||||
:resizable="false"
|
||||
show-overflow-tooltip
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itermsConditions"
|
||||
label="条款内容"
|
||||
fixed="left"
|
||||
:resizable="false"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div class="itemsText" @click="itemsTextDialog(scope.row.itemsNum, scope.row.itermsConditions)">{{ scope.row.itermsConditions ? scope.row.itermsConditions.replace(/<.*?>/ig, ' ') : '' }}</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-pagination
|
||||
style="position:absolute;height: 56px;left: 0;bottom: 0;background: #ffffff;z-index: 999;"
|
||||
@size-change="pageSizeChange"
|
||||
@current-change="pageChange"
|
||||
:current-page="itemsPage"
|
||||
:page-sizes="[10, 20, 30, 50]"
|
||||
:page-size="itemsPageSize"
|
||||
layout="total, prev, pager, next, sizes, jumper"
|
||||
:total="total">
|
||||
</el-pagination>
|
||||
</div>
|
||||
<loading :loading="loading">数据加载中...</loading>
|
||||
<!--内容简介-->
|
||||
<el-dialog :visible.sync="itemsTextDialogs" title="内容简介" append-to-body :close-on-click-modal="false">
|
||||
<div v-html="itemsText" class="itemsTextBox"></div>
|
||||
<div slot="footer">
|
||||
<el-button type="primary" size="large" @click="itemsTextDialogs = false">关闭</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "ResolveTable",
|
||||
data(){
|
||||
return {
|
||||
itemInfoList: [],
|
||||
infoId: '8H94ZSWC2UQSANNG79CK',
|
||||
total: 0,
|
||||
itemsPage: 1,
|
||||
itemsPageSize: this.$store.getters.userInfo.configContent,
|
||||
selectedList:[],
|
||||
selectedList1:[],
|
||||
itemsEo: {
|
||||
menuId: '',
|
||||
infoId: '',
|
||||
page: 1,
|
||||
pageSize: this.$store.getters.userInfo.configContent
|
||||
},
|
||||
selectSarMenu: {},
|
||||
infoForm: {
|
||||
id: '',
|
||||
standId: '',
|
||||
standNumSplit: '', // 标准号/政策号
|
||||
standNameSplit: '', // 标准名称/政策名称
|
||||
fileType: '' // 文本状态
|
||||
},
|
||||
itemsTextDialogs:false,
|
||||
itemsText: ""
|
||||
}
|
||||
},
|
||||
|
||||
mounted(){
|
||||
this.findInfoId().then(res => {
|
||||
if(res && res.data){
|
||||
this.infoId = res.data.list[0].infoId
|
||||
this.queryInfoByInfoId().then(res=>{
|
||||
this.getSplitItemsByPage()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
methods:{
|
||||
getSplitItemsByPage (query) {
|
||||
let itemsEoPage = this.itemsEo
|
||||
itemsEoPage.infoId = this.infoId
|
||||
itemsEoPage.page = this.itemsPage
|
||||
itemsEoPage.pageSize = this.itemsPageSize
|
||||
itemsEoPage.itemsName = query ? query.clauseName : undefined
|
||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', itemsEoPage, {
|
||||
_this: this,
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
this.itemInfoList = res.data.list
|
||||
this.total = res.data.count
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
findInfoId(){
|
||||
return new Promise((resolve,reject)=>{
|
||||
this.$http.get('SarStandItems/sar-stand-items/selectSarItemAndInterpretation', {
|
||||
standId: this.$route.params.id
|
||||
}, {
|
||||
_this: this,
|
||||
}, res => {
|
||||
resolve(res)
|
||||
})
|
||||
})
|
||||
},
|
||||
queryInfoByInfoId() {
|
||||
return new Promise((resolve,reject)=>{
|
||||
this.$http.get('lawss/sarFileSplitInfo/getSarFileSplitInfoEOPage', {
|
||||
id: this.infoId
|
||||
}, {
|
||||
_this: this,
|
||||
}, res => {
|
||||
if (res.ok) {
|
||||
const info = res.data.list
|
||||
if (info) {
|
||||
const query = info[0]
|
||||
this.infoForm = {
|
||||
id: this.infoId,
|
||||
standNumSplit: query.splitStatus=='0' ? query.showNumber : query.standNumSplit,
|
||||
standNameSplit: query.splitStatus=='0' ? query.standName : query.standNameSplit,
|
||||
fileType: query.fileType
|
||||
}
|
||||
resolve(res)
|
||||
}
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
itemsTextDialog (itemsNum, text) {
|
||||
this.itemsTextDialogs = true
|
||||
this.itemsText = '<p>' + itemsNum + '</p>' + text.replace(/''/g, '\'')
|
||||
},
|
||||
standSelectChange (data) {
|
||||
this.selectedList = []
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
this.selectedList.push(data[i].id)
|
||||
}
|
||||
},
|
||||
// 分页点击后方法
|
||||
pageChange (page) {
|
||||
this.selectedAllList = []
|
||||
this.itemsPage = page
|
||||
this.getSplitItemsByPage()
|
||||
},
|
||||
// 分页每页显示数改变后方法
|
||||
pageSizeChange (pageSize) {
|
||||
this.selectedAllList = []
|
||||
this.itemsPageSize = pageSize
|
||||
this.getSplitItemsByPage()
|
||||
},
|
||||
// 导出事件
|
||||
exportItemInfo () {
|
||||
let exportName = this.infoForm.standNumSplit + this.infoForm.standNameSplit
|
||||
if (this.selectedList != null && this.selectedList.length > 0) {
|
||||
let ids = this.selectedList.join(',')
|
||||
window.open('/api/lawss/sarFileSplitItems/exportSplitInfoZip?idList=' + ids + '&infoId=' + this.infoId + '&exportName=' + exportName)
|
||||
} else {
|
||||
this.$confirm('当前未选择条款信息,是否导出全部内容?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
confirmButtonClass: 'common-button-primary',
|
||||
roundButton: false
|
||||
}).then(() => {
|
||||
window.open('/api/lawss/sarFileSplitItems/exportSplitInfoZip?ids=null&infoId=' + this.infoId + '&exportName=' + exportName)
|
||||
}).catch(() => {})
|
||||
}
|
||||
},
|
||||
// jurisdictionCheck() {
|
||||
// return true
|
||||
// },
|
||||
// // 点击更多 事件
|
||||
// handleCommand (command) {
|
||||
// switch (command[1]) {
|
||||
// case '复制':
|
||||
// this.$confirm('确认复制该条款?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning',
|
||||
// confirmButtonClass: 'common-button-primary',
|
||||
// roundButton: false
|
||||
// }).then(() => {
|
||||
// this.$http.postData('lawss/sarFileSplitMenu/copyMenuNotChildren', command[0], {
|
||||
// _this: this, loading: 'loading'
|
||||
// }, res => {
|
||||
// // this.selectMenu()
|
||||
// this.getSplitItemsByPage()
|
||||
// }, e => {
|
||||
// })
|
||||
// }).catch(() => {})
|
||||
// break
|
||||
// case '删除':
|
||||
// this.selectedList = []
|
||||
// this.selectedList.push(command[0].id)
|
||||
// this.selectedList1.push(command[0].editFlag)
|
||||
// this.judgebatchDeleteItem()
|
||||
// break
|
||||
// // case '内容简介':
|
||||
// // this.clause(command[0])
|
||||
// // break
|
||||
// case '属性':
|
||||
// this.attribute(command[2], command[0])
|
||||
// break
|
||||
// case '编辑':
|
||||
// this.editLawsInfo(command[2], command[0])
|
||||
// break
|
||||
// }
|
||||
// },
|
||||
// // 点击表格 属性按钮事件
|
||||
// attribute (index, row) {
|
||||
// this.isSubmit = false
|
||||
// this.standItemEO.id = row.id
|
||||
// this.showItemInfoModal = true
|
||||
// this.saveEditItemIndex = index
|
||||
// this.standItemEO = JSON.parse(JSON.stringify(row))
|
||||
// if (this.standItemEO.applyArctic && !(this.standItemEO.applyArctic instanceof Array)) {
|
||||
// let a = this.standItemEO.applyArctic.split(',')
|
||||
// this.standItemEO.applyArctic = a // 适用车型
|
||||
// }
|
||||
// if (this.standItemEO.newcarPutTime != null && this.standItemEO.newcarPutTime !== '') {
|
||||
// this.standItemEO.newcarPutTime = this.standItemEO.newcarPutTime.replace(new RegExp(/-/gm), '/')
|
||||
// this.standItemEO.newcarPutTime = new Date(this.standItemEO.newcarPutTime)
|
||||
// }
|
||||
// if (this.standItemEO.productPutTime != null && this.standItemEO.productPutTime !== '') {
|
||||
// this.standItemEO.productPutTime = this.standItemEO.productPutTime.replace(new RegExp(/-/gm), '/')
|
||||
// this.standItemEO.productPutTime = new Date(this.standItemEO.productPutTime)
|
||||
// }
|
||||
// if (this.standItemEO.paramsList == null || this.standItemEO.paramsList.length < 1) {
|
||||
// let specialObj = {
|
||||
// description: '',
|
||||
// figure: ''
|
||||
// }
|
||||
// this.standItemEO.paramsList.push(specialObj)
|
||||
// }
|
||||
// this.standItemEO.ZRBM = this.standItemEO.responsibleUnit
|
||||
// this.saveItemId = row.id
|
||||
// this.showUpdateItemInfo()
|
||||
// },
|
||||
// // 点击表格 编辑按钮事件
|
||||
// editLawsInfo (index, row) {
|
||||
// this.isSubmit = false
|
||||
// this.standItemEO.id = row.id
|
||||
// this.modalItemaddShowflag = true
|
||||
// this.saveEditItemIndex = index
|
||||
// this.standItemEO = JSON.parse(JSON.stringify(row))
|
||||
// if (this.standItemEO.applyArctic && !(this.standItemEO.applyArctic instanceof Array)) {
|
||||
// let a = this.standItemEO.applyArctic.split(',')
|
||||
// this.standItemEO.applyArctic = a // 适用车型
|
||||
// }
|
||||
// if (this.standItemEO.newcarPutTime != null && this.standItemEO.newcarPutTime !== '') {
|
||||
// this.standItemEO.newcarPutTime = this.standItemEO.newcarPutTime.replace(new RegExp(/-/gm), '/')
|
||||
// this.standItemEO.newcarPutTime = new Date(this.standItemEO.newcarPutTime)
|
||||
// }
|
||||
// if (this.standItemEO.productPutTime != null && this.standItemEO.productPutTime !== '') {
|
||||
// this.standItemEO.productPutTime = this.standItemEO.productPutTime.replace(new RegExp(/-/gm), '/')
|
||||
// this.standItemEO.productPutTime = new Date(this.standItemEO.productPutTime)
|
||||
// }
|
||||
// if (this.standItemEO.paramsList == null || this.standItemEO.paramsList.length < 1) {
|
||||
// let specialObj = {
|
||||
// description: '',
|
||||
// figure: ''
|
||||
// }
|
||||
// this.standItemEO.paramsList.push(specialObj)
|
||||
// }
|
||||
// this.standItemEO.ZRBM = this.standItemEO.responsibleUnit
|
||||
// this.saveItemId = row.id
|
||||
// this.showUpdateItemInfo()
|
||||
// },
|
||||
// showUpdateItemInfo () {
|
||||
// this.itemsContentList = []
|
||||
// this.saveChooseAddType = ''
|
||||
// this.saveAddIndex = 0
|
||||
// this.saveDeleteItemIds = ''
|
||||
// // this.editItemsContentModel = true
|
||||
// this.$http.get('lawss/sarFileSplitItemsVal/getItemsValList', {
|
||||
// itemId: this.saveItemId
|
||||
// }, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// res.data.map(item => {
|
||||
// item.itemContent = item.itemContent.replace(/''/g, '\'')
|
||||
// })
|
||||
// this.itemsContentList = res.data
|
||||
// }, e => {
|
||||
// })
|
||||
// },
|
||||
// // 批量删除
|
||||
// judgebatchDeleteItem () {
|
||||
// if (!this.jurisdictionCheck()) {
|
||||
// return
|
||||
// }
|
||||
// if (this.selectedList != null && this.selectedList.length > 0) {
|
||||
// this.$http.get('lawss/sarFileSplitItems/judgeContaintChilds', {
|
||||
// ids: this.selectedList.join(',')
|
||||
// }, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// this.batchDeleteItem()
|
||||
// }, e => {
|
||||
// })
|
||||
// } else {
|
||||
// this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
|
||||
// }
|
||||
// },
|
||||
// batchDeleteItem () {
|
||||
// if (this.selectedList != null && this.selectedList.length > 0) {
|
||||
// this.$confirm('请确认选择条款是否有子节点,若有,则此次删除将全部删除。', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// type: 'warning',
|
||||
// confirmButtonClass: 'common-button-primary',
|
||||
// roundButton: false
|
||||
// }).then(() => {
|
||||
// this.itemsPage = 1
|
||||
// this.itemsEo.page = 1
|
||||
// this.loading = true
|
||||
// this.deleteItemsModal = false
|
||||
// this.$http.post('lawss/sarFileSplitItems/batchDeleteItems', {
|
||||
// ids: this.selectedList.join(','),
|
||||
// editFlag: this.selectedList1.join(','),
|
||||
// }, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
// this.getSplitItemsByPage()
|
||||
// this.selectMenu()
|
||||
// // 获取下一个节点
|
||||
// let currentNode = this.$refs.domesticTree.getNextNode()
|
||||
// let nodeId = ''
|
||||
// // 如果这个节点为null, 本次删除了最后一个节点
|
||||
// if (currentNode === null) {
|
||||
// // 选中根节点
|
||||
// this.$refs.domesticTree.selectRootNode()
|
||||
// } else {
|
||||
// nodeId = currentNode.id
|
||||
// }
|
||||
// this.selectSarMenu.id = nodeId
|
||||
// this.loading = false
|
||||
// }, e => {
|
||||
// })
|
||||
// }).catch(() => {})
|
||||
// } else {
|
||||
// this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
|
||||
// }
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.itemsText {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #409EFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
@@ -750,45 +750,69 @@
|
||||
>
|
||||
<div class="search-area">
|
||||
<div class="left">
|
||||
<el-form ref="ruleForm" :model="standardForm" class="label-input-form" inline>
|
||||
<el-form-item class="search-item">
|
||||
<el-input v-show="false" v-model="standItemSearch.orgName" size="small" style="height: 32px"/>
|
||||
<el-input v-show="false" v-model="standItemSearch.responsibleUnit" size="small" style="height: 32px"/>
|
||||
<el-popover
|
||||
:value="false"
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
>
|
||||
</el-popover>
|
||||
</el-form-item>
|
||||
<!--<el-form ref="ruleForm" :model="standardForm" class="label-input-form" inline>-->
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-show="false" v-model="standItemSearch.orgName" size="small" style="height: 32px"/>-->
|
||||
<!-- <el-input v-show="false" v-model="standItemSearch.responsibleUnit" size="small" style="height: 32px"/>-->
|
||||
<!-- <el-popover-->
|
||||
<!-- :value="false"-->
|
||||
<!-- placement="bottom"-->
|
||||
<!-- popper-class="user-dept-popper"-->
|
||||
<!-- trigger="click"-->
|
||||
<!-- >-->
|
||||
<!-- </el-popover>-->
|
||||
<!-- </el-form-item>-->
|
||||
|
||||
|
||||
<el-form-item class="search-item">
|
||||
<el-input v-model="standItemSearch.itemsName" clearable maxlength="100" placeholder="根据条款名称查找"
|
||||
size="small"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.itemsName" clearable maxlength="100" placeholder="根据条款名称查找"-->
|
||||
<!-- size="small"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- 新车实施日期-->
|
||||
<!--<el-form-item class="search-item">-->
|
||||
<!-- <div class="block">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="standItemSearch.XCXSSRQ"-->
|
||||
<!-- placeholder="新车实施日期"-->
|
||||
<!-- type="date"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </div>-->
|
||||
<!--</el-form-item>-->
|
||||
<!--<!– //在产车实施日期–>-->
|
||||
<!--<el-form-item class="search-item">-->
|
||||
<!-- <div class="block">-->
|
||||
<!-- <el-date-picker-->
|
||||
<!-- v-model="standItemSearch.ZCCSSRQ"-->
|
||||
<!-- placeholder="在产车实施日期"-->
|
||||
<!-- type="date"-->
|
||||
<!-- value-format="yyyy-MM-dd">-->
|
||||
<!-- </el-date-picker>-->
|
||||
<!-- </div>-->
|
||||
<!--</el-form-item>-->
|
||||
<!--<el-form-item class="search-item btn-box">-->
|
||||
<!-- <el-button-->
|
||||
<!-- :loading="searching"-->
|
||||
<!-- class="common-button-primary"-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="primary"-->
|
||||
<!-- @click="searchSarStandItems">-->
|
||||
<!-- 查询-->
|
||||
<!-- </el-button>-->
|
||||
<!--</el-form-item>-->
|
||||
<!--<el-form-item class="search-item btn-box">-->
|
||||
<!-- <el-button-->
|
||||
<!-- class="common-button-default"-->
|
||||
<!-- size="mini"-->
|
||||
<!-- @click="clearAllSearch">-->
|
||||
<!-- 清空-->
|
||||
<!-- </el-button>-->
|
||||
<!--</el-form-item>-->
|
||||
<!--</el-form>-->
|
||||
<el-form ref="ruleForm" class="label-input-form" inline>
|
||||
<el-form-item class="search-item">
|
||||
<div class="block">
|
||||
<el-date-picker
|
||||
v-model="standItemSearch.XCXSSRQ"
|
||||
placeholder="新车实施日期"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<!-- //在产车实施日期-->
|
||||
<el-form-item class="search-item">
|
||||
<div class="block">
|
||||
<el-date-picker
|
||||
v-model="standItemSearch.ZCCSSRQ"
|
||||
placeholder="在产车实施日期"
|
||||
type="date"
|
||||
value-format="yyyy-MM-dd">
|
||||
</el-date-picker>
|
||||
</div>
|
||||
<el-input v-model="clauseName" maxlength="100" placeholder="根据条款名称查找"
|
||||
size="small"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
@@ -796,7 +820,7 @@
|
||||
class="common-button-primary"
|
||||
size="mini"
|
||||
type="primary"
|
||||
@click="searchSarStandItems">
|
||||
@click="searchClause">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@@ -804,7 +828,7 @@
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
size="mini"
|
||||
@click="clearAllSearch">
|
||||
@click="clearClause">
|
||||
清空
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
@@ -812,12 +836,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="action-bar">
|
||||
<!--<el-button class="common-button-default export-button" icon="export" size="mini"-->
|
||||
<!-- @click="exportStandardItem"-->
|
||||
<!-->-->
|
||||
<!-- 导出-->
|
||||
<!--</el-button>-->
|
||||
<el-button class="common-button-default export-button" icon="export" size="mini"
|
||||
@click="exportStandardItem"
|
||||
@click="exportItemInfo"
|
||||
>
|
||||
导出
|
||||
</el-button>
|
||||
<el-button
|
||||
<el-button v-if="false"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'bd291146ac1e42c48968c5142ae55375' : '960a97045a6e47b0b8e33ebc347e5fd9'"
|
||||
class="common-button-primary"
|
||||
size="mini"
|
||||
@@ -825,14 +854,14 @@
|
||||
@click="openRelatedTermsDrawer"
|
||||
>关联条款
|
||||
</el-button>
|
||||
<el-button
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'bd291146ac1e42c48968c5142ae55375' : '960a97045a6e47b0b8e33ebc347e5fd9'"
|
||||
class="common-button-primary"
|
||||
size="mini"
|
||||
type="primary"
|
||||
@click="editResolveList"
|
||||
>编辑
|
||||
</el-button>
|
||||
<!--<el-button-->
|
||||
<!-- v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'bd291146ac1e42c48968c5142ae55375' : '960a97045a6e47b0b8e33ebc347e5fd9'"-->
|
||||
<!-- class="common-button-primary"-->
|
||||
<!-- size="mini"-->
|
||||
<!-- type="primary"-->
|
||||
<!-- @click="editResolveList"-->
|
||||
<!-->编辑-->
|
||||
<!--</el-button>-->
|
||||
<el-upload
|
||||
:key="cfjgscUploadKey"
|
||||
style="display: inline-block;margin:0 5px;"
|
||||
@@ -862,139 +891,140 @@
|
||||
<!--</el-button>-->
|
||||
</div>
|
||||
<div class="content">
|
||||
<el-table
|
||||
ref="multipleTable"
|
||||
:data="standItemList"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}"
|
||||
:height="tableHeight"
|
||||
border
|
||||
style="width: 100%"
|
||||
tooltip-effect="dark"
|
||||
@sort-change='sort'
|
||||
@selection-change="selectAllStand">
|
||||
<el-table-column
|
||||
fixed="left"
|
||||
type="selection"
|
||||
width="60"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="条款号"
|
||||
prop="itemsNum"
|
||||
show-overflow-tooltip
|
||||
sortable="custom"
|
||||
width="90"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="条款名称"
|
||||
min-width="300"
|
||||
prop="itemsName"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
:resizable="false"
|
||||
label="条款内容"
|
||||
min-width="200"
|
||||
prop="termsConditions"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- <div class="table-jump" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">-->
|
||||
<!-- {{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}-->
|
||||
<!-- </div>-->
|
||||
<div class="table-jump" style=" overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"
|
||||
@click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">
|
||||
{{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}
|
||||
</div>
|
||||
<!-- <el-tooltip placement="top">-->
|
||||
<!-- <div slot="content" v-html="scope.row.termsConditions" :disabled="scope.row.termsConditions"></div>-->
|
||||
<!-- <div class="table-jump" style=" overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">-->
|
||||
<!-- {{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-tooltip>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="核心技术要求/变化点"
|
||||
prop="readContent"
|
||||
show-overflow-tooltip
|
||||
width="170"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="基于上一版本差异"
|
||||
prop="comparedWithPrevious"
|
||||
show-overflow-tooltip
|
||||
width="170">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="新车型实施日期(文本)"
|
||||
prop="xccssrq"
|
||||
width="180">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="在产车实施日期(文本)"
|
||||
prop="zccssrq"
|
||||
width="170">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="适用车型"
|
||||
prop="applyArctic"
|
||||
show-overflow-tooltip
|
||||
width="90"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ filterApplyArctic(scope.row) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- prop="responsibleUnit"-->
|
||||
<!-- label="责任部门">-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column
|
||||
label="责任工程师"
|
||||
prop="dutyEngineer"
|
||||
width="100">
|
||||
</el-table-column>
|
||||
<!-- <el-table-column-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- label="符合性状态"-->
|
||||
<!-- width="100">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-' }}-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- prop="complianceState"-->
|
||||
<!-- label="合规性分析"-->
|
||||
<!-- width="100">-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column align="center" fixed="right" label="操作" width="50">
|
||||
<template slot-scope="scope">
|
||||
<div @click.stop>
|
||||
<el-dropdown trigger="click" @command="handleCommand">
|
||||
<i class="iconfont"></i>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item :command="[scope.row, '查看']" :disabled="scope.row.enable==='0'">查看
|
||||
</el-dropdown-item>
|
||||
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>-->
|
||||
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '删除']">删除</el-dropdown-item>-->
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<loading :loading="tableLoading">数据加载中...</loading>
|
||||
<!--<el-table-->
|
||||
<!-- ref="multipleTable"-->
|
||||
<!-- :data="standItemList"-->
|
||||
<!-- :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',-->
|
||||
<!-- fontWeight: 'bold', height: '48px'}"-->
|
||||
<!-- :height="tableHeight"-->
|
||||
<!-- border-->
|
||||
<!-- style="width: 100%"-->
|
||||
<!-- tooltip-effect="dark"-->
|
||||
<!-- @sort-change='sort'-->
|
||||
<!-- @selection-change="selectAllStand">-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- fixed="left"-->
|
||||
<!-- type="selection"-->
|
||||
<!-- width="60"-->
|
||||
<!-- >-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="条款号"-->
|
||||
<!-- prop="itemsNum"-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- sortable="custom"-->
|
||||
<!-- width="90"-->
|
||||
<!-- >-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="条款名称"-->
|
||||
<!-- min-width="300"-->
|
||||
<!-- prop="itemsName"-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- >-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- :resizable="false"-->
|
||||
<!-- label="条款内容"-->
|
||||
<!-- min-width="200"-->
|
||||
<!-- prop="termsConditions"-->
|
||||
<!-- >-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <!– <div class="table-jump" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">–>-->
|
||||
<!-- <!– {{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}–>-->
|
||||
<!-- <!– </div>–>-->
|
||||
<!-- <div class="table-jump" style=" overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"-->
|
||||
<!-- @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">-->
|
||||
<!-- {{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}-->
|
||||
<!-- </div>-->
|
||||
<!-- <!– <el-tooltip placement="top">–>-->
|
||||
<!-- <!– <div slot="content" v-html="scope.row.termsConditions" :disabled="scope.row.termsConditions"></div>–>-->
|
||||
<!-- <!– <div class="table-jump" style=" overflow: hidden;text-overflow: ellipsis;white-space: nowrap;" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">–>-->
|
||||
<!-- <!– {{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}–>-->
|
||||
<!-- <!– </div>–>-->
|
||||
<!-- <!– </el-tooltip>–>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="核心技术要求/变化点"-->
|
||||
<!-- prop="readContent"-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- width="170"-->
|
||||
<!-- >-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="基于上一版本差异"-->
|
||||
<!-- prop="comparedWithPrevious"-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- width="170">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="新车型实施日期(文本)"-->
|
||||
<!-- prop="xccssrq"-->
|
||||
<!-- width="180">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="在产车实施日期(文本)"-->
|
||||
<!-- prop="zccssrq"-->
|
||||
<!-- width="170">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="适用车型"-->
|
||||
<!-- prop="applyArctic"-->
|
||||
<!-- show-overflow-tooltip-->
|
||||
<!-- width="90"-->
|
||||
<!-- >-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- {{ filterApplyArctic(scope.row) }}-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <!– <el-table-column–>-->
|
||||
<!-- <!– prop="responsibleUnit"–>-->
|
||||
<!-- <!– label="责任部门">–>-->
|
||||
<!-- <!– </el-table-column>–>-->
|
||||
<!-- <el-table-column-->
|
||||
<!-- label="责任工程师"-->
|
||||
<!-- prop="dutyEngineer"-->
|
||||
<!-- width="100">-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <!– <el-table-column–>-->
|
||||
<!-- <!– show-overflow-tooltip–>-->
|
||||
<!-- <!– label="符合性状态"–>-->
|
||||
<!-- <!– width="100">–>-->
|
||||
<!-- <!– <template slot-scope="scope">–>-->
|
||||
<!-- <!– {{ scope.row.complianceRequire ? (scope.row.complianceRequire === '1' ? '是' : '否') : '-' }}–>-->
|
||||
<!-- <!– </template>–>-->
|
||||
<!-- <!– </el-table-column>–>-->
|
||||
<!-- <!– <el-table-column–>-->
|
||||
<!-- <!– show-overflow-tooltip–>-->
|
||||
<!-- <!– prop="complianceState"–>-->
|
||||
<!-- <!– label="合规性分析"–>-->
|
||||
<!-- <!– width="100">–>-->
|
||||
<!-- <!– </el-table-column>–>-->
|
||||
<!-- <el-table-column align="center" fixed="right" label="操作" width="50">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <div @click.stop>-->
|
||||
<!-- <el-dropdown trigger="click" @command="handleCommand">-->
|
||||
<!-- <i class="iconfont"></i>-->
|
||||
<!-- <el-dropdown-menu slot="dropdown">-->
|
||||
<!-- <el-dropdown-item :command="[scope.row, '查看']" :disabled="scope.row.enable==='0'">查看-->
|
||||
<!-- </el-dropdown-item>-->
|
||||
<!-- <!–<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>–>-->
|
||||
<!-- <!–<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '删除']">删除</el-dropdown-item>–>-->
|
||||
<!-- </el-dropdown-menu>-->
|
||||
<!-- </el-dropdown>-->
|
||||
<!-- </div>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!--</el-table>-->
|
||||
<ResolveTable ref="resolveTable"></ResolveTable>
|
||||
<!--<loading :loading="tableLoading">数据加载中...</loading>-->
|
||||
</div>
|
||||
<pagination
|
||||
:page="page7"
|
||||
:total="total7"
|
||||
@pageChange="pageChange7"
|
||||
@pageSizeChange="pageSizeChange7"></pagination>
|
||||
<!--<pagination-->
|
||||
<!-- :page="page7"-->
|
||||
<!-- :total="total7"-->
|
||||
<!-- @pageChange="pageChange7"-->
|
||||
<!-- @pageSizeChange="pageSizeChange7"></pagination>-->
|
||||
<!-- <el-pagination-->
|
||||
<!-- @size-change="pageSizeChange"-->
|
||||
<!-- @current-change="pageChange"-->
|
||||
@@ -1808,6 +1838,7 @@ import {dateFormat} from '@/common/date'
|
||||
import RelatedTermsSelect from './components/RelatedTermsSelect'
|
||||
import {getBusStandFileByAttId} from 'api/process'
|
||||
import {dicTypeData} from "api/unqualProcess";
|
||||
import ResolveTable from './components/ResolveTable.vue'
|
||||
|
||||
|
||||
export default {
|
||||
@@ -1817,7 +1848,8 @@ export default {
|
||||
CustomSVPPS,
|
||||
CustomSelectArray,
|
||||
CustomOrg,
|
||||
RelatedTermsSelect
|
||||
RelatedTermsSelect,
|
||||
ResolveTable
|
||||
},
|
||||
filters: {
|
||||
ellipsis(value) {
|
||||
@@ -1837,6 +1869,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
clauseName:"", // 条款名称
|
||||
cfjgscUploadKey:1,
|
||||
externalStatus: '',
|
||||
handleList: [],
|
||||
@@ -3937,6 +3970,22 @@ export default {
|
||||
itemsTextDialog(itemsNum, text) {
|
||||
this.itemsTextDialogs = true
|
||||
this.itemsText = '<p>' + itemsNum + '</p>' + text.replace(/''/g, '\'')
|
||||
},
|
||||
exportItemInfo(){
|
||||
this.$refs.resolveTable.exportItemInfo();
|
||||
},
|
||||
searchClause(){
|
||||
let query = {}
|
||||
query.clauseName = this.clauseName
|
||||
this.$refs.resolveTable.getSplitItemsByPage(query)
|
||||
},
|
||||
clearClause(){
|
||||
this.clauseName = ''
|
||||
let query = {}
|
||||
query.clauseName = this.clauseName
|
||||
this.$refs.resolveTable.itemsPage = 1
|
||||
this.$refs.resolveTable.itemsPageSize = this.$store.getters.userInfo.configContent
|
||||
this.$refs.resolveTable.getSplitItemsByPage(query)
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user