update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import {ref, reactive} from 'vue';
|
||||
import {reactive, ref} from 'vue';
|
||||
import {toPath} from "../../utils/index.js";
|
||||
import VerificationCode from '../../components/VerificationCode/index.vue';
|
||||
import {useUserStore} from "../../pinia/UserStore/index.js";
|
||||
@@ -12,9 +12,9 @@ const MODE = {
|
||||
}
|
||||
|
||||
const from = reactive({
|
||||
phone: null,
|
||||
verificationCode: null,
|
||||
password: null,
|
||||
mobile: '17502997128',
|
||||
code: null,
|
||||
password: '123456',
|
||||
});
|
||||
|
||||
const mode = ref(MODE.PHONE);
|
||||
@@ -29,21 +29,21 @@ const mode = ref(MODE.PHONE);
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-[38px] flex flex-col gap-[20px]">
|
||||
<a-input v-model:model-value="from.phone" placeholder="手机号"></a-input>
|
||||
<a-input v-model:model-value="from.mobile" placeholder="手机号"></a-input>
|
||||
<VerificationCode
|
||||
v-if="mode === MODE.PHONE"
|
||||
:phone="from.phone"
|
||||
v-model:verification-code="from.verificationCode">
|
||||
:mobile="from.mobile"
|
||||
v-model:verification-code="from.code">
|
||||
</VerificationCode>
|
||||
<a-input v-else :model-value="from.password" placeholder="密码">
|
||||
<a-input v-else v-model:model-value="from.password" placeholder="密码">
|
||||
<template #append>
|
||||
<a-link @click="toPath('/loginSYS/forgot')" :hoverable="false">忘记密码?</a-link>
|
||||
</template>
|
||||
</a-input>
|
||||
</div>
|
||||
<div class="flex flex-col mt-[50px] gap-[32px]">
|
||||
<a-button @click="login(false)" type="primary">登陆商户端</a-button>
|
||||
<a-button @click="login(true)" type="primary">登陆管理端</a-button>
|
||||
<a-button @click="login(false, from)" type="primary">登陆商户端</a-button>
|
||||
<a-button @click="login(true, from)" type="primary">登陆管理端</a-button>
|
||||
<a-button
|
||||
@click="toPath('/loginSYS/register')"
|
||||
type="text">
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<script setup>
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -17,13 +16,13 @@
|
||||
<style lang="scss" scoped>
|
||||
.fade-enter-active,
|
||||
.fade-leave-active {
|
||||
transition: opacity 0.5s ease;
|
||||
transition: opacity 0.5s ease;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fade-enter-from,
|
||||
.fade-leave-to {
|
||||
opacity: 0;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -4,7 +4,6 @@ import Filter from "../../../../components/Filter/index.vue";
|
||||
import useTableQuery from "../../../../hooks/useTableQuery.js";
|
||||
import Api from "../../../../api/index.js";
|
||||
import TaskPassedReviewModal from "./components/TaskPassedReviewModal.vue";
|
||||
import openTerminateTask from "./components/openTerminateTask.js";
|
||||
import RejectTaskModal from "./components/RejectTaskModal.vue";
|
||||
import TerminateTask from "../../../../components/TerminateTask/TerminateTask.js";
|
||||
|
||||
@@ -74,44 +73,18 @@ const FilterConfig = [
|
||||
type: 'select',
|
||||
label: '任务渠道',
|
||||
placeholder: '请选择任务渠道',
|
||||
api: async () => ({
|
||||
data: [
|
||||
{
|
||||
name: '选项一',
|
||||
id: 1,
|
||||
},
|
||||
{
|
||||
name: '选项二',
|
||||
id: 2,
|
||||
},
|
||||
{
|
||||
name: '选项三',
|
||||
id: 3,
|
||||
},
|
||||
]
|
||||
}),
|
||||
api: async () => {
|
||||
return await Api.admin.getPlatform();
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'wd',
|
||||
type: 'select',
|
||||
label: '任务状态',
|
||||
placeholder: '请选择任务状态',
|
||||
api: async () => ({
|
||||
data: [
|
||||
{
|
||||
name: '选项一',
|
||||
id: 1,
|
||||
},
|
||||
{
|
||||
name: '选项二',
|
||||
id: 2,
|
||||
},
|
||||
{
|
||||
name: '选项三',
|
||||
id: 3,
|
||||
},
|
||||
]
|
||||
}),
|
||||
api: async () => {
|
||||
return await Api.admin.getTaskList();
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'wd',
|
||||
@@ -123,22 +96,9 @@ const FilterConfig = [
|
||||
type: 'select',
|
||||
label: '审核状态',
|
||||
placeholder: '请选择审核状态',
|
||||
api: async () => ({
|
||||
data: [
|
||||
{
|
||||
name: '选项一',
|
||||
id: 1,
|
||||
},
|
||||
{
|
||||
name: '选项二',
|
||||
id: 2,
|
||||
},
|
||||
{
|
||||
name: '选项三',
|
||||
id: 3,
|
||||
},
|
||||
]
|
||||
}),
|
||||
api: async () => {
|
||||
return await Api.admin.getCheckStatusList();
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user