新功能: 加入消息中心

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: ''
}
},
watch:{
value(nv,ov){
watch: {
value (nv, ov) {
const { row } = this.$parent.scope
const valueBinding = this.$parent.valueBinding
this.setValue(row[valueBinding])

View File

@ -398,15 +398,15 @@ Vue.prototype.commonEndColumns = function (param = {}) {
key: 'is_deleted',
width: 160,
search: {
disabled: !showData.is_deleted.showForm,
disabled: !showData.is_deleted.showForm
},
show: showData.is_deleted.showTable,
type: 'radio',
dict:{
data:[{label:"",value:true},{label:"",value:false}]
dict: {
data: [{ label: '', value: true }, { label: '', value: false }]
},
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 array:其他字段数组
*/
const filterParams = function (that, array) {
that.$nextTick(()=>{
that.$nextTick(() => {
const arr = that.crud.columns
const columnKeys = arr.map(item => {
return item.key

View File

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

View File

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

View File

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