Commit 00832443 by 袁成

Merge branch 'develop' of ssh://nvwa.jiuqi.com.cn:2222/GFP/RBC/rbc-frontend into develop-yuancheng

parents 75e26eff 72a6ad19
<template> <template>
<div class="login-wrapper"> <div class="login-wrapper">
<div v-if="imgLoading" class="white-loading"></div>
<img v-if="loginImageBg" :src="loginImageBg" class="login-img-bg" /> <img v-if="loginImageBg" :src="loginImageBg" class="login-img-bg" />
<div class="bg-color-class" /> <div class="bg-color-class" />
...@@ -154,14 +155,6 @@ export default { ...@@ -154,14 +155,6 @@ export default {
}, },
}, },
watch: { watch: {
imgLoading(val) {
if (val) {
this.$Spin.show()
}
else {
this.$Spin.hide()
}
}
}, },
methods: { methods: {
getImgUrl(imgCode) { getImgUrl(imgCode) {
...@@ -301,6 +294,13 @@ export default { ...@@ -301,6 +294,13 @@ export default {
background-size: cover; background-size: cover;
overflow: hidden; overflow: hidden;
position: absolute; position: absolute;
.white-loading {
position: absolute;
width: 100%;
height: 100%;
background-color: white;
z-index: 2000;
}
.login-img-bg { .login-img-bg {
width: 100%; width: 100%;
......
...@@ -103,7 +103,17 @@ let seniorQueryMixins = { ...@@ -103,7 +103,17 @@ let seniorQueryMixins = {
}, },
computed: { computed: {
flatSeniorQueryData() { flatSeniorQueryData() {
return this.copySeniorQueryData.flat() const flatten = (array) => {
var flattend = [];
(function flat(array) {
array.forEach(function(el) {
if (Array.isArray(el)) flat(el);
else flattend.push(el);
});
})(array);
return flattend;
}
return flatten(this.copySeniorQueryData)
} }
}, },
methods: { methods: {
......
<template> <template>
<div class="tableContentBody"> <div class="tableContentBody workflow-job-view-table">
<custom-table-view <custom-table-view
v-if="showTableView" v-if="showTableView"
ref='table' ref='table'
...@@ -1731,6 +1731,9 @@ export default { ...@@ -1731,6 +1731,9 @@ export default {
} }
} }
.workflow-job-view-table {
border: 1px #e8e8e8 solid !important;
}
/* /*
样式展示为三种: 样式展示为三种:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment