0d80b7e5 by renchao@pashanhoo.com

style:统计样式修改

2 parents e3551b47 4e621960
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-03-27 14:20:03
*/
import Vue from 'vue'
import router from "./router";
import store from "./store";
......
// .dialogCon {
// background: #031A46;
// -webkit-box-shadow: inset 0px 0px 12px 0px #02d9fd;
// box-shadow: inset 0px 0px 12px 0px #02d9fd;
// border-radius: 0px 2px 2px 2px;
// border: 1px solid #6BC1FC;
// padding: 15px;
// }
......
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
// @import './element-ui.scss';
/* CSS 初始化 */
html,
......@@ -430,16 +431,6 @@ aside {
border-radius: 16px;
color: #B06974;
}
// 弹框中间区域样式
.dialogCon {
background: #031A46;
box-shadow: inset 0px 0px 12px 0px #02D9FD;
border-radius: 0px 2px 2px 2px;
border: 1px solid #6BC1FC;
padding: 15px;
}
// 通过 入库 样式
.adopt,
.success {
......@@ -518,4 +509,4 @@ aside {
@font-face {
font-family: AliBold;
src: url('../image/font/Alibaba_PuHuiTi_2.0_55_Regular_85_Bold.ttf')
}
\ No newline at end of file
}
......
......@@ -535,8 +535,12 @@ table td {
// 提示框
.el-message-box {
background-color: #031a46;
border: 1px solid #5f82c7;
background: #031A46;
-webkit-box-shadow: inset 0px 0px 12px 0px #02d9fd;
box-shadow: inset 0px 0px 12px 0px #02d9fd;
border-radius: 0px 2px 2px 2px;
border: 1px solid #6BC1FC;
padding: 15px;
.el-message-box__title {
color: white;
......
......@@ -243,49 +243,6 @@
text-align: right;
}
// 修改弹框样式
.modifydialog {
.el-dialog__header {
text-align: center;
margin-bottom: 10px;
.el-dialog__title {
color: white;
}
}
.el-form-item__label {
color: white;
}
.el-input__inner {
background-color: #07388b;
}
.el-input__inner {
background: #07388b;
border-radius: 2px;
border: 1px solid #6bc1fc;
}
.el-textarea__inner {
background: #07388b;
color: #fff;
}
.el-form-item__label {
color: #fff;
}
.el-dialog__header {
text-align: center;
margin-bottom: 10px;
.el-dialog__title {
color: white;
}
}
}
// 角色管理人员菜单配置弹框样式
.roleconfiguration {
......@@ -1015,6 +972,39 @@
// 人员管理角色管理菜单管理修改新增弹框样式
.PersonnelDialog {
.el-dialog__header {
text-align: center;
margin-bottom: 10px;
.el-dialog__title {
color: white;
}
}
.el-form-item__label {
color: white;
}
.el-input__inner {
background-color: #07388b;
}
.el-input__inner {
background: #07388b;
border-radius: 2px;
border: 1px solid #6bc1fc;
}
.el-textarea__inner {
background: #07388b;
color: #fff;
}
.el-form-item__label {
color: #fff;
}
.el-dialog__header {
.dialog_title {
display: -webkit-box;
......@@ -1044,4 +1034,72 @@
.selbig {
width: 500px;
}
}
\ No newline at end of file
}
// 弹框中间区域样式
.dialogCon {
background: #031A46;
box-shadow: inset 0px 0px 12px 0px #02D9FD;
border-radius: 0px 2px 2px 2px;
border: 1px solid #6BC1FC;
padding: 15px;
}
// 修改密码界面样式
.informationpassword {
margin: 36px 200px;
overflow-y: auto;
.form-wrapper {
padding: 24px 120px 0px;
.el-form-item {
margin-bottom: 24px;
.el-form-item__label {
color: #ffffff;
}
.el-input .el-input__inner {
padding: 0 8px;
height: 40px;
line-height: 40px;
border: 1px solid #6bc1fc;
}
}
}
.bottom-wrapper {
padding: 32px 120px 24px;
text-align: center;
}
}
// 修改基本信息界面样式
.informationbase {
margin: 0.1875rem 1.0417rem;
overflow-y: auto;
.form-wrapper {
padding: 0px 120px 0px;
.el-form-item {
/deep/.el-form-item__label {
color: #ffffff;
}
::v-deep .el-input .el-input__inner {
padding: 0 8px;
height: 40px;
line-height: 40px;
border: 1px solid #6bc1fc;
}
}
.el-form-item--small.el-form-item {
margin-bottom: 16px;
}
}
.bottom-wrapper {
padding: 0px 120px 0px;
text-align: center;
}
}
......
......@@ -42,136 +42,136 @@
</template>
<script>
import sjsbTask from '@/api/sjsbTask.js'
export default {
props: {
value: { type: Boolean, default: false },
taskData: {
type: Object,
default: null
}
},
data () {
return {
myValue: this.value,
ruleForm: {
jobName: '',
cronExpression: '',
beanName: '',
methodName: '',
methodParams: '',
remark: ''
},
rules: {
jobName: [
{ required: true, message: '任务名', trigger: 'blur' }
],
cronExpression: [
{ required: true, message: 'cron表达式', trigger: 'blur' }
],
beanName: [
{ required: true, message: '任务类名', trigger: 'blur' }
],
methodName: [
{ required: true, message: '任务方法名', trigger: 'blur' }
]
},
message: ''
}
},
methods: {
handleSubmit () {
let _this = this
this.$refs['ruleForm'].validate(async (valid) => {
if (valid) {
if (!_this.taskData) {
try {
let res = await sjsbTask.sjsbTaskSave(_this.ruleForm)
if (res.code == 200) {
_this.loading = false
_this.$message({
message: res.message,
type: 'success'
})
_this.handleClose()
_this.$parent.featchData()
}
} catch (error) {
_this.message = error
_this.$refs.msg.messageShow()
}
} else {
try {
let res = await sjsbTask.updateCron(_this.ruleForm)
if (res.code == 200) {
_this.$message({
message: res.message,
type: 'success'
})
_this.handleClose()
_this.$parent.featchData()
}
} catch (error) {
_this.message = error
_this.$refs.msg.messageShow()
}
}
} else {
this.$message('请检查表单完整性')
return false;
}
})
},
handleClose () {
this.$emit("input", false);
}
},
watch: {
value (val) {
this.myValue = val
import sjsbTask from '@/api/sjsbTask.js'
export default {
props: {
value: { type: Boolean, default: false },
taskData: {
type: Object,
default: null
}
},
taskData (val) {
if (val != null) {
this.ruleForm = val
} else {
this.ruleForm = {
data () {
return {
myValue: this.value,
ruleForm: {
jobName: '',
cronExpression: '',
beanName: '',
methodName: '',
methodParams: '',
remark: ''
},
rules: {
jobName: [
{ required: true, message: '任务名', trigger: 'blur' }
],
cronExpression: [
{ required: true, message: 'cron表达式', trigger: 'blur' }
],
beanName: [
{ required: true, message: '任务类名', trigger: 'blur' }
],
methodName: [
{ required: true, message: '任务方法名', trigger: 'blur' }
]
},
message: ''
}
},
methods: {
handleSubmit () {
let _this = this
this.$refs['ruleForm'].validate(async (valid) => {
if (valid) {
if (!_this.taskData) {
try {
let res = await sjsbTask.sjsbTaskSave(_this.ruleForm)
if (res.code == 200) {
_this.loading = false
_this.$message({
message: res.message,
type: 'success'
})
_this.handleClose()
_this.$parent.featchData()
}
} catch (error) {
_this.message = error
_this.$refs.msg.messageShow()
}
} else {
try {
let res = await sjsbTask.updateCron(_this.ruleForm)
if (res.code == 200) {
_this.$message({
message: res.message,
type: 'success'
})
_this.handleClose()
_this.$parent.featchData()
}
} catch (error) {
_this.message = error
_this.$refs.msg.messageShow()
}
}
} else {
this.$message('请检查表单完整性')
return false;
}
})
},
handleClose () {
this.$emit("input", false);
}
},
watch: {
value (val) {
this.myValue = val
},
taskData (val) {
if (val != null) {
this.ruleForm = val
} else {
this.ruleForm = {
jobName: '',
cronExpression: '',
beanName: '',
methodName: '',
methodParams: '',
remark: ''
}
}
}
}
}
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
/deep/.dialogBox .dialog_title {
margin-left: 5px !important;
}
// /deep/.dialogBox .dialog_title {
// margin-left: 5px !important;
// }
/deep/.el-dialog__headerbtn {
margin-top: -12px;
}
// /deep/.el-dialog__headerbtn {
// margin-top: -12px;
// }
.editDialogBox-box {
margin: 14px 18px 30px 18px !important
}
// .editDialogBox-box {
// margin: 14px 18px 30px 18px !important
// }
/deep/.el-form-item__label {
color: #fff;
}
// /deep/.el-form-item__label {
// color: #fff;
// }
/deep/.el-form-item {
color: #fff;
margin-bottom: 10px;
}
// /deep/.el-form-item {
// color: #fff;
// margin-bottom: 10px;
// }
/deep/ .el-input__inner {
background-color: transparent;
border: 1px solid #458ACF;
}
// /deep/ .el-input__inner {
// background-color: transparent;
// border: 1px solid #458ACF;
// }
</style>
......
......@@ -6,7 +6,7 @@
<el-form-item v-if="BASE_API.THEME == 'jg'">
<Breadcrumb />
</el-form-item>
<el-row :gutter="20">
<el-row :gutter="20" class="mb-5">
<el-col :span="6">
<el-form-item label="字典类型编码">
<el-input v-model="ruleForm.dcode" @clear="queryClick" clearable placeholder="字典类型编码"></el-input>
......@@ -36,101 +36,101 @@
</div>
</template>
<script>
import table from "@/utils/mixin/table"
import { getQlxxDictList, refreshDictCache } from "@/api/dict.js"
import { datas, sendThis } from "./dictionaries"
import editDialog from "./components/editDialog.vue"
export default {
name: "djbcx",
components: {
editDialog
},
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
data () {
return {
isDialog: false,
details: {
dictid: '',
isenable: 1,
rowData: {}
},
ruleForm: {
dcode: '',
dname: ''
},
tableData: {
total: 0,
columns: datas.columns().concat([
{
label: "操作",
render: (h, scope) => {
return (
<el-button type="text"
class='successColor'
onClick={() => { this.editClick(scope.row, 1) }}>修改</el-button>
)
}
}
]),
data: []
}
}
},
methods: {
// 初始化数据
queryClick () {
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
})
import table from "@/utils/mixin/table"
import { getQlxxDictList, refreshDictCache } from "@/api/dict.js"
import { datas, sendThis } from "./dictionaries"
import editDialog from "./components/editDialog.vue"
export default {
name: "djbcx",
components: {
editDialog
},
handleSearch () {
this.pageData.currentPage = 1
this.tableData.data = []
mixins: [table],
mounted () {
sendThis(this);
this.queryClick()
},
handleRefresh () {
this.$confirm('是否确认刷新', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
refreshDictCache().then(res => {
if (res.code == 200) {
let refech = this.$store.dispatch('dict/generateDic')
this.$endLoading()
refech && this.$message({
message: '刷新成功',
type: 'success'
});
} else {
this.$message.error(res.message)
}
data () {
return {
isDialog: false,
details: {
dictid: '',
isenable: 1,
rowData: {}
},
ruleForm: {
dcode: '',
dname: ''
},
tableData: {
total: 0,
columns: datas.columns().concat([
{
label: "操作",
render: (h, scope) => {
return (
<el-button type="text"
class='successColor'
onClick={() => { this.editClick(scope.row, 1) }}>修改</el-button>
)
}
}
]),
data: []
}
}
},
methods: {
// 初始化数据
queryClick () {
getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => {
let { records, total } = res.result
this.tableData.data = records ? records : []
this.tableData.total = total ? total : 0
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消刷新'
},
handleSearch () {
this.pageData.currentPage = 1
this.tableData.data = []
this.queryClick()
},
handleRefresh () {
this.$confirm('是否确认刷新', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
refreshDictCache().then(res => {
if (res.code == 200) {
let refech = this.$store.dispatch('dict/generateDic')
this.$endLoading()
refech && this.$message({
message: '刷新成功',
type: 'success'
});
} else {
this.$message.error(res.message)
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消刷新'
});
});
});
},
editClick (row, val) {
this.details.rowData = row
this.details.isenable = val
this.details.dictid = row.dictid
this.isDialog = true
},
editClick (row, val) {
this.details.rowData = row
this.details.isenable = val
this.details.dictid = row.dictid
this.isDialog = true
}
}
}
};
};
</script>
<style scoped lang="scss">
/deep/.dialogBox .dialog_title {
top: 0;
margin-left: 5px;
}
/deep/.dialogBox .dialog_title {
top: 0;
margin-left: 5px;
}
</style>
......
<template>
<div class="content">
<div class="user-info">
<div class="informationbase">
<el-form
ref="form"
label-width="100px"
......@@ -38,7 +37,6 @@
<btn nativeType="cx" type="primary" @click="updateInfo">更新信息</btn>
</div>
</div>
</div>
</template>
<script>
......
<!--
* @Author: xiaomiao 1158771342@qq.com
* @Date: 2023-03-09 20:54:28
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-03-27 09:13:22
* @LastEditors: xiaomiao 1158771342@qq.com
* @LastEditTime: 2023-03-27 14:26:49
* @FilePath: \上报\bdcjg-web\src\views\system\information\index.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -10,7 +10,7 @@
<div class="information from-clues">
<div class="from-clues-header">
<el-form ref="ruleForm" label-width="100px">
<el-form-item v-if="BASE_API.THEME == 'jg'">
<el-form-item v-if="BASE_API.THEME=='jg'">
<Breadcrumb />
</el-form-item>
<el-row class="mb-5">
......@@ -34,64 +34,38 @@
</div>
</template>
<script>
import "@/utils/flexible.js";
import BaseSet from "./base-set.vue";
import PasswordEdit from "./password-edit.vue";
export default {
components: {
BaseSet,
PasswordEdit,
},
data () {
return {
isshow: true,
};
},
computed: {
userData () {
return this.$store.state.user.userInfo;
import "@/utils/flexible.js";
import BaseSet from "./base-set.vue";
import PasswordEdit from "./password-edit.vue";
export default {
components: {
BaseSet,
PasswordEdit,
},
},
watch: {},
created () { },
mounted () { },
methods: {
information () {
this.isshow = true;
data () {
return {
isshow: true,
};
},
password () {
this.isshow = false;
computed: {
userData () {
return this.$store.state.user.userInfo;
},
},
},
};
watch: {},
created () { },
mounted () { },
methods: {
information () {
this.isshow = true;
},
password () {
this.isshow = false;
},
},
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
.information {
display: flex;
flex-direction: column;
.btnColRight {
margin-top: 10px;
display: flex;
justify-content: center;
// background-color: cadetblue;
height: 30px;
}
/deep/.content {
.el-input__inner {
background: none;
}
.user-info {
background: none;
}
}
.boxin {
flex: 1;
}
}</style>
</style>
......
<template>
<div class="content">
<div class="user-info">
<el-form
ref="form"
label-width="100px"
:model="form"
class="form-wrapper"
:rules="rules">
<el-form-item label="旧密码:" prop="oldPassword">
<el-input
v-model="form.oldPassword"
clearable
type="password"
show-password />
</el-form-item>
<el-form-item label="新密码:" prop="newPassword">
<el-input
v-model="form.newPassword"
clearable
type="password"
show-password />
</el-form-item>
<el-form-item label="确认密码:" prop="confirmPassword">
<el-input
v-model="form.confirmPassword"
clearable
type="password"
show-password />
</el-form-item>
</el-form>
<div class="bottom-wrapper">
<btn nativeType="cx" type="primary" @click="updatePassword">确认修改</btn>
</div>
<div class="informationpassword">
<el-form
ref="form"
label-width="100px"
:model="form"
class="form-wrapper"
:rules="rules">
<el-form-item label="旧密码:" prop="oldPassword">
<el-input
v-model="form.oldPassword"
clearable
type="password"
show-password />
</el-form-item>
<el-form-item label="新密码:" prop="newPassword">
<el-input
v-model="form.newPassword"
clearable
type="password"
show-password />
</el-form-item>
<el-form-item label="确认密码:" prop="confirmPassword">
<el-input
v-model="form.confirmPassword"
clearable
type="password"
show-password />
</el-form-item>
</el-form>
<div class="bottom-wrapper">
<btn nativeType="cx" type="primary" @click="updatePassword">确认修改</btn>
</div>
</div>
</template>
......@@ -110,27 +108,4 @@
</script>
<style scoped lang="scss">
.user-info {
margin: 36px 200px;
overflow-y: auto;
.form-wrapper {
padding: 24px 120px 0px;
/deep/.el-form-item {
margin-bottom: 24px;
.el-form-item__label {
color: #ffffff;
}
.el-input .el-input__inner {
padding: 0 8px;
height: 40px;
line-height: 40px;
border: 1px solid #6bc1fc;
}
}
}
.bottom-wrapper {
padding: 32px 120px 24px;
text-align: center;
}
}
</style>
......
<template>
<dialogBox class="modifydialog PersonnelDialog" :isMain="true" width="40%" :title="title" @closeDialog="close" @submitForm="submitForm"
<dialogBox class="PersonnelDialog" :isMain="true" width="40%" :title="title" @closeDialog="close" @submitForm="submitForm"
v-model="myValue">
<div class="dialogCon">
<el-form ref="form" :model="form" :rules="rules">
......@@ -236,35 +236,4 @@
}
</script>
<style scoped lang="scss">
// .modifydialog {
// &-con {
// background: #031a46;
// }
// /deep/.el-dialog__header {
// .dialog_title {
// display: -webkit-box;
// display: -ms-flexbox;
// display: flex;
// position: relative;
// top: -8px;
// width: 28%;
// height: 40px;
// margin-left: 28px;
// -webkit-box-pack: center;
// -ms-flex-pack: center;
// justify-content: center;
// white-space: nowrap;
// b {
// font-size: 16px;
// }
// }
// .el-dialog__headerbtn {
// right: 20px !important;
// top: 23px !important;
// }
// }
// }
</style>
......
......@@ -2,7 +2,7 @@
<div class="timedTask from-clues">
<div class="from-clues-header">
<el-form ref="ruleForm" :model="form" label-width="100px">
<el-form-item v-if="BASE_API.THEME == 'jg'">
<el-form-item v-if="BASE_API.THEME=='jg'">
<Breadcrumb />
</el-form-item>
<el-row class="mb-5">
......
<!-- 新增 & 修改角色 -->
<template>
<dialogBox
class="modifydialog PersonnelDialog"
class="PersonnelDialog"
:title="title"
:width="'567px'"
:isMain="true"
......
......@@ -2,7 +2,7 @@
<div class="timedTask from-clues">
<div class="from-clues-header">
<el-form ref="ruleForm" :model="form" label-width="100px">
<el-form-item v-if="BASE_API.THEME == 'jg'">
<el-form-item v-if="BASE_API.THEME=='jg'">
<Breadcrumb />
</el-form-item>
<el-row class="mb-5">
......
......@@ -412,6 +412,7 @@
};
</script>
<style scoped lang="scss">
// @import "~@/styles/mixin.scss";
// @import "~@/styles/dialogBox.scss";
/deep/.dialogBox .el-dialog__header {
height: 59px !important;
}
</style>
......
<template>
<dialogBox :title="title" :width="'867px'" class="modifydialog PersonnelDialog" @closeDialog="close" :isMain="true" @submitForm="submitForm"
<dialogBox :title="title" :width="'867px'" class="PersonnelDialog" @closeDialog="close" :isMain="true" @submitForm="submitForm"
v-model="myValue">
<div class="dialogCon">
<el-form ref="form" :model="form" :rules="rules">
......
<template>
<div class="timedTask from-clues">
<div class="from-clues-header">
<el-form ref="ruleForm" :model="form" label-width="80px">
<el-form-item v-if="BASE_API.THEME == 'jg'">
<el-form ref="ruleForm" :model="form" label-width="100px">
<el-form-item v-if="BASE_API.THEME=='jg'">
<Breadcrumb />
</el-form-item>
<el-row class="mt-10">
<el-row class="mb-5">
<el-col :span="4">
<el-form-item label="用户名" prop="loginName">
<el-input v-model.trim="form.loginName" class="width100" clearable placeholder="用户名"></el-input>
......@@ -408,5 +408,5 @@ export default {
};
</script>
<style scoped lang="scss">
@import "~@/styles/mixin.scss";
@import "~@/styles/mixin.scss";
</style>
......
......@@ -2,7 +2,7 @@
<div class="dictionary-config from-clues">
<div class="from-clues-header">
<el-form ref="form" :model="form" label-width="90px">
<el-form-item>
<el-form-item v-if="BASE_API.THEME=='jg'">
<Breadcrumb />
</el-form-item>
<el-row>
......