Merge remote-tracking branch 'origin/dev_test' into dev_test
This commit is contained in:
@@ -148,20 +148,28 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="NameList"
|
prop="roles"
|
||||||
label="所属岗位">
|
label="角色"
|
||||||
<template slot-scope="scope">
|
>
|
||||||
<el-popover trigger="hover" placement="top">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.NameList }}
|
{{getRoleName(scope.row.roles)}}
|
||||||
<div slot="reference" class="name-wrapper">
|
|
||||||
<p v-if="!scope.row.institutionName ||scope.row.NameList.length<15">
|
|
||||||
{{ scope.row.NameList }}
|
|
||||||
</p>
|
|
||||||
<p v-else> {{ scope.row.NameList.substring(0, 15) }}...</p>
|
|
||||||
</div>
|
|
||||||
</el-popover>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<!-- <el-table-column-->
|
||||||
|
<!-- prop="NameList"-->
|
||||||
|
<!-- label="所属岗位">-->
|
||||||
|
<!-- <template slot-scope="scope">-->
|
||||||
|
<!-- <el-popover trigger="hover" placement="top">-->
|
||||||
|
<!-- {{ scope.row.NameList }}-->
|
||||||
|
<!-- <div slot="reference" class="name-wrapper">-->
|
||||||
|
<!-- <p v-if="!scope.row.institutionName ||scope.row.NameList.length<15">-->
|
||||||
|
<!-- {{ scope.row.NameList }}-->
|
||||||
|
<!-- </p>-->
|
||||||
|
<!-- <p v-else> {{ scope.row.NameList.substring(0, 15) }}...</p>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
<!-- </el-popover>-->
|
||||||
|
<!-- </template>-->
|
||||||
|
<!-- </el-table-column>-->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="状态"
|
label="状态"
|
||||||
width="100px">
|
width="100px">
|
||||||
@@ -306,6 +314,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getRoleName(roles){
|
||||||
|
let names=roles.map(item=>{
|
||||||
|
return item.name
|
||||||
|
})
|
||||||
|
return names.join(',')
|
||||||
|
},
|
||||||
clearAllSearch() {
|
clearAllSearch() {
|
||||||
this.searchForm = {
|
this.searchForm = {
|
||||||
uname: "",
|
uname: "",
|
||||||
|
|||||||
@@ -101,6 +101,12 @@
|
|||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
row-key="id">
|
row-key="id">
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
|
<el-table-column
|
||||||
|
type="index"
|
||||||
|
width="55"
|
||||||
|
label="序号"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="itemsNum"
|
prop="itemsNum"
|
||||||
label="条款号"
|
label="条款号"
|
||||||
@@ -294,8 +300,17 @@
|
|||||||
border
|
border
|
||||||
@selection-change="handleSelection"
|
@selection-change="handleSelection"
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
<el-table-column type="selection" width="55" align="center"/>
|
<el-table-column type="selection" width="55" align="center"/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
type="index"
|
||||||
|
width="55"
|
||||||
|
label="序号"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="{scope, column, $index}">
|
||||||
|
{{ ($index + 1) + (standCommonlySearch.page - 1) * standCommonlySearch.pageSize }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
prop="showNumber"
|
prop="showNumber"
|
||||||
label="标准号/政策号"
|
label="标准号/政策号"
|
||||||
width="170"
|
width="170"
|
||||||
@@ -495,8 +510,8 @@
|
|||||||
<div>比对条款: {{ itemsNum }}</div>
|
<div>比对条款: {{ itemsNum }}</div>
|
||||||
<div>相似度: {{ similarityDegree }}</div>
|
<div>相似度: {{ similarityDegree }}</div>
|
||||||
<div style="height: 40px;overflow: auto;display: flex;">
|
<div style="height: 40px;overflow: auto;display: flex;">
|
||||||
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>旧标准-{{form.itemsNum}}</span></div>
|
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>新标准-{{form.itemsNum}}</span></div>
|
||||||
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>新标准-{{form.itemsNum1}}</span></div>
|
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>旧标准-{{form.itemsNum1}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 600px;overflow: auto;display: flex;">
|
<div style="height: 600px;overflow: auto;display: flex;">
|
||||||
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
|||||||
@@ -525,8 +525,8 @@
|
|||||||
<div>比对条款: {{ itemsNum }}</div>
|
<div>比对条款: {{ itemsNum }}</div>
|
||||||
<div>相似度: {{ similarityDegree }}</div>
|
<div>相似度: {{ similarityDegree }}</div>
|
||||||
<div style="height: 40px;overflow: auto;display: flex;">
|
<div style="height: 40px;overflow: auto;display: flex;">
|
||||||
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>旧标准-{{form.itemsNum}}</span></div>
|
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>新标准-{{form.itemsNum}}</span></div>
|
||||||
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>新标准-{{form.itemsNum1}}</span></div>
|
<div style="line-height: 20px; margin: 5px; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"><span>旧标准-{{form.itemsNum1}}</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 600px;overflow: auto;display: flex;">
|
<div style="height: 600px;overflow: auto;display: flex;">
|
||||||
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
<div v-html="leftData" style="line-height: 20px; margin: 5px; border: 1px solid #ccc; border-radius: 5px; padding: 5px; width: 50%; overflow: auto;"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user