feat: There is no way the
This commit is contained in:
@@ -130,11 +130,11 @@ export default {
|
||||
menuId: '2b25c67f10abbbadf37d60daaaec54d3'
|
||||
},
|
||||
|
||||
// {
|
||||
// title: '国内外政策',
|
||||
// path: '/foreignRegulationsDatabase',
|
||||
// menuId: '4DB4Y2H3NH'
|
||||
// },
|
||||
{
|
||||
title: '国内外政策',
|
||||
path: '/foreignRegulationsDatabase',
|
||||
menuId: 'ef02a3b0af9a4b3ede460456a9591ebc'
|
||||
},
|
||||
// // // {
|
||||
// // // title: '标准制修订管理',
|
||||
// // // path: '/demo2One'
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<template>
|
||||
<div class="attribute-custom v-class">
|
||||
<div class="action-bar1">
|
||||
<el-button class="common-button-primary add-button" size="mini" type="primary" v-btn-permission="'H9WU2ZJHG5WNTY5MDUXH'" @click="showAddModel"><i class="el-icon-plus"></i>新增</el-button>
|
||||
<el-button class="common-button-default" size="mini" @click="showDisplayLocationDialog" v-btn-permission="'XT94XKWBCTELWNJQVYCU'">展示区域管理</el-button>
|
||||
<el-button class="common-button-primary add-button" size="mini" type="primary" v-btn-permission="''" @click="showAddModel"><i class="el-icon-plus"></i>新增</el-button>
|
||||
<el-button class="common-button-default" size="mini" @click="showDisplayLocationDialog" v-btn-permission="''">展示区域管理</el-button>
|
||||
</div>
|
||||
<loading :loading="attributeDataLoading">数据处理中</loading>
|
||||
<div class="content">
|
||||
@@ -282,7 +282,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
const sarType = 'FOREIGN_LAWS'
|
||||
const sarType = 'LAWS_STAND'
|
||||
export default {
|
||||
name: 'attribute-custom',
|
||||
data () {
|
||||
@@ -352,7 +352,7 @@ export default {
|
||||
showRegionId: '',
|
||||
selVal: '',
|
||||
isSearch: '1',
|
||||
sarType: 'FOREIGN_LAWS',
|
||||
sarType: 'LAWS_STAND',
|
||||
isWarn: '1'
|
||||
},
|
||||
attrTypeOptions: [
|
||||
@@ -367,12 +367,12 @@ export default {
|
||||
],
|
||||
sarTypeOptions: [
|
||||
// { label: '国内政策', value: 'INLAND_LAWS' },
|
||||
{ label: '国内外政策', value: 'FOREIGN_LAWS' }
|
||||
{ label: '国内外政策', value: 'LAWS_STAND' }
|
||||
// { label: '国内外政策', value: 'LAWS' }
|
||||
],
|
||||
sarTypeLocationOptions: [
|
||||
// { label: '国内政策', value: 'INLAND_LAWS' },
|
||||
{ label: '国内外政策', value: 'FOREIGN_LAWS' }
|
||||
{ label: '国内外政策', value: 'LAWS_STAND' }
|
||||
],
|
||||
isMustOptions: [
|
||||
{ label: '是', value: '0' },
|
||||
@@ -710,7 +710,7 @@ export default {
|
||||
let texts = ''
|
||||
if (type === 'INLAND_LAWS') {
|
||||
texts = '国内政策'
|
||||
} else if (type === 'FOREIGN_LAWS') {
|
||||
} else if (type === 'LAWS_STAND') {
|
||||
texts = '国内外政策'
|
||||
} else if (type === 'LAWS') {
|
||||
texts = '国内外通用政策'
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
<stand v-if="tabValue === 'stand'"></stand>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<!-- <el-tab-pane label="国内外政策" name="laws">
|
||||
<el-tab-pane label="国内外政策" name="laws">
|
||||
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
||||
<laws v-if="tabValue === 'laws'"></laws>
|
||||
</div>
|
||||
</el-tab-pane>-->
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="企业标准库" name="buss">
|
||||
<div style="position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
|
||||
<buss v-if="tabValue === 'buss'"></buss>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -50,10 +50,10 @@
|
||||
<div class="left-contents">标题:{{ item.collectTitle }}</div>
|
||||
</el-tooltip>
|
||||
</el-col>
|
||||
<el-col :span="4" :offset="3"> 创建时间:{{item.creationTime}}</el-col>
|
||||
<el-col :span="4" :offset="3"> 创建时间:{{getDate(item.creationTime)}}</el-col>
|
||||
</div>
|
||||
<el-col :span="4">
|
||||
<el-button size="mini" style="margin-top: -5px; border: 1px dashed #dcdee2" @click="cancelLaws(item.id)" v-btn-permission="'66SSMTSGN3UKCQB4LDRD'">{{$t('m.cancelCollection')}}</el-button>
|
||||
<el-button size="mini" style="margin-top: -5px; border: 1px dashed #dcdee2" @click="cancelLaws(item.id)" v-btn-permission="''">{{$t('m.cancelCollection')}}</el-button>
|
||||
<!-- <el-button size="mini" style="margin-top: -5px; border: 1px dashed #dcdee2" @click="writeLawsNotes(item,index1)">{{item.seeBtn}}</el-button>-->
|
||||
</el-col>
|
||||
</el-row>
|
||||
@@ -144,6 +144,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getDate (date) {
|
||||
return date != null ? date.substring(0, date.indexOf(' ')) : ''
|
||||
},
|
||||
// 对话框关闭清除表单
|
||||
noteChange (type) {
|
||||
if (!type) {
|
||||
@@ -271,33 +274,17 @@ export default {
|
||||
this.$http.get('person/personCollect/page', {
|
||||
pageNo: this.page,
|
||||
pageSize: this.$store.getters.userInfo.configContent,
|
||||
modeType: 'LAWS',
|
||||
modeType: 'LAWS_STAND',
|
||||
collectTitle: this.search.collectionLaws,
|
||||
userId: this.$store.getters.userInfo.userId
|
||||
}, {
|
||||
_this: this,
|
||||
loading: 'loading'
|
||||
}, res => {
|
||||
// for (let i = 0; i < res.data.list.length; i++) {
|
||||
// res.data.list[i].check = false
|
||||
// res.data.list[i].checked = false
|
||||
// res.data.list[i].seeBtn = '查看笔记'
|
||||
// }
|
||||
this.lawsList = []
|
||||
res.data.list.map((item, index) => {
|
||||
item.checked = false
|
||||
})
|
||||
this.lawsList = res.data.list
|
||||
this.total = res.data.count
|
||||
this.lawsList = res.data.records
|
||||
this.total = res.data.total
|
||||
this.contentOpen = true
|
||||
// if (this.saveNote !== '') {
|
||||
// this.lawsList[this.saveNote].check = true
|
||||
// if (this.lawsList[this.saveNote].check === true) {
|
||||
// this.lawsList[this.saveNote].seeBtn = '关闭笔记'
|
||||
// } else {
|
||||
// this.lawsList[this.saveNote].seeBtn = '查看笔记'
|
||||
// }
|
||||
// }
|
||||
}, e => {})
|
||||
},
|
||||
// 取消收藏
|
||||
|
||||
@@ -25,10 +25,12 @@ export default {
|
||||
// {
|
||||
// title: '已收藏的动态&资料 ',
|
||||
// name: 'CollectionDynamics'
|
||||
// }, {
|
||||
// title: '已收藏的政策',
|
||||
// name: 'CollectionLaws'
|
||||
// }, {
|
||||
// },
|
||||
{
|
||||
title: '已收藏的政策',
|
||||
name: 'CollectionLaws'
|
||||
},
|
||||
// {
|
||||
// title: '已收藏的标准拆分',
|
||||
// name: 'CollectionBreak'
|
||||
// }
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+2
@@ -36,6 +36,8 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
filterText: '', // 企业标准库过滤
|
||||
treeList: [],
|
||||
visibleOrgTable: false,
|
||||
orgTableVal: '',
|
||||
orgTableValName: '',
|
||||
|
||||
+12
-1
@@ -1444,7 +1444,7 @@ const routes = [
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
title: '国内外政策',
|
||||
menuId: '4DB4Y2H3NH'
|
||||
menuId: 'ef02a3b0af9a4b3ede460456a9591ebc'
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1970,6 +1970,17 @@ const routes = [
|
||||
title: '企标详情'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/otherLawsStandDetails/:id/:pageType',
|
||||
name: 'OtherLawsStandDetails',
|
||||
component: () =>
|
||||
import('@/pages/details/otherLawsStandDetails'),
|
||||
meta: {
|
||||
requireAuth: true,
|
||||
isBoolean: true,
|
||||
title: '政策详情'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/itemsDetails',
|
||||
name: 'itemsDetails',
|
||||
|
||||
Reference in New Issue
Block a user