diff --git a/src/api/integrated/carInfo.ts b/src/api/integrated/carInfo.ts new file mode 100644 index 0000000..1feb454 --- /dev/null +++ b/src/api/integrated/carInfo.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/integrated/carInfo/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/integrated/carInfo', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/integrated/carInfo/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/integrated/carInfo', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/integrated/carInfo', + method: 'put', + data: obj + }) +} + diff --git a/src/api/integrated/carPassRecord.ts b/src/api/integrated/carPassRecord.ts new file mode 100644 index 0000000..67acec5 --- /dev/null +++ b/src/api/integrated/carPassRecord.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/integrated/carPassRecord/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/integrated/carPassRecord', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/integrated/carPassRecord/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/integrated/carPassRecord', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/integrated/carPassRecord', + method: 'put', + data: obj + }) +} + diff --git a/src/views/integrated/carInfo/form.vue b/src/views/integrated/carInfo/form.vue new file mode 100644 index 0000000..dbcf7a0 --- /dev/null +++ b/src/views/integrated/carInfo/form.vue @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取消 + 确认 + + + + + + \ No newline at end of file diff --git a/src/views/integrated/carInfo/index.vue b/src/views/integrated/carInfo/index.vue new file mode 100644 index 0000000..a833c46 --- /dev/null +++ b/src/views/integrated/carInfo/index.vue @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + 查询 + + 重置 + + + + + + + 新 增 + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 编辑 + 删除 + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/integrated/carPassRecord/form.vue b/src/views/integrated/carPassRecord/form.vue new file mode 100644 index 0000000..a1709a0 --- /dev/null +++ b/src/views/integrated/carPassRecord/form.vue @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取消 + 确认 + + + + + + \ No newline at end of file diff --git a/src/views/integrated/carPassRecord/index.vue b/src/views/integrated/carPassRecord/index.vue new file mode 100644 index 0000000..b82dc1b --- /dev/null +++ b/src/views/integrated/carPassRecord/index.vue @@ -0,0 +1,137 @@ + + + + + + + + + + + 查询 + + 重置 + + + + + + + 新 增 + + + 删除 + + + + + + + + + + + + + + + + + + + + + 编辑 + 删除 + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/login/component/password.vue b/src/views/login/component/password.vue index 990733c..0651a3c 100644 --- a/src/views/login/component/password.vue +++ b/src/views/login/component/password.vue @@ -1,5 +1,12 @@ - + - {{ $t('password.accountBtnText') }} + {{ $t("password.accountBtnText") }} - - {{ $t('password.mobileLogin') }} - + - {{ $t('password.createAccount') }} + {{ $t("password.createAccount") }} - {{ $t('browserMsgText') }} + {{ $t("browserMsgText") }} diff --git a/src/views/wallet/wallet-recharge-apply/form.vue b/src/views/wallet/wallet-recharge-apply/form.vue index aba3eb4..0226103 100644 --- a/src/views/wallet/wallet-recharge-apply/form.vue +++ b/src/views/wallet/wallet-recharge-apply/form.vue @@ -1,21 +1,27 @@ - + - + - + @@ -23,15 +29,16 @@ - + + :span="24" + class="mb20" + > 授权 @@ -47,8 +54,7 @@ - + @@ -150,7 +156,7 @@ const openDialog = async (id: string) => { // 提交 const onSubmit = async () => { - const valid = await dataFormRef.value.validate().catch(() => { }) + const valid = await dataFormRef.value.validate().catch(() => {}) if (!valid) return false if (form.bizType == 3 && form.isAuthorization != 1) { useMessage().error("请同意授权协议") @@ -185,7 +191,7 @@ const getwalletRechargeApplyData = async (id: string) => { } } } catch (err: any) { - console.error(err); + console.error(err) } finally { loading.value = false } diff --git a/src/views/wallet/wallet-recharge-apply/index.vue b/src/views/wallet/wallet-recharge-apply/index.vue index 2531454..c06542b 100644 --- a/src/views/wallet/wallet-recharge-apply/index.vue +++ b/src/views/wallet/wallet-recharge-apply/index.vue @@ -1,8 +1,7 @@ - + @@ -11,47 +10,69 @@ - + - + - + - {{ $t("common.queryBtn") - }} + {{ $t("common.queryBtn") }} {{ $t("common.resetBtn") }} - + 导 入 - + + 导 入(不绑定发票) + + 删除 - + - + @@ -103,48 +124,93 @@ - + - + 数据 - + 申请 - + 编辑 - + 开始处理 + icon="delete" + text + type="primary" + v-auth="'wallet_walletRechargeApply_del'" + @click="handleDelete([row.id])" + > 删除 - + - + + @@ -167,6 +233,7 @@ const { push } = useRouter() // 引入组件 const FormDialog = defineAsyncComponent(() => import("./form.vue")) const UploadExcel = defineAsyncComponent(() => import("./upload-excel.vue")) +const UploadExcelUnbind = defineAsyncComponent(() => import("/@/components/Upload/Excel.vue")) // 定义查询字典 const { wallet_biz_recharge, wallet_type, check_status } = useDict("wallet_biz_recharge", "wallet_type", "check_status") // store @@ -176,6 +243,7 @@ const { userInfos } = storeToRefs(stores) // 定义变量内容 const formDialogRef = ref() const uploadExcelRef = ref() +const uploadExcelUnbindRef = ref() // 搜索变量 const queryRef = ref() const showSearch = ref(true)