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

This commit is contained in:
super_liu
2021-06-23 18:12:56 +08:00
10 changed files with 4886 additions and 1877 deletions
@@ -12,11 +12,11 @@
<list-project v-if="tabValue === 'listProject'"></list-project> <list-project v-if="tabValue === 'listProject'"></list-project>
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="重点标准跟踪清单" name="listTracking"> <!-- <el-tab-pane label="重点标准跟踪清单" name="listTracking">-->
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;"> <!-- <div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">-->
<list-tracking v-if="tabValue === 'listTracking'"></list-tracking> <!-- <list-tracking v-if="tabValue === 'listTracking'"></list-tracking>-->
</div> <!-- </div>-->
</el-tab-pane> <!-- </el-tab-pane>-->
<el-tab-pane label="其他清单" name="listOther"> <el-tab-pane label="其他清单" name="listOther">
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;"> <div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
<list-other v-if="tabValue === 'listOther'"></list-other> <list-other v-if="tabValue === 'listOther'"></list-other>
@@ -258,7 +258,7 @@ export default {
searchSarAccess() { searchSarAccess() {
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
sortKey: 1, sortKey: 1,
...this.sarSarAccessEOSearch ...this.sarSarAccessEOSearch,
}, { }, {
_this: this _this: this
}, res => { }, res => {
@@ -3,7 +3,7 @@
<div id="listOfCountries" class="v-class"> <div id="listOfCountries" class="v-class">
<div class="search-area"> <div class="search-area">
<div class="left"> <div class="left">
<el-form :modal="sarSarAccessEOSearch" :inline="true" class="label-input-form" > <el-form :modal="sarSarAccessEOSearch" :inline="true" class="label-input-form">
<el-form-item label="清单类别" class="search-item search-item-last"> <el-form-item label="清单类别" class="search-item search-item-last">
<el-input <el-input
v-model="sarSarAccessEOSearch.detailedList" v-model="sarSarAccessEOSearch.detailedList"
@@ -30,7 +30,8 @@
<el-button <el-button
class="common-button-default" class="common-button-default"
size="small" size="small"
@click="clearSearch">清空</el-button> @click="clearSearch">清空
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@@ -42,14 +43,16 @@
size="mini" size="mini"
@click="openModal(null,'addOpt')" @click="openModal(null,'addOpt')"
v-btn-permission="'J2YEFN9MH4KWW5HMR2QH'" v-btn-permission="'J2YEFN9MH4KWW5HMR2QH'"
><i class="iconfont">&#xe84e;</i>新增</el-button> ><i class="iconfont">&#xe84e;</i>新增
</el-button>
<el-button <el-button
class="common-button-default delete-button" class="common-button-default delete-button"
:loading="delLoading" :loading="delLoading"
size="mini" size="mini"
@click="deleteSarAccess('demore',null)" @click="deleteSarAccess('demore',null)"
v-btn-permission="'WPNW79T3DNUZPJFNMHGP'" v-btn-permission="'WPNW79T3DNUZPJFNMHGP'"
><i class="iconfont">&#xe61b;</i>批量删除</el-button> ><i class="iconfont">&#xe61b;</i>批量删除
</el-button>
</div> </div>
<div class="container"> <div class="container">
<el-table <el-table
@@ -97,7 +100,9 @@
label="清单版本" label="清单版本"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion }}</span> <span
v-if="scope.row.detailedListVesion != null && scope.row.detailedListVesion !== ''">{{ scope.row.detailedListVesion
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -105,7 +110,9 @@
label="适用领域" label="适用领域"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope }}</span> <span
v-if="scope.row.applicationScope != null && scope.row.applicationScope !== ''">{{ scope.row.applicationScope
}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -114,7 +121,7 @@
sortable sortable
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.updateTime ? scope.row.updateTime.split(' ')[0] : '' }}</div> <div>{{ scope.row.updateTime ? scope.row.updateTime.split(" ")[0] : "" }}</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -128,9 +135,12 @@
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'43UVH8AWGJLFDZT9WNTZ'">查看</el-dropdown-item> <el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'43UVH8AWGJLFDZT9WNTZ'">查看
<el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'HYY8NGY2RYT3VEDRSK5V'">编辑</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'X9HP9YQL2BRKBFCDMZQT'">删除</el-dropdown-item> <el-dropdown-item :command="[scope.row, '编辑']" v-btn-permission="'HYY8NGY2RYT3VEDRSK5V'">编辑
</el-dropdown-item>
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="'X9HP9YQL2BRKBFCDMZQT'">删除
</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
@@ -138,7 +148,8 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<loading :loading="loading">数据获取中</loading> <loading :loading="loading">数据获取中</loading>
<pagination :page="sarSarAccessEOSearch.page" :total="sarAccessListTotal" @pageChange="pageChange" @pageSizeChange="pageSizeChange"></pagination> <pagination :page="sarSarAccessEOSearch.page" :total="sarAccessListTotal" @pageChange="pageChange"
@pageSizeChange="pageSizeChange"></pagination>
</div> </div>
</div> </div>
</template> </template>
@@ -146,7 +157,7 @@
<script> <script>
export default { export default {
name: "listOther", name: "listOther",
data () { data() {
return { return {
searching: false, searching: false,
total: 0, total: 0,
@@ -154,10 +165,10 @@ export default {
rows: 10, rows: 10,
// 查询相关参数 // 查询相关参数
sarSarAccessEOSearch: { sarSarAccessEOSearch: {
detailedList: '', detailedList: "",
detailedListName: '', detailedListName: "",
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent
}, },
sarAccessListDatas: [], sarAccessListDatas: [],
sarAccessListTotal: 0, sarAccessListTotal: 0,
@@ -165,24 +176,24 @@ export default {
selectedList: [], selectedList: [],
// 新增、编辑 准入信息字段 // 新增、编辑 准入信息字段
sarAccessEO: { sarAccessEO: {
country: '', country: "",
applyArctic: '', applyArctic: "",
energyKind: '', energyKind: "",
accessContent: '', accessContent: "",
region: '' region: ""
}, },
drawerPage: 1, // 当前抽屉分页的页码 drawerPage: 1, // 当前抽屉分页的页码
drawerTotal: 0, // 抽屉分页的总条数 drawerTotal: 0, // 抽屉分页的总条数
sarAccessEORules: { sarAccessEORules: {
region: [ region: [
{required: true, message: '区域不能为空', trigger: 'change'} { required: true, message: "区域不能为空", trigger: "change" }
], ],
country: [ country: [
{required: true, message: '国家不能为空', trigger: 'change'} { required: true, message: "国家不能为空", trigger: "change" }
], ],
accessContent: [ accessContent: [
{required: true, message: '表格名称不能为空', trigger: 'blur'}, { required: true, message: "表格名称不能为空", trigger: "blur" },
{type: 'string', max: 100, message: '表格名称不能超过100个字符', trigger: 'blur'} { type: "string", max: 100, message: "表格名称不能超过100个字符", trigger: "blur" }
] ]
}, },
countryOptions: [], countryOptions: [],
@@ -195,170 +206,169 @@ export default {
// 区域 // 区域
regionOptions: [ regionOptions: [
{ {
label: '国内', label: "国内",
value: 'INLAND' value: "INLAND"
}, },
{ {
label: '海外', label: "海外",
value: 'FOREIGN' value: "FOREIGN"
} }
], ],
showModalTitle: '', showModalTitle: "",
disabledFlag: false, disabledFlag: false,
showModalFlag: false, showModalFlag: false,
// 新增、编辑过程中数据搜索字段 // 新增、编辑过程中数据搜索字段
sarAccessInfoSearch: { sarAccessInfoSearch: {
region: '', // 区域 region: "", // 区域
country: '', // 国家 country: "", // 国家
keywords: '', // 关键字 keywords: "", // 关键字
energyKind: '', // 能源种类 energyKind: "", // 能源种类
category: '', // 所属专业领域 category: "", // 所属专业领域
applyArctic: '', // 适用车型 applyArctic: "", // 适用车型
deadLine: '', // 截止时间 deadLine: "", // 截止时间
applyAuth: '' // 认证类型 applyAuth: "" // 认证类型
}, },
dataSourceOptions: [ dataSourceOptions: [
{value: 'INLAND_STAND', label: '国内标准法规'}, { value: "INLAND_STAND", label: "国内标准法规" },
{value: 'FOREIGN_STAND', label: '海外标准法规'}, { value: "FOREIGN_STAND", label: "海外标准法规" },
{value: 'FOREIGN_LAWS', label: '国内外政策'}, { value: "FOREIGN_LAWS", label: "国内外政策" },
{value: 'BUSINESS', label: '企业标准 '} { value: "BUSINESS", label: "企业标准 " }
], ],
sarAccessInfoSearchList: [], sarAccessInfoSearchList: [],
selectedAccInfoSearchList: [], selectedAccInfoSearchList: [],
sarAccessInfoListArry: [], sarAccessInfoListArry: [],
sarAccessInfoList: [], sarAccessInfoList: [],
importExcelUrl: '/api/lawss/sarSarAccessInfo/importSarAccessInfo?accessId=', importExcelUrl: "/api/lawss/sarSarAccessInfo/importSarAccessInfo?accessId=",
importmodalFlag: false, importmodalFlag: false,
saveExportType: '', saveExportType: "",
seeModalFlag: false, // 查看抽屉显示隐藏 seeModalFlag: false, // 查看抽屉显示隐藏
seeModalTitle: '', // 查看抽屉title seeModalTitle: "", // 查看抽屉title
seeSarAccessInfoList: [], // 查看抽屉内 table seeSarAccessInfoList: [], // 查看抽屉内 table
delLoading: false delLoading: false
} };
}, },
methods: { methods: {
// 更多 // 更多
handleCommand (command) { handleCommand(command) {
switch (command[1]) { switch (command[1]) {
case '查看': case "查看":
this.showTable(command[0]) this.showTable(command[0]);
break break;
case '编辑': case "编辑":
this.editTable(command[0]) this.editTable(command[0]);
break break;
case '删除': case "删除":
this.deleteSarAccess('delOne', command[0].id) this.deleteSarAccess("delOne", command[0].id);
break break;
} }
}, },
//分页查询 //分页查询
searchSarAccess () { searchSarAccess() {
this.$http.get('sarLawsDetailedList/sar-laws-detailed-list/getAllStand',{ this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
...this.sarSarAccessEOSearch, ...this.sarSarAccessEOSearch,
sortKey: 3, sortKey: 3
}, { }, {
_this: this _this: this
}, res =>{ }, res => {
this.sarAccessListDatas = res.data.records this.sarAccessListDatas = res.data.records;
this.sarAccessListTotal = res.data.total this.sarAccessListTotal = res.data.total;
}, e => { }, e => {
}) });
}, },
pageChange (page) { pageChange(page) {
this.sarSarAccessEOSearch.page = page this.sarSarAccessEOSearch.page = page;
this.searchSarAccess() this.searchSarAccess();
}, },
pageSizeChange (pageSize) { pageSizeChange(pageSize) {
this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent;
this.searchSarAccess() this.searchSarAccess();
}, },
clearSearch (search = true) { clearSearch() {
// search 字段是为了处理高级查询时清空字段用的 this.sarSarAccessEOSearch = {
this.sarSarAccessEOSearch.country = '' detailedList: "",
this.sarSarAccessEOSearch.accessContent = '' detailedListName: ""
this.sarSarAccessEOSearch.applyArctic = '' };
this.sarSarAccessEOSearch.energyKind = '' this.searchSarAccess();
this.sarSarAccessEOSearch.type = ''
this.sarSarAccessEOSearch.page = 1
search && this.searchSarAccess()
}, },
// 新增相关 // 新增相关
openModal (row, optType) { openModal(row, optType) {
this.$router.push({ this.$router.push({
name: 'ListOfStandardsAndRegulationsDetails' name: "OtherAddEit"
}) });
}, },
// 删除 // 删除
deleteSarAccess (flag, id) { deleteSarAccess(flag, id) {
if (flag === 'delOne') { if (flag === "delOne") {
this.selectedList = []; this.selectedList = [];
this.selectedList[0] = id; this.selectedList[0] = id;
} }
if(this.selectedList.length === 0) { if (this.selectedList.length === 0) {
this.$message.warning('请选择要删除的数据') this.$message.warning("请选择要删除的数据");
} else { } else {
this.$confirm('确认删除这些数据?', '提示', { this.$confirm("确认删除这些数据?", "提示", {
confirmButtonText: '确认', confirmButtonText: "确认",
confirmButtonClass: 'common-button-primary', confirmButtonClass: "common-button-primary",
cancelButtonText: '取消', cancelButtonText: "取消",
type:'warning' type: "warning"
}).then (() => { }).then(() => {
const URL = `sarLawsDetailedList/sar-laws-detailed-list/deleteListAll?idList=${this.selectedList.join(',')}` const URL = `sarLawsDetailedList/sar-laws-detailed-list/deleteListAll?idList=${this.selectedList.join(",")}`;
this.$http.postDelete(URL, {}, res => { this.$http.postDelete(URL, {}, res => {
this.searchSarAccess(); this.searchSarAccess();
this.selectedList = []; this.selectedList = [];
this.$message.success('删除成功') this.$message.success("删除成功");
}, e => { }, e => {
}); });
}).catch(() => { }).catch(() => {
}) });
} }
}, },
// 表格选择框 // 表格选择框
selectOne(data) { selectOne(data) {
this.selectedList = [] this.selectedList = [];
for(let i = 0; i < data.length; i++) { for (let i = 0; i < data.length; i++) {
this.selectedList.push(data[i].id) this.selectedList.push(data[i].id);
} }
}, },
// 点击 table查看按钮 事件 // 点击 table查看按钮 事件
showTable (item) { showTable(item) {
sessionStorage.setItem('accessRow', JSON.stringify(item)) sessionStorage.setItem("accessRow", JSON.stringify(item));
this.$store.commit('setDetailMap', this.$route.path) this.$store.commit("setDetailMap", this.$route.path);
this.$router.push({ this.$router.push({
name: 'AccessStandardDetails', name: "AccessStandardDetails",
params: { params: {
id: item.id id: item.id
} }
}) });
}, },
// 点击 table编辑按钮 事件 // 点击 table编辑按钮 事件
editTable (item) { editTable(item) {
sessionStorage.setItem('accessRow', JSON.stringify(item)) sessionStorage.setItem("accessRow", JSON.stringify(item));
this.$router.push({ this.$router.push({
name: 'ListOfStandardsAndRegulationsDetails', name: "ListOfStandardsAndRegulationsDetails",
query: { query: {
id: item.id id: item.id
} }
}) });
}, }
}, },
mounted () { mounted() {
// 分页查询数据 // 分页查询数据
this.searchSarAccess() this.searchSarAccess();
}, }
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
#listOfCountries { #listOfCountries {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -368,32 +378,39 @@ export default {
//height: calc(~'100% - 105px - 56px') !important; //height: calc(~'100% - 105px - 56px') !important;
.pagination { .pagination {
position: static; position: static;
/deep/ .pagination-slot { /deep/ .pagination-slot {
padding: 0; padding: 0;
} }
} }
} }
.el-divider{
.el-divider__text{ .el-divider {
.el-divider__text {
font-size: 16px; font-size: 16px;
color: #0c91e5; color: #0c91e5;
} }
} }
.standards-drawer-table-one{
.standards-drawer-table-one {
position: relative; position: relative;
height: 350px; height: 350px;
.pagination{
.pagination {
bottom: 0; bottom: 0;
} }
} }
.standards-drawer-table{
.standards-drawer-table {
margin-top: 10px; margin-top: 10px;
} }
.see-drawer{
.searchAngNewBtn{ .see-drawer {
.searchAngNewBtn {
float: right; float: right;
} }
.el-divider{
.el-divider {
clear: both; clear: both;
} }
} }
@@ -296,7 +296,7 @@ export default {
// 新增相关 // 新增相关
openModal(row, optType) { openModal(row, optType) {
this.$router.push({ this.$router.push({
name: "ListOfStandardsAndRegulationsDetails" name: "ProjectAddEit"
}); });
}, },
// 删除 // 删除
File diff suppressed because it is too large Load Diff
@@ -43,16 +43,16 @@
<div class="search-area"> <div class="search-area">
<div class="left"> <div class="left">
<el-form ref="standardForm" :model="standardForm" inline> <el-form ref="standardForm" :model="standardForm" inline>
<el-form-item label="标准名称" class="search-item"> <el-form-item label="标准号/标准名称" class="search-item">
<el-input v-model="standardForm.standName" <el-input v-model="standardForm.standName"
placeholder="请输入" placeholder="请输入"
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="责任部门" class="search-item" prop="departName"> <el-form-item label="责任部门" class="search-item" prop="responseUnit">
<el-input v-model="standardForm.depart" v-show="false"></el-input> <el-input v-model="standardForm.responseUnit" v-show="false"></el-input>
<el-popover placement="bottom" popper-class="user-dept-popper" trigger="click"> <el-popover placement="bottom" popper-class="user-dept-popper" trigger="click">
<el-input <el-input
v-model="standardForm.departName" v-model="standardForm.responseUnit"
placeholder="请选择部门" placeholder="请选择部门"
readonly readonly
id="depBtnsAuth" id="depBtnsAuth"
@@ -110,56 +110,51 @@
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standNumber"
width="180px" width="180px"
fixed="left" fixed="left"
label="标准号"> label="标准号">
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump" <a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
@click="handlePreview(scope.row)">{{ scope.row.code }}</a>
<span v-else>{{ scope.row.code }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="standName"
width="180px" width="180px"
label="中文名称" label="中文名称"
fixed="left" fixed="left"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump" <a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
@click="handlePreview(scope.row)">{{ scope.row.name }}</a>
<span v-else>{{ scope.row.name }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="enName" prop="standEnName"
width="180px" width="180px"
fixed="left" fixed="left"
label="英文名称"> label="英文名称">
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.resId && scope.row.sarType !== 'TEMP'" class="table-jump" <a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
@click="handlePreview(scope.row)">{{ scope.row.enName }}</a>
<span v-else>{{ scope.row.enName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="newPutTime" prop="issueTime"
width="190px" width="190px"
label="发布日期" label="发布日期"
sortable sortable
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="newPutTime" prop="newCarTime"
width="190px" width="190px"
label="新车型实施日期(项目)" label="新车型实施日期"
sortable sortable
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="prodPutTime" prop="nowCarTime"
width="190px" width="190px"
label="在产车实施日期(项目)" label="在产车实施日期"
sortable sortable
> >
</el-table-column> </el-table-column>
@@ -167,10 +162,16 @@
prop="applyArcticId" prop="applyArcticId"
width="120px" width="120px"
show-overflow-tooltip show-overflow-tooltip
label="适用车辆类型"> label="适用车型">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="applyArcticId" prop="responseUnit"
width="120px"
show-overflow-tooltip
label="责任部门">
</el-table-column>
<el-table-column
prop="textStatus"
width="120px" width="120px"
show-overflow-tooltip show-overflow-tooltip
label="文本状态"> label="文本状态">
@@ -233,14 +234,11 @@ export default {
heightShow: true, heightShow: true,
dataLoading: false, dataLoading: false,
standardForm: { standardForm: {
codeOrName: "", // 标号、标准名称 standNumber: '',
// energyType: '', standName: '',
depart: "", responseUnit:'',
departName: "",
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
accessId: this.$route.params.id,
validFlag: 0
}, },
page: 1, page: 1,
// pageSize: this.$store.getters.userInfo.configContent, // pageSize: this.$store.getters.userInfo.configContent,
@@ -263,38 +261,6 @@ export default {
// 改变颜色 // 改变颜色
dialogColor: false, dialogColor: false,
dialogType: "", dialogType: "",
colorList: [
{
name: "green",
pic: require(`../../../../assets/images/ComplianceClassification/green.png`),
title: "符合",
isShow: false
},
{
name: "red",
pic: require(`../../../../assets/images/ComplianceClassification/red.png`),
title: "高风险",
isShow: false
},
{
name: "yellow",
pic: require(`../../../../assets/images/ComplianceClassification/yellow.png`),
title: "不满足或待验证",
isShow: false
},
{
name: "blue",
pic: require(`../../../../assets/images/ComplianceClassification/blue.png`),
title: "待反馈",
isShow: false
},
{
name: "grey",
pic: require(`../../../../assets/images/ComplianceClassification/white.png`),
title: "不涉及",
isShow: false
}
],
color: "", color: "",
isShow: false isShow: false
}; };
@@ -338,20 +304,16 @@ export default {
selectInfobyAccid() { selectInfobyAccid() {
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", { this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
...this.standardForm, ...this.standardForm,
Page: 1,
Size: this.$store.getters.userInfo.configContent
}, { }, {
_this: this _this: this
}, res => { }, res => {
this.standinfoList = res.data.records this.standinfoList = res.data
this.total = res.data.total this.total = res.data.total
},e => { },e => {
}); });
}, },
// 重置搜索
resetSelect() {
},
back() { back() {
this.$router.push({ this.$router.push({
name: "AccessStandardsAndRegulations" name: "AccessStandardsAndRegulations"
@@ -365,6 +327,14 @@ export default {
this.standardForm.page = 1; this.standardForm.page = 1;
this.selectInfobyAccid(); this.selectInfobyAccid();
}, },
// 重置搜索
resetSelect() {
this.standardForm = {
standName: '',
responseUnit:'',
}
this.selectInfobyAccid();
},
exportStandard() { exportStandard() {
this.exportName = ""; this.exportName = "";
this.exportModelFlag = true; this.exportModelFlag = true;
@@ -529,21 +499,6 @@ export default {
this.colorRow = item; this.colorRow = item;
this.dialogType = num; this.dialogType = num;
}, },
/**
* @Description: 给图标添加边框
* @author zmf
* @date 2021/3/10
*/
addBorder(item, index) {
this.colorList.forEach((list, i) => {
if (i === index) {
this.colorList[index].isShow = true;
} else {
this.colorList[i].isShow = false;
}
});
this.color = item.name;
},
doLayout() { doLayout() {
this.$refs.adminTable && this.$refs.adminTable.doLayout(); this.$refs.adminTable && this.$refs.adminTable.doLayout();
this.$refs.skillTable && this.$refs.skillTable.doLayout(); this.$refs.skillTable && this.$refs.skillTable.doLayout();
@@ -2491,6 +2491,7 @@ export default {
height: auto !important; height: auto !important;
min-height: 100%; min-height: 100%;
font-size: 14px; font-size: 14px;
background: #0c91e5;
/deep/.el-button--mini { /deep/.el-button--mini {
height: 29px; height: 29px;
} }
+27 -1
View File
@@ -734,7 +734,7 @@ const routes = [
// menuId: 'A594R75XEQ' // menuId: 'A594R75XEQ'
} }
}, },
// 标准法规库 - 标准法规清单 - 新增、编辑 // 标准法规库 - 标准法规国家地区清单 - 新增、编辑
{ {
path: '/listOfStandardsAndRegulationsDetails', path: '/listOfStandardsAndRegulationsDetails',
name: 'ListOfStandardsAndRegulationsDetails', name: 'ListOfStandardsAndRegulationsDetails',
@@ -747,6 +747,32 @@ const routes = [
menuId: 'A594R75XEQ' menuId: 'A594R75XEQ'
} }
}, },
// 标准法规库 - 标准法规项目清单 - 新增、编辑
{
path: '/projectAddEit',
name: 'ProjectAddEit',
component: () =>
import('@/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit'),
meta: {
requireAuth: true,
title: '标准法规清单管理',
parentPath: '/accessStandardsAndRegulations',
menuId: 'A594R75XEQ'
}
},
// 标准法规库 - 标准法规其他清单 - 新增、编辑
{
path: '/otherAddEit',
name: 'OtherAddEit',
component: () =>
import('@/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit'),
meta: {
requireAuth: true,
title: '标准法规清单管理',
parentPath: '/accessStandardsAndRegulations',
menuId: 'A594R75XEQ'
}
},
// 未符合项跟踪 // 未符合项跟踪
{ {
path: '/nonConfomity', path: '/nonConfomity',