1、删除无效字段

pet_li_6.6
liujun 2024-04-30 11:37:03 +08:00
parent 643679d3c6
commit a9e4a77107
9 changed files with 32 additions and 31 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<el-dialog v-loading="loading" v-if="dialogVisible" :visible.sync="dialogVisible" :before-close="goBack" :title="title"> <el-dialog v-loading="loading" v-if="dialogVisible" :visible.sync="dialogVisible" :before-close="goBack" :title="title">
<el-form ref="form" :model="form" :rules="rules" label-width="180px"> <el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-form-item label="规程属性:" prop="CATEGORY_LIST"> <el-form-item v-if="false" label="规程属性:" prop="CATEGORY_LIST">
<multiple-choice <multiple-choice
:dynamic-tags.sync="form.CATEGORY_LIST" :dynamic-tags.sync="form.CATEGORY_LIST"
:labels="categoryList" :labels="categoryList"
@ -13,14 +13,14 @@
<el-form-item label="安全操作规程名称:" prop="REMARKS"> <el-form-item label="安全操作规程名称:" prop="REMARKS">
<el-input v-model="form.REMARKS" style="width: 100%"/> <el-input v-model="form.REMARKS" style="width: 100%"/>
</el-form-item> </el-form-item>
<el-form-item label="类型:" prop="TYPES"> <el-form-item v-if="false" label="类型:" prop="TYPES">
<multiple-choice <multiple-choice
:dynamic-tags.sync="form.TYPES" :dynamic-tags.sync="form.TYPES"
:labels="typeList" :labels="typeList"
:row-key="key.typeKey" :row-key="key.typeKey"
:row-name="key.typeName"/> :row-name="key.typeName"/>
</el-form-item> </el-form-item>
<el-form-item v-if="remoteControl.keyOne" label="国民经济行业类型:" prop="SPECIFICATION_TYPES"> <el-form-item v-if="remoteControl.keyOne && false" label="国民经济行业类型:" prop="SPECIFICATION_TYPES">
<multiple-choice <multiple-choice
:dynamic-tags.sync="form.SPECIFICATION_TYPES" :dynamic-tags.sync="form.SPECIFICATION_TYPES"
:labels="industryTypeList" :labels="industryTypeList"

View File

@ -56,7 +56,7 @@
align="center"/> align="center"/>
<el-table-column type="index" label="序号" width="50" align="center"/> <el-table-column type="index" label="序号" width="50" align="center"/>
<el-table-column align="center" prop="REMARKS" label="安全操作规程名称"/> <el-table-column align="center" prop="REMARKS" label="安全操作规程名称"/>
<el-table-column align="center" prop="TYPES" label="类型"> <el-table-column v-if="false" align="center" prop="TYPES" label="类型">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.TYPES" v-for="tag in row.TYPES"
@ -80,7 +80,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px"> <el-table-column v-if="false" align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px">
<template slot-scope="{row}"> <template slot-scope="{row}">
<div <div
v-if="(row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0) && ((!row.CATEGORY_LIST) || (!row.CATEGORY_LIST[0]) || (row.CATEGORY_LIST[0].CATEGORY_ID !== '8051d985a2bc406a83ea9360b64182b2')) "> v-if="(row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0) && ((!row.CATEGORY_LIST) || (!row.CATEGORY_LIST[0]) || (row.CATEGORY_LIST[0].CATEGORY_ID !== '8051d985a2bc406a83ea9360b64182b2')) ">
@ -98,13 +98,14 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="90px"/> <el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="200px"/>
<el-table-column align="center" prop="STATUS" label="状态" width="80px"> <el-table-column align="center" prop="STATUS" label="状态" width="80px">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.STATUS === '0' ? '停用' : '正常' }} {{ row.STATUS === '0' ? '停用' : '正常' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-if="false"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
align="center" align="center"
prop="UPLOAD_USER_NAME" prop="UPLOAD_USER_NAME"

View File

@ -56,7 +56,7 @@
align="center"/> align="center"/>
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column align="center" prop="REMARKS" label="安全操作规程名称" /> <el-table-column align="center" prop="REMARKS" label="安全操作规程名称" />
<el-table-column align="center" prop="TYPES" label="类型" > <el-table-column v-if="false" align="center" prop="TYPES" label="类型" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.TYPES" v-for="tag in row.TYPES"
@ -80,7 +80,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px"> <el-table-column v-if="false" align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px">
<template slot-scope="{row}"> <template slot-scope="{row}">
<div v-if="row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0"> <div v-if="row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0">
<el-tag <el-tag
@ -97,7 +97,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="90px"/> <el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="200px"/>
<el-table-column align="center" prop="STATUS" label="状态" width="80px"> <el-table-column align="center" prop="STATUS" label="状态" width="80px">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.STATUS === '0'?'停用':'正常' }} {{ row.STATUS === '0'?'停用':'正常' }}

View File

@ -1,16 +1,16 @@
<template> <template>
<el-dialog v-loading="loading" v-if="dialogVisible" :visible.sync="dialogVisible" :before-close="goBack" :title="title"> <el-dialog v-loading="loading" v-if="dialogVisible" :visible.sync="dialogVisible" :before-close="goBack" :title="title">
<el-form ref="form" :model="form" :rules="rules" label-width="180px"> <el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-form-item label="规程属性:" prop="CATEGORY_LIST"> <el-form-item v-if="false" label="规程属性:" prop="CATEGORY_LIST">
<multiple-choice :dynamic-tags.sync="form.CATEGORY_LIST" :labels="categoryList" :row-key="key.categoryKey" :row-name="key.categoryName" :limit="1" @getChooseOne="getChooseOne"/> <multiple-choice :dynamic-tags.sync="form.CATEGORY_LIST" :labels="categoryList" :row-key="key.categoryKey" :row-name="key.categoryName" :limit="1" @getChooseOne="getChooseOne"/>
</el-form-item> </el-form-item>
<el-form-item label="安全生产管理制度名称:" prop="REMARKS"> <el-form-item label="安全生产管理制度名称:" prop="REMARKS">
<el-input v-model="form.REMARKS" style="width: 100%"/> <el-input v-model="form.REMARKS" style="width: 100%"/>
</el-form-item> </el-form-item>
<el-form-item label="类型:" prop="TYPES"> <el-form-item v-if="false" label="类型:" prop="TYPES">
<multiple-choice :dynamic-tags.sync="form.TYPES" :labels="typeList" :row-key="key.typeKey" :row-name="key.typeName"/> <multiple-choice :dynamic-tags.sync="form.TYPES" :labels="typeList" :row-key="key.typeKey" :row-name="key.typeName"/>
</el-form-item> </el-form-item>
<el-form-item v-if="remoteControl.keyOne" label="国民经济行业类型:" prop="SPECIFICATION_TYPES"> <el-form-item v-if="remoteControl.keyOne && false" label="国民经济行业类型:" prop="SPECIFICATION_TYPES">
<multiple-choice <multiple-choice
:dynamic-tags.sync="form.SPECIFICATION_TYPES" :dynamic-tags.sync="form.SPECIFICATION_TYPES"
:labels="industryTypeList" :labels="industryTypeList"

View File

@ -55,7 +55,7 @@
align="center"/> align="center"/>
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column align="center" prop="REMARKS" label="安全生产管理制度名称" /> <el-table-column align="center" prop="REMARKS" label="安全生产管理制度名称" />
<el-table-column align="center" prop="TYPES" label="类型" > <el-table-column v-if="false" align="center" prop="TYPES" label="类型" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.TYPES" v-for="tag in row.TYPES"
@ -79,7 +79,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px"> <el-table-column v-if="false" align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px">
<template slot-scope="{row}"> <template slot-scope="{row}">
<div v-if="(row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0) && ((!row.CATEGORY_LIST) || (!row.CATEGORY_LIST[0]) || (row.CATEGORY_LIST[0].CATEGORY_ID !== '691346658ed744a1bda2ed3a755f606c')) "> <div v-if="(row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0) && ((!row.CATEGORY_LIST) || (!row.CATEGORY_LIST[0]) || (row.CATEGORY_LIST[0].CATEGORY_ID !== '691346658ed744a1bda2ed3a755f606c')) ">
<el-tag <el-tag
@ -96,13 +96,13 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="90px"/> <el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="200px"/>
<el-table-column align="center" prop="STATUS" label="状态" width="80px"> <el-table-column align="center" prop="STATUS" label="状态" width="80px">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.STATUS === '0'?'停用':'正常' }} {{ row.STATUS === '0'?'停用':'正常' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" > <el-table-column v-if="false" :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" >
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ !row.CORP_NAME ? '自建' : row.CORP_NAME }} {{ !row.CORP_NAME ? '自建' : row.CORP_NAME }}
</template> </template>

View File

@ -55,7 +55,7 @@
align="center"/> align="center"/>
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column align="center" prop="REMARKS" label="安全生产管理制度名称" /> <el-table-column align="center" prop="REMARKS" label="安全生产管理制度名称" />
<el-table-column align="center" prop="TYPES" label="类型" > <el-table-column v-if="false" align="center" prop="TYPES" label="类型" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.TYPES" v-for="tag in row.TYPES"
@ -79,7 +79,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px"> <el-table-column v-if="false" align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px">
<template slot-scope="{row}"> <template slot-scope="{row}">
<div v-if="row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0"> <div v-if="row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0">
<el-tag <el-tag
@ -96,13 +96,13 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="90px"/> <el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="200px"/>
<el-table-column align="center" prop="STATUS" label="状态" width="80px"> <el-table-column align="center" prop="STATUS" label="状态" width="80px">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.STATUS === '0'?'停用':'正常' }} {{ row.STATUS === '0'?'停用':'正常' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" > <el-table-column v-if="false" :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" >
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ !row.CORP_NAME ? '自建' : row.CORP_NAME }} {{ !row.CORP_NAME ? '自建' : row.CORP_NAME }}
</template> </template>

View File

@ -1,7 +1,7 @@
<template> <template>
<el-dialog v-loading="loading" v-if="dialogVisible" :visible.sync="dialogVisible" :before-close="goBack" :title="title"> <el-dialog v-loading="loading" v-if="dialogVisible" :visible.sync="dialogVisible" :before-close="goBack" :title="title">
<el-form ref="form" :model="form" :rules="rules" label-width="180px"> <el-form ref="form" :model="form" :rules="rules" label-width="180px">
<el-form-item label="规程属性:" prop="CATEGORY_LIST"> <el-form-item v-if="false" label="规程属性:" prop="CATEGORY_LIST">
<multiple-choice :dynamic-tags.sync="form.CATEGORY_LIST" :labels="categoryList" :row-key="key.categoryKey" :row-name="key.categoryName" :limit="1" @getChooseOne="getChooseOne"/> <multiple-choice :dynamic-tags.sync="form.CATEGORY_LIST" :labels="categoryList" :row-key="key.categoryKey" :row-name="key.categoryName" :limit="1" @getChooseOne="getChooseOne"/>
</el-form-item> </el-form-item>
<el-form-item label="安全生产责任制名称:" prop="REMARKS"> <el-form-item label="安全生产责任制名称:" prop="REMARKS">
@ -10,7 +10,7 @@
<el-form-item label="类型:" prop="TYPES"> <el-form-item label="类型:" prop="TYPES">
<multiple-choice :dynamic-tags.sync="form.TYPES" :labels="typeList" :row-key="key.typeKey" :row-name="key.typeName"/> <multiple-choice :dynamic-tags.sync="form.TYPES" :labels="typeList" :row-key="key.typeKey" :row-name="key.typeName"/>
</el-form-item> </el-form-item>
<el-form-item v-if="remoteControl.keyOne" label="国民经济行业类型:" prop="SPECIFICATION_TYPES"> <el-form-item v-if="remoteControl.keyOne && false" label="国民经济行业类型:" prop="SPECIFICATION_TYPES">
<multiple-choice <multiple-choice
:dynamic-tags.sync="form.SPECIFICATION_TYPES" :dynamic-tags.sync="form.SPECIFICATION_TYPES"
:labels="industryTypeList" :labels="industryTypeList"

View File

@ -58,7 +58,7 @@
<template slot-scope="props"> <template slot-scope="props">
<el-form label-position="left" inline> <el-form label-position="left" inline>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col v-if="false" :span="24">
<el-form-item label="国民经济行业类型:"> <el-form-item label="国民经济行业类型:">
<div v-if="(props.row.SPECIFICATION_TYPES && props.row.SPECIFICATION_TYPES.length > 0) && ((!props.row.CATEGORY_LIST) || (!props.row.CATEGORY_LIST[0]) || (props.row.CATEGORY_LIST[0].CATEGORY_ID !== '7158f688d0f34054a28a9275139298df'))"> <div v-if="(props.row.SPECIFICATION_TYPES && props.row.SPECIFICATION_TYPES.length > 0) && ((!props.row.CATEGORY_LIST) || (!props.row.CATEGORY_LIST[0]) || (props.row.CATEGORY_LIST[0].CATEGORY_ID !== '7158f688d0f34054a28a9275139298df'))">
<el-tag <el-tag
@ -94,7 +94,7 @@
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column align="center" prop="REMARKS" label="安全生产责任制名称" /> <el-table-column align="center" prop="REMARKS" label="安全生产责任制名称" />
<el-table-column align="center" prop="TYPES" label="类型" > <el-table-column v-if="false" align="center" prop="TYPES" label="类型" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.TYPES" v-for="tag in row.TYPES"
@ -106,7 +106,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-if="false" prop="LABEL" align="center" label="标签" > <el-table-column prop="LABEL" align="center" label="标签" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.labels" v-for="tag in row.labels"
@ -135,13 +135,13 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="90px"/> <el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="200px"/>
<el-table-column align="center" prop="STATUS" label="状态" width="80px"> <el-table-column align="center" prop="STATUS" label="状态" width="80px">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.STATUS === '0'?'停用':'正常' }} {{ row.STATUS === '0'?'停用':'正常' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" > <el-table-column v-if="false" :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" >
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ !row.CORP_NAME ? '自建' : row.CORP_NAME }} {{ !row.CORP_NAME ? '自建' : row.CORP_NAME }}
</template> </template>

View File

@ -55,7 +55,7 @@
align="center"/> align="center"/>
<el-table-column type="index" label="序号" width="50" align="center" /> <el-table-column type="index" label="序号" width="50" align="center" />
<el-table-column align="center" prop="REMARKS" label="安全生产责任制名称" /> <el-table-column align="center" prop="REMARKS" label="安全生产责任制名称" />
<el-table-column align="center" prop="TYPES" label="类型" > <el-table-column v-if="false" align="center" prop="TYPES" label="类型" >
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tag <el-tag
v-for="tag in row.TYPES" v-for="tag in row.TYPES"
@ -80,7 +80,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px"> <el-table-column v-if="false" align="center" prop="SPECIFICATION_TYPES" label="国民经济行业类型" width="300px">
<template slot-scope="{row}"> <template slot-scope="{row}">
<div v-if="row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0"> <div v-if="row.SPECIFICATION_TYPES && row.SPECIFICATION_TYPES.length > 0">
<el-tag <el-tag
@ -97,13 +97,13 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="90px"/> <el-table-column align="center" prop="UPLOAD_TIME" label="上传时间" width="200px"/>
<el-table-column align="center" prop="STATUS" label="状态" width="80px"> <el-table-column align="center" prop="STATUS" label="状态" width="80px">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ row.STATUS === '0'?'停用':'正常' }} {{ row.STATUS === '0'?'停用':'正常' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" > <el-table-column v-if="false" :show-overflow-tooltip="true" align="center" prop="UPLOAD_USER_NAME" label="数据来源" >
<template slot-scope="{row}"> <template slot-scope="{row}">
{{ !row.CORP_NAME ? '自建' : row.CORP_NAME }} {{ !row.CORP_NAME ? '自建' : row.CORP_NAME }}
</template> </template>