This commit is contained in:
qsh
2024-11-11 15:19:53 +08:00
parent af84640a4b
commit 9cdfa01d33
4 changed files with 16 additions and 2 deletions

View File

@@ -4,8 +4,8 @@ VITE_NODE_ENV=development
VITE_DEV=true VITE_DEV=true
# 请求路径 # 请求路径
# VITE_BASE_URL='http://118.31.23.45:48080' VITE_BASE_URL='http://118.31.23.45:48080'
VITE_BASE_URL='http://114.55.169.15:48080' # VITE_BASE_URL='http://114.55.169.15:48080'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload' VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload'

View File

@@ -9,6 +9,18 @@
:label="col.label" :label="col.label"
:width="col.width" :width="col.width"
/> />
<el-table-column label="状态" key="status">
<template #default="scope">
<el-switch
v-model="scope.row.status"
:active-value="0"
active-text="在职"
inactive-text="离职"
:inactive-value="1"
disabled
/>
</template>
</el-table-column>
</el-table> </el-table>
<Pagination <Pagination
v-model:limit="pageSize" v-model:limit="pageSize"

View File

@@ -19,6 +19,7 @@
:props="defaultProps" :props="defaultProps"
check-strictly check-strictly
clearable clearable
filterable
node-key="sourceId" node-key="sourceId"
placeholder="请选择渠道" placeholder="请选择渠道"
@change="sourceChange" @change="sourceChange"

View File

@@ -22,6 +22,7 @@
:props="defaultProps" :props="defaultProps"
check-strictly check-strictly
clearable clearable
filterable
node-key="sourceId" node-key="sourceId"
placeholder="请选择渠道" placeholder="请选择渠道"
/> />