Merge remote-tracking branch 'origin/dev_20231201_feizhi' into dev_20231201_feizhi

This commit is contained in:
zyn
2023-12-06 10:25:21 +08:00
13 changed files with 70 additions and 66 deletions
+7 -7
View File
@@ -155,7 +155,7 @@ export const m = {
dataType: '标准类别', dataType: '标准类别',
standardNumberAndPolicyNumber: '标准编号/政策编号', standardNumberAndPolicyNumber: '标准编号/政策编号',
standardNameAndPolicyName: '标准名称/政策名称', standardNameAndPolicyName: '标准名称/政策名称',
textState: '文本状态', textState: '标准状态',
conversionResults: '转换结果', conversionResults: '转换结果',
timeConsuming: '消耗时间', timeConsuming: '消耗时间',
searchByModule: '根据模块查找', searchByModule: '根据模块查找',
@@ -169,7 +169,7 @@ export const m = {
searchByStandardNumberAndName: '根据标准号/名称查找', searchByStandardNumberAndName: '根据标准号/名称查找',
split: '拆分', split: '拆分',
pleaseSelectDataType: '请选择资料类型', pleaseSelectDataType: '请选择资料类型',
pleaseSelectTheTextState: '请选择文本状态', pleaseSelectTheTextState: '请选择标准状态',
push: '推送', push: '推送',
bulkCopy: '批量复制', bulkCopy: '批量复制',
clauseRequirements: '条款要求', clauseRequirements: '条款要求',
@@ -260,7 +260,7 @@ export const m = {
findByTheResponsibilityDepartment: '根据责任部门查找', findByTheResponsibilityDepartment: '根据责任部门查找',
findByNormativeReferenceStandard: '根据规范性引用标准查找', findByNormativeReferenceStandard: '根据规范性引用标准查找',
lookupByStandardStatus: '根据标准状态查找', lookupByStandardStatus: '根据标准状态查找',
lookupByStandardStatusText: '根据文本状态查找', lookupByStandardStatusText: '根据标准状态查找',
findByPrincipalCompiler: '根据主要编制者查找', findByPrincipalCompiler: '根据主要编制者查找',
contentInThisPaper: '内容摘要', contentInThisPaper: '内容摘要',
substituteForStandNumber: '代替标准号', substituteForStandNumber: '代替标准号',
@@ -506,8 +506,8 @@ export const m = {
searchByNewTextNumberOrname: '根据新文本号/名称查找', searchByNewTextNumberOrname: '根据新文本号/名称查找',
compare: '比对', compare: '比对',
batchDeletion: '批量删除', batchDeletion: '批量删除',
oldTextState: '旧文本状态', oldTextState: '旧标准状态',
newTextState: '新文本状态', newTextState: '新标准状态',
collect: '收藏', collect: '收藏',
sharingStandard: '分享标准', sharingStandard: '分享标准',
standardName: '标准名称', standardName: '标准名称',
@@ -644,7 +644,7 @@ export const m = {
comparison: '比对', comparison: '比对',
oldDocumentTextNumber: '旧文档文本号', oldDocumentTextNumber: '旧文档文本号',
oldDocumentTextName: '旧文档文本名称', oldDocumentTextName: '旧文档文本名称',
oldTextStatus: '旧文本状态', oldTextStatus: '旧标准状态',
draft: '草稿', draft: '草稿',
draftForComments: '征求意见稿', draftForComments: '征求意见稿',
draftForReview: '送审稿', draftForReview: '送审稿',
@@ -653,7 +653,7 @@ export const m = {
standardText: '标准文本', standardText: '标准文本',
newDocumentTextNumber: '新文档文本号', newDocumentTextNumber: '新文档文本号',
newDocumentTextName: '新文档文本名称', newDocumentTextName: '新文档文本名称',
newTextStatus: '新文本状态', newTextStatus: '新标准状态',
comparisonType: '比对类型', comparisonType: '比对类型',
comparisonTime: '比对时间', comparisonTime: '比对时间',
dataLoading: '数据加载中', dataLoading: '数据加载中',
@@ -129,7 +129,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="130"> width="130">
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -137,6 +137,8 @@
<!--分页--> <!--分页-->
<pagination <pagination
style="position: relative;" style="position: relative;"
:auto-size="true"
:page-size="replaceLawsNumForm.pageSize"
:page="replacePage" :page="replacePage"
:total="replaceTotal" :total="replaceTotal"
@pageChange="pageChangeReplace" @pageChange="pageChangeReplace"
@@ -186,7 +188,7 @@ export default {
lawsNo: '', lawsNo: '',
lawsName: '', // 政策名称 lawsName: '', // 政策名称
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: 20,
total: 0, total: 0,
}, },
replaceLawsNumRow: [], // 代替政策号 数组内容 replaceLawsNumRow: [], // 代替政策号 数组内容
+12 -12
View File
@@ -80,7 +80,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="fileTypeShow" prop="fileTypeShow"
label="文本状态" label="标准状态"
width="110" width="110"
align="center"> align="center">
</el-table-column> </el-table-column>
@@ -169,8 +169,8 @@
<el-form-item label="标准名称/政策名称" prop="standName" class="search-item"> <el-form-item label="标准名称/政策名称" prop="standName" class="search-item">
<el-input v-model="fileInfoEOSearch.standName" :maxlength="100" placeholder="请选择标准名称/政策名称" clearable></el-input> <el-input v-model="fileInfoEOSearch.standName" :maxlength="100" placeholder="请选择标准名称/政策名称" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="standFileClassify" class="search-item"> <el-form-item label="标准状态" prop="standFileClassify" class="search-item">
<el-select v-model="fileInfoEOSearch.standFileClassify" placeholder="请选择文本状态" clearable> <el-select v-model="fileInfoEOSearch.standFileClassify" placeholder="请选择标准状态" clearable>
<el-option v-for="opt in standFileClassifyOptions" :key="opt.value" :value="opt.value" :label="opt.label"></el-option> <el-option v-for="opt in standFileClassifyOptions" :key="opt.value" :value="opt.value" :label="opt.label"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@@ -249,7 +249,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standFileClassifyShow" prop="standFileClassifyShow"
label="文本状态" label="标准状态"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -325,12 +325,12 @@
<el-input v-model="editForm.standNameSplit" :maxlength="100" placeholder="请输入标准名称/政策名称" clearable></el-input> <el-input v-model="editForm.standNameSplit" :maxlength="100" placeholder="请输入标准名称/政策名称" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="文本状态" label="标准状态"
class="add-form-item" class="add-form-item"
prop="fileType" prop="fileType"
label-width="140px" label-width="140px"
> >
<el-select v-model="editForm.fileType" placeholder="请选择文本状态" clearable> <el-select v-model="editForm.fileType" placeholder="请选择标准状态" clearable>
<el-option v-for="opt in standFileClassifyOptions" :key="opt.value" :value="opt.value" :label="opt.label"></el-option> <el-option v-for="opt in standFileClassifyOptions" :key="opt.value" :value="opt.value" :label="opt.label"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@@ -383,7 +383,7 @@
<el-input-number size="small" v-show="uploadFilesplitEo.splitType === '部分章节'" :max="100" :min="startNumber" v-model="stopNumber"></el-input-number> <el-input-number size="small" v-show="uploadFilesplitEo.splitType === '部分章节'" :max="100" :min="startNumber" v-model="stopNumber"></el-input-number>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="fileType" class="search-item btn-box"> <el-form-item label="标准状态" prop="fileType" class="search-item btn-box">
<el-select v-model="uploadFilesplitEo.fileType"> <el-select v-model="uploadFilesplitEo.fileType">
<el-option <el-option
v-for="opt in standFileClassifyOptions" v-for="opt in standFileClassifyOptions"
@@ -499,7 +499,7 @@
<el-form-item label="标准名称/政策名称" prop="standNameSplit"class="search-item btn-box"> <el-form-item label="标准名称/政策名称" prop="standNameSplit"class="search-item btn-box">
<el-input v-model="uploadFilesplitEo.standNameSplit" :maxlength="100" :disabled="importSplitResultLoading" placeholder="请输入标准名称/政策名称" :readOnly="!(uploadFilesplitEo && uploadFilesplitEo.standId)"></el-input> <el-input v-model="uploadFilesplitEo.standNameSplit" :maxlength="100" :disabled="importSplitResultLoading" placeholder="请输入标准名称/政策名称" :readOnly="!(uploadFilesplitEo && uploadFilesplitEo.standId)"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="fileType"class="search-item btn-box"> <el-form-item label="标准状态" prop="fileType"class="search-item btn-box">
<el-select v-model="uploadFilesplitEo.fileType" :disabled="importSplitResultLoading"> <el-select v-model="uploadFilesplitEo.fileType" :disabled="importSplitResultLoading">
<el-option v-for="opt in standFileClassifyOptions" :key="opt.value" :value="opt.value" :label="opt.label"></el-option> <el-option v-for="opt in standFileClassifyOptions" :key="opt.value" :value="opt.value" :label="opt.label"></el-option>
</el-select> </el-select>
@@ -638,7 +638,7 @@
<!-- <el-table-column <!-- <el-table-column
prop="fileType" prop="fileType"
align="center" align="center"
label="文本状态"> label="标准状态">
</el-table-column>--> </el-table-column>-->
<!-- <el-table-column--> <!-- <el-table-column-->
<!-- prop="putTime"--> <!-- prop="putTime"-->
@@ -803,7 +803,7 @@ export default {
uploadFileSplitRules: { uploadFileSplitRules: {
standNumSplit: [{required: true, message: '标准号/政策号不能为空', trigger: 'blur'}], standNumSplit: [{required: true, message: '标准号/政策号不能为空', trigger: 'blur'}],
// standNameSplit: [{required: true, message: '标准名称/政策名称不能为空', trigger: 'blur'}], // standNameSplit: [{required: true, message: '标准名称/政策名称不能为空', trigger: 'blur'}],
fileType: [{ required: true, message: '文本状态不能为空', trigger: 'change' }], fileType: [{ required: true, message: '标准状态不能为空', trigger: 'change' }],
defaultFileList: [{ required: true, message: '拆分文件不能为空', trigger: 'change' }], defaultFileList: [{ required: true, message: '拆分文件不能为空', trigger: 'change' }],
splitType: [{ required: true, message: '拆分方式不能为空', trigger: 'change' }] splitType: [{ required: true, message: '拆分方式不能为空', trigger: 'change' }]
}, },
@@ -817,12 +817,12 @@ export default {
standId: '', standId: '',
standNumSplit: '', // 标准号/政策号 standNumSplit: '', // 标准号/政策号
standNameSplit: '', // 标准名称/政策名称 standNameSplit: '', // 标准名称/政策名称
fileType: '' // 文本状态 fileType: '' // 标准状态
}, },
editFormRules: { editFormRules: {
standNumSplit: [{required: true, message: '标准号/政策号不能为空', trigger: 'blur'}], standNumSplit: [{required: true, message: '标准号/政策号不能为空', trigger: 'blur'}],
standNameSplit: [{required: true, message: '标准名称/政策名称不能为空', trigger: 'blur'}], standNameSplit: [{required: true, message: '标准名称/政策名称不能为空', trigger: 'blur'}],
fileType: [{ required: true, message: '文本状态不能为空', trigger: 'change' }] fileType: [{ required: true, message: '标准状态不能为空', trigger: 'change' }]
}, },
splitFileTypeOptions: [ splitFileTypeOptions: [
{ {
+2 -2
View File
@@ -76,7 +76,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="oldFileTypeShow" prop="oldFileTypeShow"
label="旧文本状态" label="旧标准状态"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -93,7 +93,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="newFileTypeShow" prop="newFileTypeShow"
label="新文本状态" label="新标准状态"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -82,7 +82,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="fileTypeShow" prop="fileTypeShow"
label="文本状态" label="标准状态"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -181,7 +181,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="fileTypeShow" prop="fileTypeShow"
label="文本状态" label="标准状态"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -198,7 +198,7 @@
:placeholder="$t('m.pleaseEnterTheStandardNameAndPolicyName')" :placeholder="$t('m.pleaseEnterTheStandardNameAndPolicyName')"
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="文本状态" prop="fileType" label-width="145px"> <el-form-item label="标准状态" prop="fileType" label-width="145px">
<el-select class="bead-input" v-model="uploadFilesdfEo.fileType"> <el-select class="bead-input" v-model="uploadFilesdfEo.fileType">
<el-option <el-option
v-for="item in options" v-for="item in options"
@@ -395,10 +395,10 @@
prop="textStatus" prop="textStatus"
sortable="custom" sortable="custom"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态<i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态<i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -520,10 +520,10 @@
prop="textStatus" prop="textStatus"
sortable="custom" sortable="custom"
width="110" width="110"
label="文本状态"> label="标准状态">
<!-- <template slot="header" slot-scope="scope">--> <!-- <template slot="header" slot-scope="scope">-->
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">--> <!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>--> <!-- <span>标准状态 <i class="el-icon-warning-outline"></i></span>-->
<!-- </el-tooltip>--> <!-- </el-tooltip>-->
<!-- </template>--> <!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
@@ -602,7 +602,7 @@
show-overflow-tooltip show-overflow-tooltip
sortable sortable
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -684,7 +684,7 @@
show-overflow-tooltip show-overflow-tooltip
sortable sortable
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
@@ -730,7 +730,7 @@ export default {
data() { data() {
return { return {
selectTableDatas: [], selectTableDatas: [],
textStatusMap: {}, // 文本状态id与name对应 textStatusMap: {}, // 标准状态id与name对应
lawInfoTable:[], lawInfoTable:[],
lawInfoTableLoading: true, lawInfoTableLoading: true,
//手动查找的模态框 //手动查找的模态框
@@ -789,7 +789,7 @@ export default {
// }, // },
// ], // ],
fileType: [ fileType: [
{ required: true, message: "文本状态称不能为空", trigger: "change" }, { required: true, message: "标准状态称不能为空", trigger: "change" },
], ],
fileName: [ fileName: [
{ required: true, message: '文件不能为空', trigger: 'change' } { required: true, message: '文件不能为空', trigger: 'change' }
@@ -816,7 +816,7 @@ export default {
props: {}, props: {},
watch: {}, watch: {},
methods: { methods: {
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
@@ -835,7 +835,7 @@ export default {
this.uploadFilesdfEo.standNumber =this.handleSelectTableList[0].standCode || this.handleSelectTableList[0].lawsNumber || this.handleSelectTableList[0].standSort+" "+this.handleSelectTableList[0].standNumber+"-"+this.handleSelectTableList[0].standYear this.uploadFilesdfEo.standNumber =this.handleSelectTableList[0].standCode || this.handleSelectTableList[0].lawsNumber || this.handleSelectTableList[0].standSort+" "+this.handleSelectTableList[0].standNumber+"-"+this.handleSelectTableList[0].standYear
this.uploadFilesdfEo.standName = this.handleSelectTableList[0].standName || this.handleSelectTableList[0].lawsName this.uploadFilesdfEo.standName = this.handleSelectTableList[0].standName || this.handleSelectTableList[0].lawsName
// console.log('999',this.handleSelectTableList[0]) // console.log('999',this.handleSelectTableList[0])
//文本状态,下次一定(tnnd,人家的文本状态和这个的文本状态都不是一个东西,不用画蛇添足) //标准状态,下次一定(tnnd,人家的标准状态和这个的标准状态都不是一个东西,不用画蛇添足)
// this.uploadFilesdfEo.fileType = this.handleSelectTableList[0].standTextStatusShow || this.handleSelectTableList[0].standStatusShow // this.uploadFilesdfEo.fileType = this.handleSelectTableList[0].standTextStatusShow || this.handleSelectTableList[0].standStatusShow
this.selectModal = false this.selectModal = false
} }
@@ -1035,7 +1035,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -1150,7 +1150,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -1224,7 +1224,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -1322,7 +1322,7 @@ export default {
validFlag: '0', validFlag: '0',
menuId: 'nomenu' menuId: 'nomenu'
}, },
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
textState: [], textState: [],
standModel: false, standModel: false,
lawInfoTableLoading: true, lawInfoTableLoading: true,
@@ -1415,8 +1415,8 @@ export default {
_this: this, _this: this,
loading: "loading" loading: "loading"
}, res => { }, res => {
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.pubOptions = res.data.DYGGWT //问答公共问题 this.pubOptions = res.data.DYGGWT //问答公共问题
}, e => { }, e => {
}); });
@@ -1530,7 +1530,7 @@ export default {
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
@@ -115,7 +115,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="100" width="100"
align="center"> align="center">
</el-table-column> </el-table-column>
@@ -168,9 +168,9 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item prop="lawsTextState" label-width="150px" class="add-form-item"> <el-form-item prop="lawsTextState" label-width="150px" class="add-form-item">
<template slot="label">文本状态</template> <template slot="label">标准状态</template>
<el-select v-model="sarLawsStandEO.lawsTextState" <el-select v-model="sarLawsStandEO.lawsTextState"
placeholder="请选择文本状态" placeholder="请选择标准状态"
clearable> clearable>
<el-option <el-option
v-for="opt in lawsTextStateOptions" v-for="opt in lawsTextStateOptions"
@@ -784,7 +784,7 @@ export default {
{type: 'string', max: 100, message: '发文单位不能超过100个字符', trigger: 'change'} {type: 'string', max: 100, message: '发文单位不能超过100个字符', trigger: 'change'}
], ],
lawsTextState: [ lawsTextState: [
{required: true, message: '文本状态不能为空', trigger: 'change'} {required: true, message: '标准状态不能为空', trigger: 'change'}
], ],
isRelateAccess: [ isRelateAccess: [
{required: true, message: '是否纳入认证清单不能为空', trigger: 'change'} {required: true, message: '是否纳入认证清单不能为空', trigger: 'change'}
@@ -1446,7 +1446,7 @@ export default {
this.standSubclassOptions = res.data.BUSSFINECLASS this.standSubclassOptions = res.data.BUSSFINECLASS
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.standNatureOptions = res.data.SARPROPERTY // 标准性质 this.standNatureOptions = res.data.SARPROPERTY // 标准性质
this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态 this.standStateOptions = res.data.TEXTSTATUSBUSS // 标准状态
this.standSystemOptions = res.data.TXLBBUSS // 标准体系 this.standSystemOptions = res.data.TXLBBUSS // 标准体系
this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型
this.categoryOptions = res.data.NYLXCLASS // 能源类型 this.categoryOptions = res.data.NYLXCLASS // 能源类型
@@ -110,7 +110,7 @@
show-overflow-tooltip show-overflow-tooltip
sortable sortable
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
min-width="110" min-width="110"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -30,11 +30,11 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-formItem> </el-formItem>
<el-formItem label="文本状态" prop="lawsTextState" class="search-item"> <el-formItem label="标准状态" prop="lawsTextState" class="search-item">
<el-select v-model="lawsStandInfoSearch.lawsTextState" filterable clearable> <el-select v-model="lawsStandInfoSearch.lawsTextState" filterable clearable>
<el-option <el-option
v-for="item in dict.lawsTextStateOptions" v-for="item in dict.lawsTextStateOptions"
placeholder="请选择文本状态" placeholder="请选择标准状态"
:key="item.value" :key="item.value"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
@@ -309,7 +309,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -419,7 +419,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -493,7 +493,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -515,6 +515,8 @@
<pagination <pagination
v-show="this.lawInfoTableLoading === false" v-show="this.lawInfoTableLoading === false"
style="position: relative;" style="position: relative;"
:auto-size="true"
:page-size="handleSelectForm.pageSize"
:page="handleSelectForm.page" :page="handleSelectForm.page"
:total="handleSelectForm.total" :total="handleSelectForm.total"
@pageChange="handleSelectPageChange" @pageChange="handleSelectPageChange"
@@ -592,14 +594,14 @@ export default {
lawNumber: '', // 标准编号/政策编号 lawNumber: '', // 标准编号/政策编号
lawName: '', // 标准名称/政策名称 lawName: '', // 标准名称/政策名称
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: 20,
bpnId: '', bpnId: '',
total: 0, total: 0,
quoteIdList: '', quoteIdList: '',
validFlag: '0', validFlag: '0',
menuId: 'nomenu' menuId: 'nomenu'
}, },
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
textState: [], textState: [],
DYGGWT: [], DYGGWT: [],
standModel: false, standModel: false,
@@ -678,8 +680,8 @@ export default {
_this: this, _this: this,
loading: "loading" loading: "loading"
}, res => { }, res => {
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.pubOptions = res.data.DYGGWT //问答公共问题 this.pubOptions = res.data.DYGGWT //问答公共问题
}, e => { }, e => {
}); });
@@ -792,7 +794,7 @@ export default {
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
@@ -471,7 +471,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止'" style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -581,7 +581,7 @@
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
width="110" width="110"
label="文本状态"> label="标准状态">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{ <span v-if="textStatusMap[scope.row.textStatus] === '废止' " style="color: #F56C6C">{{
textStatusMap[scope.row.textStatus] textStatusMap[scope.row.textStatus]
@@ -655,7 +655,7 @@
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="standStatusShow" prop="standStatusShow"
label="文本状态" label="标准状态"
width="110" width="110"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@@ -736,7 +736,7 @@ export default {
validFlag: '0', validFlag: '0',
menuId: 'nomenu' menuId: 'nomenu'
}, },
textStatusMap: {},// 文本状态id与name对应 textStatusMap: {},// 标准状态id与name对应
textState: [], textState: [],
DYGGWT: [], DYGGWT: [],
standModel: false, standModel: false,
@@ -814,8 +814,8 @@ export default {
_this: this, _this: this,
loading: "loading" loading: "loading"
}, res => { }, res => {
this.setMap(res.data.WBZTCLASS);// 文本状态 this.setMap(res.data.WBZTCLASS);// 标准状态
this.textState = res.data.WBZTCLASS // 文本状态 this.textState = res.data.WBZTCLASS // 标准状态
this.pubOptions = res.data.DYGGWT //问答公共问题 this.pubOptions = res.data.DYGGWT //问答公共问题
}, e => { }, e => {
}); });
@@ -863,7 +863,7 @@ export default {
}); });
window.open(routeUrl.href, "_blank"); window.open(routeUrl.href, "_blank");
}, },
// 将文本状态的id与name对应 // 将标准状态的id与name对应
setMap(data) { setMap(data) {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)