新功能: 加入消息中心

pull/69/head
猿小天 2022-08-14 19:41:29 +08:00
parent ef2025f157
commit 4fafc63710
6 changed files with 10 additions and 12 deletions

View File

@ -20,8 +20,8 @@ export default {
currentValue: '' currentValue: ''
} }
}, },
watch:{ watch: {
value(nv,ov){ value (nv, ov) {
const { row } = this.$parent.scope const { row } = this.$parent.scope
const valueBinding = this.$parent.valueBinding const valueBinding = this.$parent.valueBinding
this.setValue(row[valueBinding]) this.setValue(row[valueBinding])

View File

@ -398,15 +398,15 @@ Vue.prototype.commonEndColumns = function (param = {}) {
key: 'is_deleted', key: 'is_deleted',
width: 160, width: 160,
search: { search: {
disabled: !showData.is_deleted.showForm, disabled: !showData.is_deleted.showForm
}, },
show: showData.is_deleted.showTable, show: showData.is_deleted.showTable,
type: 'radio', type: 'radio',
dict:{ dict: {
data:[{label:"",value:true},{label:"",value:false}] data: [{ label: '', value: true }, { label: '', value: false }]
}, },
form: { form: {
disabled: !showData.is_deleted.showForm, disabled: !showData.is_deleted.showForm
} }
} }

View File

@ -1,12 +1,10 @@
import util from '@/libs/util'
/** /**
* 对请求参数进行过滤 * 对请求参数进行过滤
*@param that=>this *@param that=>this
*@param array:其他字段数组 *@param array:其他字段数组
*/ */
const filterParams = function (that, array) { const filterParams = function (that, array) {
that.$nextTick(()=>{ that.$nextTick(() => {
const arr = that.crud.columns const arr = that.crud.columns
const columnKeys = arr.map(item => { const columnKeys = arr.map(item => {
return item.key return item.key

View File

@ -32,7 +32,7 @@ import 'vxe-table/lib/style.css'
// md5加密 // md5加密
import md5 from 'js-md5' import md5 from 'js-md5'
//websocket // websocket
import websocket from '@/api/websocket' import websocket from '@/api/websocket'
// 核心插件 // 核心插件

View File

@ -14,7 +14,7 @@ export function GetList (query) {
return request({ return request({
url: urlPrefix, url: urlPrefix,
method: 'get', method: 'get',
params: {...query} params: { ...query }
}) })
} }

View File

@ -3,7 +3,7 @@ import { urlPrefix as deptPrefix } from '../dept/api'
import util from '@/libs/util' import util from '@/libs/util'
export const crudOptions = (vm) => { export const crudOptions = (vm) => {
util.filterParams(vm, ['dept_name','role_info{name}']) util.filterParams(vm, ['dept_name', 'role_info{name}'])
return { return {
pageOptions: { pageOptions: {
compact: true compact: true