站点的修改
This commit is contained in:
@ -1,9 +1,10 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
// 专家审核列表
|
// 专家审核列表
|
||||||
export function getCache() {
|
export function expertList(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/monitor/cache',
|
url: '/admin/v1/manage/expert',
|
||||||
method: 'get',
|
method: 'post',
|
||||||
|
data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-cascader
|
<el-cascader
|
||||||
size="small"
|
:size="size"
|
||||||
style="width: 240px"
|
:style="{ width: limitWidth ? '240px' : '100%' }"
|
||||||
v-model="tenant_id"
|
v-model="tenant_id"
|
||||||
clearable
|
clearable
|
||||||
separator="-"
|
separator="-"
|
||||||
@ -16,6 +16,14 @@ import { tenantSelect } from "@/api/subPlatform/tenant";
|
|||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
value: String,
|
value: String,
|
||||||
|
size: {
|
||||||
|
type: String,
|
||||||
|
default: "small",
|
||||||
|
},
|
||||||
|
limitWidth: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -24,12 +32,15 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(newVal, oldVal) {
|
value: {
|
||||||
if (newVal == "") {
|
handler(newVal, oldVal) {
|
||||||
this.tenant_id = undefined;
|
if (newVal == "") {
|
||||||
} else {
|
this.tenant_id = undefined;
|
||||||
this.tenant_id = newVal;
|
} else {
|
||||||
}
|
this.tenant_id = newVal;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
immediate: true,
|
||||||
},
|
},
|
||||||
tenant_id(newVal, oldVal) {
|
tenant_id(newVal, oldVal) {
|
||||||
this.$emit("handleChange", newVal);
|
this.$emit("handleChange", newVal);
|
||||||
|
@ -20,7 +20,7 @@ import './permission' // permission control
|
|||||||
import { getDicts } from '@/api/system/dict/data'
|
import { getDicts } from '@/api/system/dict/data'
|
||||||
import { getConfigKey } from '@/api/system/config'
|
import { getConfigKey } from '@/api/system/config'
|
||||||
import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from '@/utils/ruoyi'
|
import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from '@/utils/ruoyi'
|
||||||
import { modeOptions } from '@/utils/parameter'
|
import { modeOptions, educationOptions } from '@/utils/parameter'
|
||||||
// 分页组件
|
// 分页组件
|
||||||
import Pagination from '@/components/Pagination'
|
import Pagination from '@/components/Pagination'
|
||||||
// 自定义表格工具组件
|
// 自定义表格工具组件
|
||||||
@ -54,6 +54,7 @@ Vue.prototype.download = download
|
|||||||
Vue.prototype.handleTree = handleTree
|
Vue.prototype.handleTree = handleTree
|
||||||
Vue.prototype.md5 = md5
|
Vue.prototype.md5 = md5
|
||||||
Vue.prototype.modeOptions = modeOptions
|
Vue.prototype.modeOptions = modeOptions
|
||||||
|
Vue.prototype.educationOptions = educationOptions
|
||||||
|
|
||||||
// 全局组件挂载
|
// 全局组件挂载
|
||||||
Vue.component('DictTag', DictTag)
|
Vue.component('DictTag', DictTag)
|
||||||
|
@ -17,3 +17,13 @@ export const modeOptions = [
|
|||||||
label: '科研院所服务',
|
label: '科研院所服务',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
// 学历
|
||||||
|
export const educationOptions = [
|
||||||
|
{ key: 1, text: '小学' },
|
||||||
|
{ key: 2, text: '初中' },
|
||||||
|
{ key: 3, text: '高中' },
|
||||||
|
{ key: 4, text: '大专' },
|
||||||
|
{ key: 5, text: '本科' },
|
||||||
|
{ key: 6, text: '研究生' },
|
||||||
|
{ key: 7, text: '博士' },
|
||||||
|
]
|
||||||
|
Reference in New Issue
Block a user