Commit 2de22615 authored by zhangyichen's avatar zhangyichen

修改

parent e582b960
......@@ -17,14 +17,6 @@ export function getConfig(configId) {
})
}
// 根据参数键名查询参数值
export function getConfigKey(configKey) {
return request({
// url: '/system/config/configKey/' + configKey,
method: 'get'
})
}
// 新增参数配置
export function addConfig(data) {
return request({
......
......@@ -29,7 +29,6 @@ import '@/permission' // permission control
// mockXHR()
import { includePermission } from '@/utils/common'
import { getDicts } from '@/api/system/dict/data'
import { getConfigKey } from '@/api/system/config'
import { parseTime, resetForm, addDateRange, selectDictLabel, download, handleTree, addDateRangeMothon, addDateLoginMothon } from '@/utils/common'
import Pagination from '@/components/Pagination'
import { uploadPublic } from '@/api/fileUploadPublic'
......@@ -47,7 +46,6 @@ Viewer.setDefaults({
// 全局方法挂载
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
Vue.prototype.parseTime = parseTime
Vue.prototype.resetForm = resetForm
Vue.prototype.addDateRange = addDateRange
......
......@@ -451,8 +451,6 @@ export default {
open: false,
// 部门名称
deptName: undefined,
// 默认密码
initPassword: undefined,
importLoading: false,
// // 时间范围
// dateRange: ['', ''],
......@@ -591,9 +589,6 @@ export default {
created() {
this.getList()
this.getTreeSelect()
this.getConfigKey('sys.user.initPassword').then(response => {
this.initPassword = response.msg
})
},
methods: {
changeValue() {
......
......@@ -451,8 +451,6 @@ export default {
open: false,
// 部门名称
deptName: undefined,
// 默认密码
initPassword: undefined,
importLoading: false,
// // 时间范围
// dateRange: ['', ''],
......@@ -591,9 +589,6 @@ export default {
created() {
this.getList()
this.getTreeSelect()
this.getConfigKey('sys.user.initPassword').then(response => {
this.initPassword = response.msg
})
},
methods: {
changeValue() {
......
......@@ -451,8 +451,6 @@ export default {
open: false,
// 部门名称
deptName: undefined,
// 默认密码
initPassword: undefined,
importLoading: false,
// // 时间范围
// dateRange: ['', ''],
......@@ -591,9 +589,6 @@ export default {
created() {
this.getList()
this.getTreeSelect()
this.getConfigKey('sys.user.initPassword').then(response => {
this.initPassword = response.msg
})
},
methods: {
changeValue() {
......
......@@ -451,8 +451,6 @@ export default {
open: false,
// 部门名称
deptName: undefined,
// 默认密码
initPassword: undefined,
importLoading: false,
// // 时间范围
// dateRange: ['', ''],
......@@ -591,9 +589,6 @@ export default {
created() {
this.getList()
this.getTreeSelect()
this.getConfigKey('sys.user.initPassword').then(response => {
this.initPassword = response.msg
})
},
methods: {
changeValue() {
......
......@@ -451,8 +451,6 @@ export default {
open: false,
// 部门名称
deptName: undefined,
// 默认密码
initPassword: undefined,
importLoading: false,
// // 时间范围
// dateRange: ['', ''],
......@@ -591,9 +589,6 @@ export default {
created() {
this.getList()
this.getTreeSelect()
this.getConfigKey('sys.user.initPassword').then(response => {
this.initPassword = response.msg
})
},
methods: {
changeValue() {
......
......@@ -84,7 +84,6 @@
</template>-->
<template slot-scope="scope">
<el-button
v-hasPermi="['sys:menu:update']"
size="mini"
type="text"
style="color: #49cec9"
......@@ -92,7 +91,6 @@
>修改</el-button>
<el-switch
v-model="scope.row.flag"
v-hasPermi="['sys:menu:toggle']"
active-value="1"
inactive-value="0"
@change="handleStatusChange(scope.row)"
......@@ -104,7 +102,6 @@
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>
<el-button
v-hasPermi="['sys:menu:delete']"
size="mini"
type="text"
@click="handleDelete(scope.row)"
......@@ -112,7 +109,6 @@
</el-dropdown-item>
<el-dropdown-item>
<el-button
v-hasPermi="['sys:menu:add']"
size="mini"
type="text"
@click="handleAdd(scope.row)"
......
......@@ -51,8 +51,9 @@
<!-- icon="el-icon-plus"-->
<!-- @click="handleFormAdd"-->
<!-- >表单页新增模板</el-button>-->
<!-- v-hasPermi="['sys:user:add']"-->
<el-button
v-hasPermi="['sys:user:add']"
style="padding: 8px 7px;"
type="primary"
size="small"
......@@ -460,8 +461,6 @@ export default {
open: false,
// 部门名称
deptName: undefined,
// 默认密码
initPassword: undefined,
importLoading: false,
// // 时间范围
// dateRange: ['', ''],
......@@ -615,9 +614,6 @@ export default {
}
this.getList()
this.getTreeSelect()
this.getConfigKey('sys.user.initPassword').then(response => {
this.initPassword = response.msg
})
},
methods: {
changeValue() {
......
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