Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
+10
-10
@@ -27,9 +27,9 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="logo">
|
<!-- <div class="logo">-->
|
||||||
<img :src="logo" />
|
<!-- <img :src="logo" />-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
<!-- <com-header></com-header>-->
|
<!-- <com-header></com-header>-->
|
||||||
<div class="container-box">
|
<div class="container-box">
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (userInfoModifyTimeInLocalStorage === null) {
|
if (userInfoModifyTimeInLocalStorage === null && webLoginType === 'idm') {
|
||||||
this.$store.dispatch('syncStorageData')
|
this.$store.dispatch('syncStorageData')
|
||||||
|
|
||||||
const currentPage = this.$route.name
|
const currentPage = this.$route.name
|
||||||
@@ -206,7 +206,7 @@
|
|||||||
});
|
});
|
||||||
this.messageForLogin && this.messageForLogin.close()
|
this.messageForLogin && this.messageForLogin.close()
|
||||||
this.messageForLogin = this.$message({
|
this.messageForLogin = this.$message({
|
||||||
message: `用户已退出,${this.currentMinute}秒后将跳转到登录页面`,
|
message: `用户已退出,${this.currentMinute}秒后将跳转到登录1页面`,
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -216,14 +216,14 @@
|
|||||||
clearInterval(this.intervalForLogin)
|
clearInterval(this.intervalForLogin)
|
||||||
this.loading.close()
|
this.loading.close()
|
||||||
|
|
||||||
this.$router.push('/login')
|
this.$router.push('/login')
|
||||||
console.log('切换到登录页面', currentPage)
|
console.log('切换到登录页面', currentPage)
|
||||||
}
|
}
|
||||||
this.currentMinute--
|
this.currentMinute--
|
||||||
this.messageForLogin.message = `用户已退出,${this.currentMinute}秒后将跳转到登录页面`
|
this.messageForLogin.message = `用户已退出,${this.currentMinute}秒后将跳转到登录页面`
|
||||||
}, 1000)
|
}, 0)
|
||||||
|
|
||||||
} else if (userInfoModifyTime !== userInfoModifyTimeInLocalStorage) {
|
} else if (userInfoModifyTime !== userInfoModifyTimeInLocalStorage && webLoginType === 'idm') {
|
||||||
this.$store.dispatch('syncStorageData')
|
this.$store.dispatch('syncStorageData')
|
||||||
|
|
||||||
console.log('用户信息已更改,同步数据')
|
console.log('用户信息已更改,同步数据')
|
||||||
@@ -308,7 +308,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
.container-box {
|
.container-box {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: calc(~'100% - 50px');
|
height: calc(~'100% - 65px');
|
||||||
//flex: 1;
|
//flex: 1;
|
||||||
background: #F4F4F4;
|
background: #F4F4F4;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|||||||
@@ -58,6 +58,14 @@ _axios.interceptors.request.use(
|
|||||||
*/
|
*/
|
||||||
_axios.interceptors.response.use(
|
_axios.interceptors.response.use(
|
||||||
res => {
|
res => {
|
||||||
|
// IE 8-9
|
||||||
|
if (res.data == null && res.config.responseType === 'json' && res.request.responseText != null) {
|
||||||
|
try {
|
||||||
|
res.data = JSON.parse(res.request.responseText);
|
||||||
|
} catch (e) {
|
||||||
|
// ignored
|
||||||
|
}
|
||||||
|
}
|
||||||
if(res.data && res.data.respCode && res.data.respCode === 'LE505'){
|
if(res.data && res.data.respCode && res.data.respCode === 'LE505'){
|
||||||
window.sessionStorage.clear()
|
window.sessionStorage.clear()
|
||||||
messageOnce.warning({
|
messageOnce.warning({
|
||||||
|
|||||||
@@ -53,6 +53,14 @@ service.interceptors.request.use(
|
|||||||
*/
|
*/
|
||||||
service.interceptors.response.use(
|
service.interceptors.response.use(
|
||||||
res => {
|
res => {
|
||||||
|
// IE 8-9
|
||||||
|
if (res.data == null && res.config.responseType === 'json' && res.request.responseText != null) {
|
||||||
|
try {
|
||||||
|
res.data = JSON.parse(res.request.responseText);
|
||||||
|
} catch (e) {
|
||||||
|
// ignored
|
||||||
|
}
|
||||||
|
}
|
||||||
if(res.data && res.data.respCode != undefined && res.data.respCode === 'LE505'){
|
if(res.data && res.data.respCode != undefined && res.data.respCode === 'LE505'){
|
||||||
window.sessionStorage.clear()
|
window.sessionStorage.clear()
|
||||||
messageOnce.warning({
|
messageOnce.warning({
|
||||||
|
|||||||
@@ -175,10 +175,10 @@
|
|||||||
path: '/nonConfomity',
|
path: '/nonConfomity',
|
||||||
menuId: '0119abd677e0204e061eb0f0b8cafda0'
|
menuId: '0119abd677e0204e061eb0f0b8cafda0'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: '工作组',
|
// title: '工作组',
|
||||||
path: '/workingGroup',
|
// path: '/workingGroup',
|
||||||
},
|
// },
|
||||||
// {
|
// {
|
||||||
// title: '备案产品标准库',
|
// title: '备案产品标准库',
|
||||||
// path: '/enterpriseStandardFiling',
|
// path: '/enterpriseStandardFiling',
|
||||||
@@ -465,7 +465,9 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
logo () {
|
logo () {
|
||||||
return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo5.png')
|
// background: url("~@/assets/images/shangqi/home/logo2.png") no-repeat;
|
||||||
|
// return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo5.png')
|
||||||
|
return this.isCollapse ? require('assets/images/shangqi/img/logo4.png') : require('assets/images/shangqi/img/logo2.png')
|
||||||
},
|
},
|
||||||
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
...mapGetters(['getDynamicTotal', 'isCollapse'])
|
||||||
},
|
},
|
||||||
@@ -510,8 +512,9 @@
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
img {
|
img {
|
||||||
width: 115px;
|
width: 160px;
|
||||||
height: 40px;
|
height: 61px;
|
||||||
|
margin-top: -7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -107,7 +107,6 @@ export default {
|
|||||||
.header-left {
|
.header-left {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
//width: 50%;
|
//width: 50%;
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 160px;
|
width: 160px;
|
||||||
@@ -119,9 +118,10 @@ export default {
|
|||||||
}
|
}
|
||||||
.header-center{
|
.header-center{
|
||||||
width: 70%;
|
width: 70%;
|
||||||
|
margin-left: 60px;
|
||||||
}
|
}
|
||||||
.header-right {
|
.header-right {
|
||||||
//width: 49%;
|
width: 49%;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
line-height: 61px;
|
line-height: 61px;
|
||||||
height: 61px;
|
height: 61px;
|
||||||
|
|||||||
@@ -3,19 +3,34 @@
|
|||||||
<div id="mechanism-manage" :class="{ 'tree-close': sideClose }" class="v-class">
|
<div id="mechanism-manage" :class="{ 'tree-close': sideClose }" class="v-class">
|
||||||
<div class="tree-content" :class="{ 'tree-closed': sideClose }">
|
<div class="tree-content" :class="{ 'tree-closed': sideClose }">
|
||||||
<div class="tree">
|
<div class="tree">
|
||||||
|
<!-- @keyup.enter.native="searchPeople"-->
|
||||||
<el-input
|
<el-input
|
||||||
class="filter-tree-input"
|
class="filter-tree-input"
|
||||||
placeholder="输入关键字进行过滤"
|
placeholder="输入关键字进行过滤"
|
||||||
v-model="filterText">
|
v-model="filterText">
|
||||||
</el-input>
|
</el-input>
|
||||||
|
<!-- <el-tree-->
|
||||||
|
<!-- node-key="id"-->
|
||||||
|
<!-- :data="treeData"-->
|
||||||
|
<!-- :props="defaultProps"-->
|
||||||
|
<!-- :default-checked-keys="nodeList"-->
|
||||||
|
<!-- :current-node-key="nodeKeyId"-->
|
||||||
|
<!-- highlight-current-->
|
||||||
|
<!-- check-strictly-->
|
||||||
|
<!-- :expand-on-click-node="false"-->
|
||||||
|
<!-- ref="tree"-->
|
||||||
|
<!-- :load="loadNode"-->
|
||||||
|
<!-- @node-click="handleNodeClick"-->
|
||||||
|
<!-- lazy>-->
|
||||||
|
<!-- </el-tree>-->
|
||||||
<el-tree
|
<el-tree
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
:props="defaultProps"
|
:props="defaultProps"
|
||||||
default-expand-all
|
|
||||||
:current-node-key="nodeKeyId"
|
:current-node-key="nodeKeyId"
|
||||||
node-key="id"
|
node-key="id"
|
||||||
:filter-node-method="filterNode"
|
:filter-node-method="filterNode"
|
||||||
highlight-current
|
highlight-current
|
||||||
|
default-expand-all
|
||||||
ref="tree"
|
ref="tree"
|
||||||
:expand-on-click-node="false"
|
:expand-on-click-node="false"
|
||||||
@node-click="handleNodeClick">
|
@node-click="handleNodeClick">
|
||||||
@@ -275,7 +290,6 @@ export default {
|
|||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.$message.success('配置岗位成功')
|
this.$message.success('配置岗位成功')
|
||||||
|
|
||||||
this.modalPost = false
|
this.modalPost = false
|
||||||
this.getData()
|
this.getData()
|
||||||
}
|
}
|
||||||
@@ -351,6 +365,41 @@ export default {
|
|||||||
this.id = data.id
|
this.id = data.id
|
||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
|
// searchPeople(){
|
||||||
|
// console.log(this.filterText);
|
||||||
|
// },
|
||||||
|
// loadNode(node, resolve) {
|
||||||
|
// if (node.level === 0) {
|
||||||
|
// return resolve(this.treeData);
|
||||||
|
// }
|
||||||
|
// this.getChildren(node, resolve)
|
||||||
|
// },
|
||||||
|
// getChildren (node, resolve) {
|
||||||
|
// this.id = node.key
|
||||||
|
// this.getData()
|
||||||
|
// this.$http.get('SarInstitution/institution/getNext', {
|
||||||
|
// institutionId: node.key
|
||||||
|
// }, {}, res => {
|
||||||
|
// let people = [];
|
||||||
|
// res.forEach(item => {
|
||||||
|
// if(item.disabled === true){
|
||||||
|
// people.push(item)
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
// resolve(people)
|
||||||
|
// })
|
||||||
|
// },
|
||||||
|
// getTree() {
|
||||||
|
// this.$http.get('SarInstitution/institution/getFirstInstitution', {}, {
|
||||||
|
// _this: this,
|
||||||
|
// loading: 'treeLoading'
|
||||||
|
// }, res => {
|
||||||
|
// this.treeData = res
|
||||||
|
// this.nodeKeyId = this.treeData[0].id
|
||||||
|
// this.treeLoading = false
|
||||||
|
// }, e => {
|
||||||
|
// })
|
||||||
|
// },
|
||||||
getTree() {
|
getTree() {
|
||||||
this.$http.get('SarInstitution/institution', {}, {
|
this.$http.get('SarInstitution/institution', {}, {
|
||||||
_this: this,
|
_this: this,
|
||||||
@@ -379,7 +428,6 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'Loading'
|
loading: 'Loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res.data)
|
|
||||||
res.data.records.forEach((item) => {
|
res.data.records.forEach((item) => {
|
||||||
let NameList = ''
|
let NameList = ''
|
||||||
item.positions.forEach((items) => {
|
item.positions.forEach((items) => {
|
||||||
|
|||||||
@@ -124,8 +124,8 @@
|
|||||||
:key="fileIndex"
|
:key="fileIndex"
|
||||||
>
|
>
|
||||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download" v-btn-permission="'0a0d0d1956ab6ca62a8efd6a1ff536ad'"/>
|
<i title="下载" @click="downloadFile(file.id)" class="icon-download" v-btn-permission="'9882f477aad895ec56a7464f3e9c0b11'"/>
|
||||||
<i title="下载带水印" @click="downloadFileByWater(file.id, file.fileSuffix)" class="icon-download2" v-btn-permission="'bfed56ba55181d154bfb4cd1cfbca806'"/>
|
<i title="下载带水印" @click="downloadFileByWater(file.id, file.fileSuffix)" class="icon-download2" v-btn-permission="'9bab2662fbd9d0507b39be813371a597'"/>
|
||||||
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
<span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>
|
||||||
</p>
|
</p>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.getDate()
|
this.getDate()
|
||||||
this.getAdvice()
|
this.getAdvice()
|
||||||
this.addDate()
|
// this.addDate()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 点击查看
|
// 点击查看
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.getDate()
|
this.getDate()
|
||||||
this.getAdvice()
|
this.getAdvice()
|
||||||
this.addDate()
|
// this.addDate()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// 点击查看
|
// 点击查看
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
list: [],
|
list: [],
|
||||||
tabValue: "listProject",
|
tabValue: "listProject",
|
||||||
menuName: ["国家/地区清单", "项目类清单", "其他清单", "重点标准跟踪清单"]
|
menuName: ["国家/地区清单", "车型类别清单", "其他清单", "项目清单"]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {},
|
methods: {},
|
||||||
@@ -49,7 +49,7 @@ export default {
|
|||||||
var list = [];
|
var list = [];
|
||||||
const menuList = this.$store.getters.getMenuList;
|
const menuList = this.$store.getters.getMenuList;
|
||||||
let menuData = [];
|
let menuData = [];
|
||||||
let menuID = ["b05b562950cb6d0aef539fad30b7386a", "63e05705d0c8013162caa34f9fe52865", "418123d180abf67bd2c46d5a694baaa5", "5a75523729b04102a565167004d640e9"];
|
let menuID = ["b05b562950cb6d0aef539fad30b7386a", "63e05705d0c8013162caa34f9fe52865", "a1170d77f4332e5f45ce520e63b00e15", "5a75523729b04102a565167004d640e9"];
|
||||||
this.menuName.forEach(item => {
|
this.menuName.forEach(item => {
|
||||||
for (let i = 0; i < menuList.length; i++) {
|
for (let i = 0; i < menuList.length; i++) {
|
||||||
let entity = menuList[i];
|
let entity = menuList[i];
|
||||||
@@ -74,7 +74,7 @@ export default {
|
|||||||
name: "listOther"
|
name: "listOther"
|
||||||
});
|
});
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else if (entity.id === "a1170d77f4332e5f45ce520e63b00e15") {
|
||||||
list.push({
|
list.push({
|
||||||
label: "项目清单",
|
label: "项目清单",
|
||||||
name: "localProductsOrProjectLibrary"
|
name: "localProductsOrProjectLibrary"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="small"
|
size="small"
|
||||||
v-btn-permission="'d1b1bffb39a67dea0d452a8ba4e3ae35'"
|
v-btn-permission="'b1ac4fb12eeb08c525b018ef839dbd40'"
|
||||||
@click="getLocalProductTableBtn">查询
|
@click="getLocalProductTableBtn">查询
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
size="small"
|
size="small"
|
||||||
v-btn-permission="'10e3fdd2d816d64022f2928cd65b9bb1'"
|
v-btn-permission="'7238d3ca40d709ba6b089c9aaa560760'"
|
||||||
@click="clearAllSearch">清空
|
@click="clearAllSearch">清空
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
v-btn-permission="'e5ca15122f554414e6365eb09efac5c4'"
|
v-btn-permission="'11a6fc355f457eff8ad70278224a2f3b'"
|
||||||
@click="selectMoreBtn"
|
@click="selectMoreBtn"
|
||||||
><i class="iconfont"></i>高级查询
|
><i class="iconfont"></i>高级查询
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -195,11 +195,11 @@
|
|||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'633e82816590af9027dc2fddc562d046'">
|
<el-dropdown-item :command="[scope.row, '查看']" v-btn-permission="'881cfa2f3c898e0954d90ee7d521ed70'">
|
||||||
查看
|
查看
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
<!-- // 权限id 91ed4c216c019e869aad04baf7bc7db4-->
|
<!-- // 权限id -->
|
||||||
<el-dropdown-item :command="[scope.row, '发起确认流程']" v-btn-permission="''">
|
<el-dropdown-item :command="[scope.row, '发起确认流程']" v-btn-permission="'dd87f572b6c807b6982fa071fcbe0d41'">
|
||||||
发起确认流程
|
发起确认流程
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
class="common-button-default export-button"
|
class="common-button-default export-button"
|
||||||
size="mini" @click="exportStandard"
|
size="mini" @click="exportStandard"
|
||||||
v-btn-permission="''"
|
v-btn-permission="'b46217ac825d49933b0f7349ba924ea7'"
|
||||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||||
icon="export"
|
icon="export"
|
||||||
>导出
|
>导出
|
||||||
|
|||||||
@@ -41,12 +41,13 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
size="mini"
|
size="mini"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
|
v-btn-permission="'0514cd2c6b0e6311a7632f8bef87aecb'"
|
||||||
@click="sarStandCompareHisInfo">查询
|
@click="sarStandCompareHisInfo">查询
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
size="mini"
|
size="mini"
|
||||||
|
v-btn-permission="'bb7386429dabf20b8006e03efacc0673'"
|
||||||
@click="clearSearchStand">清空
|
@click="clearSearchStand">清空
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-formItem>
|
</el-formItem>
|
||||||
|
|||||||
@@ -2634,7 +2634,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.header{
|
.header{
|
||||||
height: 50px;
|
//height: 50px;
|
||||||
.home-header{
|
.home-header{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user