合并代码

This commit is contained in:
宋伟佳
2021-06-03 09:08:30 +08:00
4 changed files with 167 additions and 50 deletions
+62 -3
View File
@@ -28,9 +28,68 @@ website: http://code.google.com/p/jquerytree/
.ztree li span {line-height:16px; margin-right:2px}
.ztree li span.button {line-height:0; margin:0; width:16px; height:16px; display: inline-block; vertical-align:middle;
border:0 none; cursor: pointer;outline:none;
background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")}
/*background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;*/
/*background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")*/
}
.ztree li span.button.roots_open{
width: 0px !important;
height: 0px !important;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgb(192, 196, 204);
}
.ztree li span.button.roots_close{
width: 0px !important;
height: 0px !important;
border-bottom: 5px solid transparent;
border-left: 5px solid rgb(192, 196, 204);
border-top: 5px solid transparent;
margin-right: 5px;
}
.ztree li span.button.center_open{
width: 0px !important;
height: 0px !important;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgb(192, 196, 204);
}
.ztree li span.button.center_close{
width: 0px !important;
height: 0px !important;
border-bottom: 5px solid transparent;
border-left: 5px solid rgb(192, 196, 204);
border-top: 5px solid transparent;
margin-right: 5px;
}
.ztree li span.button.bottom_open{
width: 0px !important;
height: 0px !important;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid rgb(192, 196, 204);
}
.ztree li span.button.bottom_close{
width: 0px !important;
height: 0px !important;
border-bottom: 5px solid transparent;
border-left: 5px solid rgb(192, 196, 204);
border-top: 5px solid transparent;
margin-right: 5px;
}
.ztree li a.curSelectedNode {
border: 1px solid transparent !important;
color: #2d8cf0;
background: transparent;
}
.ztree li ul.line {
background: transparent;
}
.ico_open {
width: 2px !important;
}
.ico_close {
width: 2px !important;
}
.ztree li span.button.chk {width:13px; height:13px; margin:0 3px 0 0; cursor: auto}
.ztree li span.button.chk.checkbox_false_full {background-position:0 0}
.ztree li span.button.chk.checkbox_false_full_focus {background-position:0 -14px}
@@ -61,7 +61,7 @@
label="类别"
align="center">
<template slot-scope="scope">
<a @click="oldPreview(scope.row)" class="table-jump">{{ scope.row.oldStandNum }}</a>
<a class="table-jump" @click.stop="oldPreview(scope.row)">{{ scope.row.oldStandNum }}</a>
</template>
</el-table-column>
@@ -158,7 +158,8 @@ export default {
readFlag: '',
validFlag: '',
modifyTime: '',
creationTime: ''
creationTime: '',
oldStandName: '',
},
// 收藏标准
personCollect: {
@@ -291,15 +292,25 @@ export default {
window.open(routeUrl.href, '_blank')
},
oldPreview (item) {
let routeUrl = this.$router.resolve({
sessionStorage.setItem('accessRow', JSON.stringify(item))
this.$store.commit('setDetailMap', this.$route.path)
this.$router.push({
name: 'categoryDetails',
params: {
id: item.id,
pageType: 'INLAND_STAND'
id: item.id
}
})
window.open(routeUrl.href, '_blank')
},
// oldPreview (item) {
// let routeUrl = this.$router.resolve({
// name: 'categoryDetails',
// params: {
// id: item.id,
// pageType: 'INLAND_STAND'
// }
// })
// window.open(routeUrl.href, '_self')
// },
// handlePreview (params) {
// if (params.compareType === '条款比对') {
// this.$store.commit('setDetailMap', this.$route.path)
@@ -548,10 +559,10 @@ export default {
}
::v-deep .el-drawer__header{
&>span:first-child{
outline: none!important;
outline:0 !important;
}
}
::v-deep .el-drawer{
outline: none!important;
outline:0 !important;
}
</style>
@@ -1,11 +1,11 @@
<!--管理征求意见详情-->
<template>
<div class="consultationDetails">
<div class="consultationDetails v-class">
<div class="contentTitle">
<div class="back" title="返回" @click="back">
<i class="el-icon-back"></i>
</div>
<div class="title">管理征求意见<i class="el-icon-s-order" @click="heightShow = !heightShow"></i></div>
<div class="title">{{ personShareEO.oldStandName }}<i class="el-icon-s-order" @click="heightShow = !heightShow"></i></div>
</div>
<transition name="el-zoom-in-top">
<div v-show="heightShow" class="transition-box">
@@ -32,37 +32,42 @@
<div class="container" style="position:relative;">
<div style="position: absolute;top: 0;left: 0;bottom: 0;right: 0;">
<el-table
:data="standinfoList"
height="100%"
border
style="width: 100%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
:data="standinfoList"
height="100%"
border
style="width: 100%"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}">
<el-table-column
type="selection"
width="55"
align="center">
type="selection"
width="55"
align="center">
</el-table-column>
<el-table-column
prop="date"
label="章节编号"
width="180">
prop="date"
label="章节编号"
width="180">
</el-table-column>
<el-table-column
prop="name"
label="修改意见内容(包括理由或依据)"
prop="name"
label="修改意见内容(包括理由或依据)"
>
</el-table-column>
<el-table-column
prop="department"
label="提出部门"
width="300"
prop="department"
label="提出部门"
width="300"
>
</el-table-column>
<el-table-column
prop="proposer"
label="提出人"
width="170"
width="170">
</el-table-column>
<el-table-column
prop="proposer"
label="提出人"
width="170"
>
</el-table-column>
@@ -71,11 +76,11 @@
</div>
<div>
<pagination
style="position: static;"
:page="newModelPageConfig.page"
:total="newModelPageConfig.total"
@pageChange="page => handlePageChange('newModel', page)"
@pageSizeChange="pageSize => handlePageSizeChange('newModel', pageSize)"></pagination>
style="position: static;"
:page="newModelPageConfig.page"
:total="newModelPageConfig.total"
@pageChange="page => handlePageChange('newModel', page)"
@pageSizeChange="pageSize => handlePageSizeChange('newModel', pageSize)"></pagination>
</div>
<!--导出文件改名字模态框-->
<el-dialog :visible.sync="exportModelFlag" class="export-dialog" title="导出文件" width="300px">
@@ -107,6 +112,7 @@ export default {
uploadTime: '2002-11-23',
opinionCycle: '2001-02-21到 2012-02-02'
},
personShareEO:{},
opinionContent: {
number:'',
content: '',
@@ -192,7 +198,7 @@ export default {
<style lang="less" scoped>
@import '~@/assets/styles/mixins';
@import '~@/assets/styles/style';
.consultationDetails {
.consultationDetails{
height: 100%;
display: flex;
flex-direction: column;
@@ -226,7 +232,7 @@ export default {
line-height: 35px;
.transition-box-label{
display: inline-block;
width: 100px;
width: 80px;
vertical-align: top;
}
.transition-box-span{
@@ -268,14 +274,10 @@ export default {
}
}
}
.effect {
margin-left: 10px;
}
.container {
height: calc(~'100% - 52px - 55px - 50px');
//height: calc(~'100% - 52px - 55px - 50px');
flex: auto;
display: flex;
margin:10px;
flex-direction: column;
.el-tabs{
height: 100%;
@@ -297,13 +299,57 @@ export default {
}
}
}
.add-demo {
.search-area {
height: 100%;
/deep/.relateClass{
& > button{
height: 30px;
line-height: 30px;
font-size: 14px;
padding: 0 10px;
font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important;
}
::v-deep .el-textarea__inner {
width: 1000px;
& i{
display: inline-block;
margin-right: 3px;
width: 18px;
height: 18px;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center center;
vertical-align: text-bottom;
}
.relation-btn{
color: #409EFF;
border: 1px solid #409EFF;
background: rgba(64, 158, 255, 0.1);
.icon-relation{
background-image: url("~assets/images/shangqi/standardDetails/relation.png");
}
}
}
.iconClass{
width: 18px;
height: 18px;
}
.iconClassDia{
width: 30px;
height: 30px;
}
.picBorder{
border: 1px solid #409eff;
}
.add-border{
/*width: 80px;*/
height: 80px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer
}
}
.relateClass{
.el-dialog__body {
max-height: 460px;
overflow-y: auto;
}
}
</style>
+4 -3
View File
@@ -2410,15 +2410,16 @@ const routes = [
}
},
{
path: '/categoryDetails/:id/:pageType',
path: '/categoryDetails/:id',
name: 'categoryDetails',
component: () =>
import('@/pages/regulatoryRepository/standardForComments/pags/categoryDetails'),
meta: {
requireAuth: true,
parentPath: '/standardForComments',
title: '管理征求意见',
isBoolean: true,
menuId: ''
// isBoolean: true,
// menuId: ''
}
},
{