ccc
This commit is contained in:
parent
fce1e1b5f4
commit
0865d6a84c
16
.vscode/launch.json
vendored
16
.vscode/launch.json
vendored
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
// 使用 IntelliSense 了解相关属性。
|
|
||||||
// 悬停以查看现有属性的描述。
|
|
||||||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
|
|
||||||
{
|
|
||||||
"type": "node-terminal",
|
|
||||||
"name": "运行脚本: dev",
|
|
||||||
"request": "launch",
|
|
||||||
"command": "npm run dev",
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"workbench.colorCustomizations": {
|
|
||||||
"activityBar.background": "#46260E",
|
|
||||||
"titleBar.activeBackground": "#613514",
|
|
||||||
"titleBar.activeForeground": "#FDF9F6"
|
|
||||||
}
|
|
||||||
}
|
|
@ -11,7 +11,7 @@ type TAxiosOption = {
|
|||||||
//记得修改上传路径/api/common/upload
|
//记得修改上传路径/api/common/upload
|
||||||
const baseURL = 'http://yfyd.hschool.com.cn' // 设置基础URL前缀
|
const baseURL = 'http://yfyd.hschool.com.cn' // 设置基础URL前缀
|
||||||
//const baseURL="http://127.0.0.1";
|
//const baseURL="http://127.0.0.1";
|
||||||
|
|
||||||
// 导出baseURL,使其可以在其他页面使用
|
// 导出baseURL,使其可以在其他页面使用
|
||||||
export { baseURL };
|
export { baseURL };
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<!-- </lay-col>-->
|
<!-- </lay-col>-->
|
||||||
<lay-col :md="5">
|
<lay-col :md="5">
|
||||||
<lay-form-item label-width="20">
|
<lay-form-item label-width="20">
|
||||||
<lay-button style="margin-left: 20px" type="normal" size="sm" @click="toSearch">
|
<lay-button style="margin-left: 20px" type="primary" size="sm" @click="toSearch">
|
||||||
查询
|
查询
|
||||||
</lay-button>
|
</lay-button>
|
||||||
<lay-button size="sm" @click="toReset"> 重置</lay-button>
|
<lay-button size="sm" @click="toReset"> 重置</lay-button>
|
||||||
@ -114,8 +114,8 @@
|
|||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col :md="4">
|
<lay-col :md="4">
|
||||||
<lay-form-item label-width="0">
|
<lay-form-item label-width="0">
|
||||||
<lay-button type="primary" @click="toUserSearch">查询</lay-button>
|
<lay-button type="primary" size="sm" @click="toUserSearch">查询</lay-button>
|
||||||
<lay-button @click="toReset">重置</lay-button>
|
<lay-button size="sm" @click="toReset">重置</lay-button>
|
||||||
</lay-form-item>
|
</lay-form-item>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
</lay-row>
|
</lay-row>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col :md="5">
|
<lay-col :md="5">
|
||||||
<lay-form-item label-width="20">
|
<lay-form-item label-width="20">
|
||||||
<lay-button style="margin-left: 20px" type="normal" size="sm" @click="toSearch">
|
<lay-button style="margin-left: 20px" type="primary" size="sm" @click="toSearch">
|
||||||
查询
|
查询
|
||||||
</lay-button>
|
</lay-button>
|
||||||
<lay-button size="sm" @click="toReset"> 重置</lay-button>
|
<lay-button size="sm" @click="toReset"> 重置</lay-button>
|
||||||
@ -108,8 +108,8 @@
|
|||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col :md="4">
|
<lay-col :md="4">
|
||||||
<lay-form-item label-width="0">
|
<lay-form-item label-width="0">
|
||||||
<lay-button type="primary" @click="toUserSearch">查询</lay-button>
|
<lay-button type="primary" size="sm" @click="toUserSearch">查询</lay-button>
|
||||||
<lay-button @click="toReset">重置</lay-button>
|
<lay-button size="sm" @click="toReset">重置</lay-button>
|
||||||
</lay-form-item>
|
</lay-form-item>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
</lay-row>
|
</lay-row>
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
<lay-form>
|
<lay-form>
|
||||||
<lay-row>
|
<lay-row>
|
||||||
<lay-col :md="5">
|
<lay-col :md="5">
|
||||||
<lay-form-item label="用户名" label-width="80">
|
<lay-form-item label="姓名" label-width="80">
|
||||||
<lay-input v-model="searchQuery.username" placeholder="请输入" size="sm" :allow-clear="true"
|
<lay-input v-model="searchQuery.nickname" placeholder="请输入" size="sm" :allow-clear="true"
|
||||||
style="width: 98%"></lay-input>
|
style="width: 98%"></lay-input>
|
||||||
</lay-form-item>
|
</lay-form-item>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
@ -204,6 +204,8 @@ onMounted(() => {
|
|||||||
getPartyList();
|
getPartyList();
|
||||||
getAuthList();
|
getAuthList();
|
||||||
})
|
})
|
||||||
|
const dataSource = ref([])
|
||||||
|
|
||||||
const getUserList = () => {
|
const getUserList = () => {
|
||||||
userData({group_id: leftId.value, size: page.limit, page: page.current}).then((res) => {
|
userData({group_id: leftId.value, size: page.limit, page: page.current}).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
@ -211,6 +213,7 @@ const getUserList = () => {
|
|||||||
dataSource.value = res.data.data;
|
dataSource.value = res.data.data;
|
||||||
page.total = res.data.count;
|
page.total = res.data.count;
|
||||||
} else {
|
} else {
|
||||||
|
dataSource.value = [];
|
||||||
layer.msg(res.msg, {icon: 2})
|
layer.msg(res.msg, {icon: 2})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -263,14 +266,14 @@ const data = ref([])
|
|||||||
const selectedKey = ref('')
|
const selectedKey = ref('')
|
||||||
const isFold = ref(false)
|
const isFold = ref(false)
|
||||||
const searchQuery = ref({
|
const searchQuery = ref({
|
||||||
username: '',
|
nickname: '',
|
||||||
mobile: '',
|
mobile: '',
|
||||||
gender: 0
|
gender: 0
|
||||||
})
|
})
|
||||||
|
|
||||||
function toReset() {
|
function toReset() {
|
||||||
searchQuery.value = {
|
searchQuery.value = {
|
||||||
username: '',
|
nickname: '',
|
||||||
mobile: '',
|
mobile: '',
|
||||||
gender: 0
|
gender: 0
|
||||||
}
|
}
|
||||||
@ -298,7 +301,6 @@ const columns = ref([
|
|||||||
const change = (page: any) => {
|
const change = (page: any) => {
|
||||||
|
|
||||||
}
|
}
|
||||||
const dataSource = ref([])
|
|
||||||
|
|
||||||
const model11 = reactive({
|
const model11 = reactive({
|
||||||
username: '',
|
username: '',
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col :md="5">
|
<lay-col :md="5">
|
||||||
<lay-form-item label-width="20">
|
<lay-form-item label-width="20">
|
||||||
<lay-button style="margin-left: 20px" type="normal" size="sm" @click="toSearch">
|
<lay-button style="margin-left: 20px" type="primary" size="sm" @click="toSearch">
|
||||||
查询
|
查询
|
||||||
</lay-button>
|
</lay-button>
|
||||||
<lay-button size="sm" @click="toReset"> 重置</lay-button>
|
<lay-button size="sm" @click="toReset"> 重置</lay-button>
|
||||||
@ -86,7 +86,7 @@
|
|||||||
</lay-table>
|
</lay-table>
|
||||||
</lay-container>
|
</lay-container>
|
||||||
</lay-layer>
|
</lay-layer>
|
||||||
<lay-layer v-model="userShow" title="季度自评列表" :shade="true" :area="['90%', '90%']">
|
<lay-layer v-model="userShow" title="年度自评列表" :shade="true" :area="['90%', '90%']">
|
||||||
<lay-container fluid="true" style="padding: 20px">
|
<lay-container fluid="true" style="padding: 20px">
|
||||||
<lay-row :space="10">
|
<lay-row :space="10">
|
||||||
<lay-col :md="24">
|
<lay-col :md="24">
|
||||||
@ -101,8 +101,8 @@
|
|||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col :md="4">
|
<lay-col :md="4">
|
||||||
<lay-form-item label-width="0">
|
<lay-form-item label-width="0">
|
||||||
<lay-button type="primary" @click="toUserSearch">查询</lay-button>
|
<lay-button type="primary" size="sm" @click="toUserSearch">查询</lay-button>
|
||||||
<lay-button @click="toReset">重置</lay-button>
|
<lay-button size="sm" @click="toReset">重置</lay-button>
|
||||||
</lay-form-item>
|
</lay-form-item>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
</lay-row>
|
</lay-row>
|
||||||
@ -110,9 +110,10 @@
|
|||||||
</lay-card>
|
</lay-card>
|
||||||
</lay-col>
|
</lay-col>
|
||||||
<lay-col :md="24">
|
<lay-col :md="24">
|
||||||
<lay-tab v-model="userTabId" type="brief" @change="openUserTab">
|
<lay-tab v-model="userTabId" type="button" @change="openUserTab">
|
||||||
<lay-tab-item v-for="item in tabList" :title="item.title" :id="item.id">
|
<lay-tab-item v-for="item in tabList" :title="item.title" :id="item.id"></lay-tab-item>
|
||||||
<lay-table height="400px" :default-expand-all="true" :columns="userColumns"
|
</lay-tab>
|
||||||
|
<lay-table height="400px" :default-expand-all="true" :columns="userColumns"
|
||||||
:data-source="userDataSource">
|
:data-source="userDataSource">
|
||||||
<template v-slot:operator="{ row }">
|
<template v-slot:operator="{ row }">
|
||||||
<span v-if="row.if ==2" style="color: #00A394;cursor: pointer"
|
<span v-if="row.if ==2" style="color: #00A394;cursor: pointer"
|
||||||
@ -121,9 +122,6 @@
|
|||||||
v-if="row.if ==1">未自评</span>
|
v-if="row.if ==1">未自评</span>
|
||||||
</template>
|
</template>
|
||||||
</lay-table>
|
</lay-table>
|
||||||
</lay-tab-item>
|
|
||||||
</lay-tab>
|
|
||||||
|
|
||||||
</lay-col>
|
</lay-col>
|
||||||
</lay-row>
|
</lay-row>
|
||||||
</lay-container>
|
</lay-container>
|
||||||
|
@ -20,7 +20,7 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://127.0.0.1/',
|
target: 'http://yfyd.hschool.com.cn',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/api/, '')
|
rewrite: (path) => path.replace(/^\/api/, '')
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user