Merge branch 'projects/mescc/develop' into projects/mescc/zhp
This commit is contained in:
commit
83b9867c2a
@ -30,7 +30,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 图 -->
|
<!-- 图 -->
|
||||||
<div>
|
<div>
|
||||||
<div style="display: inline-block; width: 79%; vertical-align: top">
|
<div
|
||||||
|
style="
|
||||||
|
display: inline-block;
|
||||||
|
width: 79%;
|
||||||
|
vertical-align: top;
|
||||||
|
padding-right: 20px;
|
||||||
|
"
|
||||||
|
>
|
||||||
<base-chart
|
<base-chart
|
||||||
v-show="this.chartMsg1.series[0].data.length > 0"
|
v-show="this.chartMsg1.series[0].data.length > 0"
|
||||||
:chartHeight="chartHeight"
|
:chartHeight="chartHeight"
|
||||||
|
@ -71,7 +71,7 @@ export default {
|
|||||||
"<br/>" +
|
"<br/>" +
|
||||||
`${
|
`${
|
||||||
params[i].seriesType === "line"
|
params[i].seriesType === "line"
|
||||||
? '<img width="10" height="10" style="margin-right:4px;" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTIuNzIxNjM5NXB4IiBoZWlnaHQ9IjhweCIgdmlld0JveD0iMCAwIDEyLjcyMTYzOTUgOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDx0aXRsZT7nvJbnu4QgNjwvdGl0bGU+CiAgICA8ZyBpZD0iMDTmiqXooajnrqHnkIYiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLmjIfmoIflrozmiJDmg4XlhrUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDUxLjYzOTE4MCwgLTQyNS4wM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ZCIIiBmaWxsPSIjRkZDRTZBIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+" />'
|
? '<img width="11" height="11" style="margin-right:4px;" src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTIuNzIxNjM5NXB4IiBoZWlnaHQ9IjhweCIgdmlld0JveD0iMCAwIDEyLjcyMTYzOTUgOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDx0aXRsZT7nvJbnu4QgNjwvdGl0bGU+CiAgICA8ZyBpZD0iMDTmiqXooajnrqHnkIYiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLmjIfmoIflrozmiJDmg4XlhrUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDUxLjYzOTE4MCwgLTQyNS4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC025aSH5Lu9LTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMjEuNTAwMDAwLCAzNDQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI5LjUwMDAwMCwgNzguMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjE0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTcuMTM5MTgwMjYsMyBDOS4wMDMxMDczNywzIDEwLjU2OTI2NzMsNC4yNzQ4OTI3MiAxMS4wMTMyMjU0LDYuMDAwMjQzNDcgTDEyLjM2MDgxOTcsNiBDMTIuOTEzMTA0NSw2IDEzLjM2MDgxOTcsNi40NDc3MTUyNSAxMy4zNjA4MTk3LDcgQzEzLjM2MDgxOTcsNy41NTIyODQ3NSAxMi45MTMxMDQ1LDggMTIuMzYwODE5Nyw4IEwxMS4wMTI5NjY3LDguMDAwNzYxMzQgQzEwLjU2ODY1OTIsOS43MjU2MDIyNCA5LjAwMjc0NTUxLDExIDcuMTM5MTgwMjYsMTEgQzUuMjc1NjE1MDEsMTEgMy43MDk3MDEzMSw5LjcyNTYwMjI0IDMuMjY1MzkzNzgsOC4wMDA3NjEzNCBMMS42MzkxODAyNiw4IEMxLjA4Njg5NTUxLDggMC42MzkxODAyNTgsNy41NTIyODQ3NSAwLjYzOTE4MDI1OCw3IEMwLjYzOTE4MDI1OCw2LjQ0NzcxNTI1IDEuMDg2ODk1NTEsNiAxLjYzOTE4MDI2LDYgTDMuMjY1MTM1MDksNi4wMDAyNDM0NyBDMy43MDkwOTMyLDQuMjc0ODkyNzIgNS4yNzUyNTMxNSwzIDcuMTM5MTgwMjYsMyBaIiBpZD0i5b2i54q257uT5ZCIIiBmaWxsPSIjRkZDRTZBIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+" />'
|
||||||
: `<span style="display:inline-block;margin-right:4px;border-radius:2px;width:10px;height:10px;background-color:${params[i].color}"></span>`
|
: `<span style="display:inline-block;margin-right:4px;border-radius:2px;width:10px;height:10px;background-color:${params[i].color}"></span>`
|
||||||
}` +
|
}` +
|
||||||
`<span style='display:inline-block;width:180px;color:rgba(0,0,0,0.8);font-size:14px;'>${params[i].seriesName}</span>` +
|
`<span style='display:inline-block;width:180px;color:rgba(0,0,0,0.8);font-size:14px;'>${params[i].seriesName}</span>` +
|
||||||
|
@ -137,7 +137,7 @@
|
|||||||
|
|
||||||
<!-- 添加或修改菜单对话框 -->
|
<!-- 添加或修改菜单对话框 -->
|
||||||
<base-dialog :dialogTitle="title" :dialogVisible="open" width="50%">
|
<base-dialog :dialogTitle="title" :dialogVisible="open" width="50%">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="上级菜单">
|
<el-form-item label="上级菜单">
|
||||||
@ -205,6 +205,7 @@
|
|||||||
v-model="form.sort"
|
v-model="form.sort"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
:min="0"
|
:min="0"
|
||||||
|
style="width: 100%"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -331,8 +332,8 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</base-dialog>
|
</base-dialog>
|
||||||
</div>
|
</div>
|
||||||
@ -437,6 +438,12 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
tableBtn: [
|
tableBtn: [
|
||||||
|
this.$auth.hasPermi("system:menu:create")
|
||||||
|
? {
|
||||||
|
type: "add",
|
||||||
|
btnName: "新增",
|
||||||
|
}
|
||||||
|
: undefined,
|
||||||
this.$auth.hasPermi("system:menu:update")
|
this.$auth.hasPermi("system:menu:update")
|
||||||
? {
|
? {
|
||||||
type: "edit",
|
type: "edit",
|
||||||
@ -449,12 +456,6 @@ export default {
|
|||||||
btnName: "删除",
|
btnName: "删除",
|
||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
this.$auth.hasPermi("system:menu:create")
|
|
||||||
? {
|
|
||||||
type: "add",
|
|
||||||
btnName: "新增",
|
|
||||||
}
|
|
||||||
: undefined,
|
|
||||||
].filter((v) => v),
|
].filter((v) => v),
|
||||||
tableProps,
|
tableProps,
|
||||||
heightNum: 210,
|
heightNum: 210,
|
||||||
|
@ -83,7 +83,7 @@
|
|||||||
{{ parseTime(form.startTime) }} | {{ form.duration }} ms
|
{{ parseTime(form.startTime) }} | {{ form.duration }} ms
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="24">
|
||||||
<el-form-item label="操作结果:">
|
<el-form-item label="操作结果:">
|
||||||
<div v-if="form.resultCode === 0">
|
<div v-if="form.resultCode === 0">
|
||||||
正常 | {{ form.resultData }}
|
正常 | {{ form.resultData }}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="user-container">
|
||||||
<!-- <doc-alert title="用户体系" url="https://doc.iocoder.cn/user-center/" />
|
<!-- <doc-alert title="用户体系" url="https://doc.iocoder.cn/user-center/" />
|
||||||
<doc-alert title="三方登陆" url="https://doc.iocoder.cn/social-user/" />
|
<doc-alert title="三方登陆" url="https://doc.iocoder.cn/social-user/" />
|
||||||
<doc-alert
|
<doc-alert
|
||||||
@ -8,9 +8,10 @@
|
|||||||
/> -->
|
/> -->
|
||||||
<!-- 搜索工作栏 -->
|
<!-- 搜索工作栏 -->
|
||||||
|
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="8" class="user-box">
|
||||||
<!--部门数据-->
|
<!--部门数据-->
|
||||||
<el-col :span="4" :xs="24">
|
<el-col :span="4" :xs="24">
|
||||||
|
<div class="user-box-left">
|
||||||
<div class="head-container">
|
<div class="head-container">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="deptName"
|
v-model="deptName"
|
||||||
@ -33,12 +34,14 @@
|
|||||||
@node-click="handleNodeClick"
|
@node-click="handleNodeClick"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!--用户数据-->
|
<!--用户数据-->
|
||||||
<el-col :span="20" :xs="24">
|
<el-col :span="20" :xs="24">
|
||||||
|
<div class="user-box-right">
|
||||||
<search-bar
|
<search-bar
|
||||||
:formConfigs="formConfig"
|
:formConfigs="formConfig"
|
||||||
ref="searchBarForm"
|
ref="userSearchBarForm"
|
||||||
@headBtnClick="buttonClick"
|
@headBtnClick="buttonClick"
|
||||||
/>
|
/>
|
||||||
<!-- <el-form
|
<!-- <el-form
|
||||||
@ -294,12 +297,13 @@
|
|||||||
:total="total"
|
:total="total"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<!-- 添加或修改参数配置对话框 -->
|
<!-- 添加或修改参数配置对话框 -->
|
||||||
<base-dialog :dialogTitle="title" :dialogVisible="open" width="50%">
|
<base-dialog :dialogTitle="title" :dialogVisible="open" width="50%">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="用户昵称" prop="nickname">
|
<el-form-item label="用户昵称" prop="nickname">
|
||||||
@ -412,8 +416,8 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</base-dialog>
|
</base-dialog>
|
||||||
|
|
||||||
@ -448,7 +452,7 @@
|
|||||||
:underline="false"
|
:underline="false"
|
||||||
style="font-size: 12px; vertical-align: baseline"
|
style="font-size: 12px; vertical-align: baseline"
|
||||||
@click="importTemplate"
|
@click="importTemplate"
|
||||||
>下载模板</el-link
|
>导出模板</el-link
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
@ -606,6 +610,11 @@ export default {
|
|||||||
name: "search",
|
name: "search",
|
||||||
color: "primary",
|
color: "primary",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "button",
|
||||||
|
btnName: "重置",
|
||||||
|
name: "cancel",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: this.$auth.hasPermiOr([
|
type: this.$auth.hasPermiOr([
|
||||||
"system:user:create",
|
"system:user:create",
|
||||||
@ -615,18 +624,11 @@ export default {
|
|||||||
? "separate"
|
? "separate"
|
||||||
: "",
|
: "",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: this.$auth.hasPermi("system:user:create") ? "button" : "",
|
|
||||||
btnName: "新增",
|
|
||||||
name: "addNew",
|
|
||||||
color: "success",
|
|
||||||
plain: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: this.$auth.hasPermi("system:user:import") ? "button" : "",
|
type: this.$auth.hasPermi("system:user:import") ? "button" : "",
|
||||||
btnName: "导入",
|
btnName: "导入",
|
||||||
name: "import",
|
name: "import",
|
||||||
color: "warning",
|
color: "primary",
|
||||||
plain: true,
|
plain: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -636,20 +638,15 @@ export default {
|
|||||||
color: "primary",
|
color: "primary",
|
||||||
plain: true,
|
plain: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: this.$auth.hasPermi("system:user:create") ? "button" : "",
|
||||||
|
btnName: "新增",
|
||||||
|
name: "addNew",
|
||||||
|
color: "success",
|
||||||
|
plain: true,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
tableBtn: [
|
tableBtn: [
|
||||||
this.$auth.hasPermi("system:user:update")
|
|
||||||
? {
|
|
||||||
type: "edit",
|
|
||||||
btnName: "修改",
|
|
||||||
}
|
|
||||||
: undefined,
|
|
||||||
this.$auth.hasPermi("system:user:delete")
|
|
||||||
? {
|
|
||||||
type: "delete",
|
|
||||||
btnName: "删除",
|
|
||||||
}
|
|
||||||
: undefined,
|
|
||||||
this.$auth.hasPermi("system:user:update-password")
|
this.$auth.hasPermi("system:user:update-password")
|
||||||
? {
|
? {
|
||||||
type: "reset",
|
type: "reset",
|
||||||
@ -662,6 +659,18 @@ export default {
|
|||||||
btnName: "分配角色",
|
btnName: "分配角色",
|
||||||
}
|
}
|
||||||
: undefined,
|
: undefined,
|
||||||
|
this.$auth.hasPermi("system:user:update")
|
||||||
|
? {
|
||||||
|
type: "edit",
|
||||||
|
btnName: "修改",
|
||||||
|
}
|
||||||
|
: undefined,
|
||||||
|
this.$auth.hasPermi("system:user:delete")
|
||||||
|
? {
|
||||||
|
type: "delete",
|
||||||
|
btnName: "删除",
|
||||||
|
}
|
||||||
|
: undefined,
|
||||||
].filter((v) => v),
|
].filter((v) => v),
|
||||||
tableProps,
|
tableProps,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
@ -803,6 +812,15 @@ export default {
|
|||||||
case "search":
|
case "search":
|
||||||
this.handleQuery(val);
|
this.handleQuery(val);
|
||||||
break;
|
break;
|
||||||
|
case "cancel":
|
||||||
|
this.$refs["userSearchBarForm"].resetForm();
|
||||||
|
this.queryParams.pageNo = 1;
|
||||||
|
this.queryParams.username = "";
|
||||||
|
this.queryParams.mobile = "";
|
||||||
|
this.queryParams.status = "";
|
||||||
|
this.queryParams.createTime = [];
|
||||||
|
this.getList();
|
||||||
|
break;
|
||||||
case "addNew":
|
case "addNew":
|
||||||
this.handleAdd();
|
this.handleAdd();
|
||||||
break;
|
break;
|
||||||
@ -1033,7 +1051,7 @@ export default {
|
|||||||
this.upload.title = "用户导入";
|
this.upload.title = "用户导入";
|
||||||
this.upload.open = true;
|
this.upload.open = true;
|
||||||
},
|
},
|
||||||
/** 下载模板操作 */
|
/** 导出模板操作 */
|
||||||
importTemplate() {
|
importTemplate() {
|
||||||
importTemplate().then((response) => {
|
importTemplate().then((response) => {
|
||||||
this.$download.excel(response, "用户导入模板.xls");
|
this.$download.excel(response, "用户导入模板.xls");
|
||||||
@ -1090,11 +1108,19 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.app-container {
|
.user-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 120px - 8px);
|
height: calc(100vh - 120px - 8px);
|
||||||
|
background-color: #f2f4f9;
|
||||||
|
|
||||||
|
.user-box {
|
||||||
|
.user-box-left,
|
||||||
|
.user-box-right {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-radius: 8px;
|
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
border-radius: 8px;
|
||||||
|
height: calc(100vh - 128px);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user