新增 选择职位时的重置按钮
This commit is contained in:
parent
f829df79f8
commit
eb306eab72
|
|
@ -7,8 +7,12 @@ VITE_PUBLIC_PATH = /
|
||||||
# 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
|
# 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数")
|
||||||
VITE_ROUTER_HISTORY = "hash"
|
VITE_ROUTER_HISTORY = "hash"
|
||||||
|
|
||||||
VITE_API_BASEURL = "http://192.168.2.33:5199/api"
|
# # 接口地址
|
||||||
|
# VITE_API_BASEURL = "http://192.168.2.33:5199/api"
|
||||||
|
# #数据中心后台地址
|
||||||
|
# VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api"
|
||||||
|
|
||||||
# 接口地址
|
# 接口地址
|
||||||
# VITE_API_BASEURL = "http://localhost:5199/api"
|
VITE_API_BASEURL = "https://learn-archives-admin-dev.23544.com/api"
|
||||||
#数据中心后台地址
|
#数据中心后台地址
|
||||||
VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api"
|
VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api"
|
||||||
|
|
|
||||||
|
|
@ -163,19 +163,19 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<div class="clearfix clearfixCss">
|
<div class="flex justify-between clearfixCss">
|
||||||
<span style="line-height: 32px; font-weight: 600"
|
<span style="line-height: 32px; font-weight: 600"
|
||||||
>{{ userType == 1 ? "就读班级" : "已选职位" }}[{{
|
>{{ userType == 1 ? "就读班级" : "已选职位" }}[{{
|
||||||
selectPositions.length
|
selectPositions.length
|
||||||
}}]</span
|
}}]</span
|
||||||
>
|
>
|
||||||
<el-button
|
|
||||||
style="float: right"
|
<div>
|
||||||
type="success"
|
<el-button @click="reload">重置</el-button>
|
||||||
@click="handleConfirm"
|
<el-button type="success" @click="handleConfirm" :icon="Check"
|
||||||
:icon="Check"
|
>提交分配职位</el-button
|
||||||
>提交分配职位</el-button
|
>
|
||||||
>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="positionGap">
|
<div class="positionGap">
|
||||||
<el-tag
|
<el-tag
|
||||||
|
|
@ -433,6 +433,9 @@ const fetchPagedData = async () => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const reload = () => {
|
||||||
|
selectPositions.value = [];
|
||||||
|
};
|
||||||
const handleConfirm = () => {
|
const handleConfirm = () => {
|
||||||
if (selectPositions.value.length === 0) {
|
if (selectPositions.value.length === 0) {
|
||||||
ElMessage.warning("请选择要分配的职位");
|
ElMessage.warning("请选择要分配的职位");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue