Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许珑标
薪瑞通-前端
Commits
76fe5574
Commit
76fe5574
authored
Apr 15, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注册;待办;签约;分配专户
parent
efb37c3a
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
477 additions
and
11 deletions
+477
-11
src/api/login.js
src/api/login.js
+11
-1
src/permission.js
src/permission.js
+1
-1
src/router/index.js
src/router/index.js
+5
-0
src/views/business/component/taxUnitInfoForm.vue
src/views/business/component/taxUnitInfoForm.vue
+4
-3
src/views/business/taxUnit/signList.vue
src/views/business/taxUnit/signList.vue
+14
-2
src/views/login.vue
src/views/login.vue
+1
-3
src/views/register.vue
src/views/register.vue
+2
-1
src/views/unitRegister.vue
src/views/unitRegister.vue
+439
-0
No files found.
src/api/login.js
View file @
76fe5574
...
@@ -41,7 +41,17 @@ export function register(data) {
...
@@ -41,7 +41,17 @@ export function register(data) {
data
:
data
data
:
data
})
})
}
}
// 注册方法
export
function
unitRegister
(
data
)
{
return
request
({
url
:
'
/unitRegister
'
,
headers
:
{
isToken
:
false
},
method
:
'
post
'
,
data
:
data
})
}
// 获取用户详细信息
// 获取用户详细信息
export
function
getInfo
()
{
export
function
getInfo
()
{
return
request
({
return
request
({
...
...
src/permission.js
View file @
76fe5574
...
@@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
...
@@ -8,7 +8,7 @@ import { isRelogin } from '@/utils/request'
NProgress
.
configure
({
showSpinner
:
false
})
NProgress
.
configure
({
showSpinner
:
false
})
const
whiteList
=
[
'
/login
'
,
'
/auth-redirect
'
,
'
/bind
'
,
'
/register
'
]
const
whiteList
=
[
'
/login
'
,
'
/auth-redirect
'
,
'
/bind
'
,
'
/register
'
,
'
/unitRegister
'
]
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
NProgress
.
start
()
NProgress
.
start
()
...
...
src/router/index.js
View file @
76fe5574
...
@@ -51,6 +51,11 @@ export const constantRoutes = [
...
@@ -51,6 +51,11 @@ export const constantRoutes = [
component
:
()
=>
import
(
'
@/views/register
'
),
component
:
()
=>
import
(
'
@/views/register
'
),
hidden
:
true
hidden
:
true
},
},
{
path
:
'
/unitRegister
'
,
component
:
()
=>
import
(
'
@/views/unitRegister
'
),
hidden
:
true
},
{
{
path
:
'
/404
'
,
path
:
'
/404
'
,
component
:
()
=>
import
(
'
@/views/error/404
'
),
component
:
()
=>
import
(
'
@/views/error/404
'
),
...
...
src/views/business/component/taxUnitInfoForm.vue
View file @
76fe5574
...
@@ -23,7 +23,9 @@
...
@@ -23,7 +23,9 @@
<el-row
:gutter=
"56"
>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"所属行业"
prop=
"sectorDictDataVal"
>
<el-form-item
label=
"所属行业"
prop=
"sectorDictDataVal"
>
<el-input
v-model=
"form.sectorDictDataVal"
placeholder=
"请输入所属行业"
/>
<el-select
v-model=
"form.sectorDictDataVal"
placeholder=
"请选择所属行业"
>
<el-option
v-for=
"dict in dict.type.unit_business_type"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
...
@@ -131,7 +133,6 @@
...
@@ -131,7 +133,6 @@
</el-row>
</el-row>
</div>
</div>
</el-card>
</el-card>
</el-form>
</el-form>
<div
class=
"fixdBottom"
>
<div
class=
"fixdBottom"
>
<div
class=
"fixdBottomMain"
>
<div
class=
"fixdBottomMain"
>
...
@@ -147,7 +148,7 @@ import { listAllTaxCode } from '@/api/business/taxClassCode'
...
@@ -147,7 +148,7 @@ import { listAllTaxCode } from '@/api/business/taxClassCode'
export
default
{
export
default
{
name
:
"
taxUnitForm
"
,
name
:
"
taxUnitForm
"
,
dicts
:
[
'
tax_invoice_status
'
,
'
tax_invoice_type
'
],
dicts
:
[
'
tax_invoice_status
'
,
'
tax_invoice_type
'
,
'
unit_business_type
'
],
data
()
{
data
()
{
return
{
return
{
taxTransferProps
:
{
taxTransferProps
:
{
...
...
src/views/business/taxUnit/signList.vue
View file @
76fe5574
...
@@ -157,8 +157,20 @@ export default {
...
@@ -157,8 +157,20 @@ export default {
}).
then
(()
=>
{
}).
then
(()
=>
{
giveAccToLabor
(
row
.
id
).
then
(
resp
=>
{
giveAccToLabor
(
row
.
id
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
if
(
200
===
resp
.
code
)
{
this
.
$modal
.
msgSuccess
(
"
操作成功
"
)
if
(
200
===
resp
.
data
.
code
)
{
this
.
getList
()
this
.
$modal
.
msgSuccess
(
"
操作成功
"
)
this
.
getList
()
}
else
if
(
202
===
resp
.
data
.
code
)
{
this
.
$confirm
(
'
该账户暂未签约支付协议,暂无法进行此操作
'
,
'
操作提示
'
,
{
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
去签约
'
,
cancelButtonText
:
'
取消
'
}).
then
(()
=>
{
this
.
$router
.
push
({
path
:
"
/taxUnit/payAcc
"
});
}).
catch
(
action
=>
{
});
}
}
}
})
})
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
...
...
src/views/login.vue
View file @
76fe5574
...
@@ -41,9 +41,7 @@
...
@@ -41,9 +41,7 @@
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-else
>
登 录 中...
</span>
<span
v-else
>
登 录 中...
</span>
</el-button>
</el-button>
<div
style=
"float: right;"
v-if=
"register"
>
<router-link
class=
"link-type"
:to=
"'/unitRegister'"
>
立即注册
</router-link>
<router-link
class=
"link-type"
:to=
"'/register'"
>
立即注册
</router-link>
</div>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"SMSVerificationMain"
v-else
>
<div
class=
"SMSVerificationMain"
v-else
>
...
...
src/views/register.vue
View file @
76fe5574
...
@@ -41,7 +41,8 @@
...
@@ -41,7 +41,8 @@
</el-form>
</el-form>
<!-- 底部 -->
<!-- 底部 -->
<div
class=
"el-register-footer"
>
<div
class=
"el-register-footer"
>
<span>
Copyright © 2018-2022 ruoyi.vip All Rights Reserved.
</span>
<a
class=
"text-color"
href=
"https://beian.miit.gov.cn/#/Integrated/index"
target=
"_blank"
>
<span
style=
"color: #00afff"
>
备案号:冀ICP备2024097706号-1
</span></a>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/unitRegister.vue
0 → 100644
View file @
76fe5574
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment