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
e401b534
Commit
e401b534
authored
Apr 08, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
税地分支初次提交
parent
392077e6
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1148 additions
and
17 deletions
+1148
-17
src/api/business/taxClassCode.js
src/api/business/taxClassCode.js
+19
-0
src/api/business/unitInfo.js
src/api/business/unitInfo.js
+88
-0
src/api/system/user.js
src/api/system/user.js
+1
-1
src/views/business/component/taxUnitInfoForm.vue
src/views/business/component/taxUnitInfoForm.vue
+366
-0
src/views/business/outContract/index.vue
src/views/business/outContract/index.vue
+5
-5
src/views/business/payOutDetail/index.vue
src/views/business/payOutDetail/index.vue
+1
-1
src/views/business/salaryAccount/index.vue
src/views/business/salaryAccount/index.vue
+18
-2
src/views/business/salaryAccount/taxSignComponent.vue
src/views/business/salaryAccount/taxSignComponent.vue
+167
-0
src/views/business/taxUnit/index.vue
src/views/business/taxUnit/index.vue
+322
-0
src/views/business/taxUnit/signList.vue
src/views/business/taxUnit/signList.vue
+153
-0
src/views/login.vue
src/views/login.vue
+4
-4
src/views/statistics/index.vue
src/views/statistics/index.vue
+4
-4
No files found.
src/api/business/taxClassCode.js
0 → 100644
View file @
e401b534
import
request
from
'
@/utils/request
'
// 查询税收分类编码--分页
export
function
taxCodeTableList
(
query
)
{
return
request
({
url
:
'
/business/classifyCode/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询税收分类编码--全部
export
function
listAllTaxCode
(
query
)
{
return
request
({
url
:
'
/business/classifyCode/listAll
'
,
method
:
'
get
'
,
params
:
query
})
}
src/api/business/unitInfo.js
0 → 100644
View file @
e401b534
import
request
from
'
@/utils/request
'
// 查询税地单位信息列表
export
function
listUnitInfo
(
query
)
{
return
request
({
url
:
'
/business/unitInfo/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询代发企业签约列表
export
function
querySignList
(
query
)
{
return
request
({
url
:
'
/business/laborSign/taxUnit/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询税地单位信息所有列表
export
function
listAllUnitInfo
(
query
)
{
return
request
({
url
:
'
/business/unitInfo/listAll
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询税地单位信息详细
export
function
getUnitInfo
(
id
)
{
return
request
({
url
:
'
/business/unitInfo/getInfo/
'
+
id
,
method
:
'
get
'
})
}
// 新增税地单位信息
export
function
addUnitInfo
(
data
)
{
return
request
({
url
:
'
/business/unitInfo/add
'
,
method
:
'
post
'
,
data
:
data
})
}
// 修改税地单位信息-仅修改基础数据
export
function
updateUnitInfo
(
data
)
{
return
request
({
url
:
'
/business/unitInfo/edit
'
,
method
:
'
post
'
,
data
:
data
})
}
// 修改税地单位信息-含关联数据
export
function
updateUnitAllInfo
(
data
)
{
return
request
({
url
:
'
/business/unitInfo/editAll
'
,
method
:
'
post
'
,
data
:
data
})
}
// 删除税地单位信息
export
function
delUnitInfo
(
id
)
{
return
request
({
url
:
'
/business/unitInfo/remove/
'
+
id
,
method
:
'
get
'
})
}
// 获取税地企业可支持开票类目
export
function
getUnitTaxCategories
(
unitId
)
{
return
request
({
url
:
'
/business/unitInfo/taxCategories/get/
'
+
unitId
,
method
:
'
get
'
})
}
// 获取可签约的代发企业信息
export
function
listToSignUnit
(
query
)
{
return
request
({
url
:
'
/business/unitInfo/toSign/list
'
,
method
:
'
get
'
,
params
:
query
})
}
src/api/system/user.js
View file @
e401b534
...
@@ -96,7 +96,7 @@ export function updateUserPwd(oldPassword, newPassword) {
...
@@ -96,7 +96,7 @@ export function updateUserPwd(oldPassword, newPassword) {
return
request
({
return
request
({
url
:
'
/system/user/profile/updatePwd
'
,
url
:
'
/system/user/profile/updatePwd
'
,
method
:
'
post
'
,
method
:
'
post
'
,
params
:
data
data
:
data
})
})
}
}
...
...
src/views/business/component/taxUnitInfoForm.vue
0 → 100644
View file @
e401b534
<
template
>
<!-- 新增发薪合同表单 -->
<div
class=
"app-container"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
class=
"formData"
label-width=
"125px"
>
<!-- 企业资质信息 -->
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span
class=
"cardHeartTitle"
>
企业资质信息
</span>
</div>
<div
class=
"cardMain"
>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"企业名称"
prop=
"unitName"
>
<el-input
v-model=
"form.unitName"
placeholder=
"必填,需与营业执照名称一致"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"信用代码"
prop=
"unitCode"
>
<el-input
v-model=
"form.unitCode"
placeholder=
"必填,填写营业执照信用代码"
/>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"所属行业"
prop=
"sectorDictDataVal"
>
<el-input
v-model=
"form.sectorDictDataVal"
placeholder=
"请输入所属行业"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"营业地址"
prop=
"address"
>
<el-input
v-model=
"form.address"
placeholder=
"必填,请填写能够收到快递的地址"
/>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"营业执照"
prop=
"businessLicense"
>
<image-upload
v-model=
"form.businessLicense"
:limit=
"1"
></image-upload>
</el-form-item>
</el-col>
</el-row>
</div>
</el-card>
<!-- 法人信息 -->
<el-card
class=
"box-card"
style=
"margin-top: 22px;"
>
<div
slot=
"header"
class=
"clearfix"
>
<span
class=
"cardHeartTitle"
>
法人信息
</span>
</div>
<div
class=
"cardMain"
>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"法人姓名"
prop=
"legalPersonName"
>
<el-input
v-model=
"form.legalPersonName"
placeholder=
"请输入法人姓名"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"法人身份证号"
prop=
"legalPersonIdNo"
>
<el-input
v-model=
"form.legalPersonIdNo"
placeholder=
"请输入法人身份证号"
/>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"法人联系电话"
prop=
"legalPersonMobile"
>
<el-input
v-model=
"form.legalPersonMobile"
placeholder=
"请输入法人联系电话"
/>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"法人联系邮箱"
prop=
"legalPersonEmail"
>
<el-input
v-model=
"form.legalPersonEmail"
placeholder=
"请输入法人联系邮箱"
/>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"法人身份证正面"
prop=
"legalIdPicFront"
>
<image-upload
v-model=
"form.legalIdPicFront"
:limit=
"1"
></image-upload>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"法人身份证背面"
prop=
"legalIdPicBack"
>
<image-upload
v-model=
"form.legalIdPicBack"
:limit=
"1"
></image-upload>
</el-form-item>
</el-col>
</el-row>
</div>
</el-card>
<!-- 法人信息 -->
<el-card
class=
"box-card"
style=
"margin-top: 22px;"
>
<div
slot=
"header"
class=
"clearfix"
>
<span
class=
"cardHeartTitle"
>
发票信息
</span>
</div>
<div
class=
"cardMain"
>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"开票状态"
prop=
"invoiceStatus"
>
<el-select
v-model=
"form.invoiceStatus"
placeholder=
"请选择支付状态"
>
<el-option
v-for=
"dict in dict.type.tax_invoice_status"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value * 1"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"10"
>
<el-form-item
label=
"月开票额度"
prop=
"invoiceLimit"
>
<el-input-number
v-model=
"form.invoiceLimit"
:min=
"1"
:precision=
"2"
label=
"请输入月开票额度"
></el-input-number>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"56"
>
<el-col
:span=
"10"
>
<el-form-item
label=
"可开票类型"
>
<el-select
v-model=
"invoiceTypes"
multiple
placeholder=
"请选择可开票类型"
>
<el-option
v-for=
"dict in dict.type.tax_invoice_type"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"56"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"可开票类目"
>
<el-transfer
filterable
v-model=
"form.unitTaxCategories"
:titles=
"['待选类目', '已选类目']"
:props=
"taxTransferProps"
:data=
"taxClassCodeList"
>
</el-transfer>
</el-form-item>
</el-col>
</el-row>
</div>
</el-card>
</el-form>
<div
class=
"fixdBottom"
>
<div
class=
"fixdBottomMain"
>
<el-button
type=
"info"
style=
"width:100px;font-size:14px;"
@
click=
"goBackFN"
>
返 回
</el-button>
<el-button
type=
"primary"
style=
"width:100px;font-size:14px;"
@
click=
"submitForm"
>
确 认
</el-button>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
addUnitInfo
,
getUnitInfo
,
updateUnitAllInfo
,
updateUnitInfo
}
from
'
@/api/business/unitInfo
'
import
{
listAllTaxCode
}
from
'
@/api/business/taxClassCode
'
export
default
{
name
:
"
taxUnitForm
"
,
dicts
:
[
'
tax_invoice_status
'
,
'
tax_invoice_type
'
],
data
()
{
return
{
taxTransferProps
:
{
key
:
'
code
'
,
label
:
'
goodsName
'
},
taxClassCodeList
:
[],
invoiceTypes
:
[],
form
:
{
unitTaxCategories
:
[]
},
// 表单校验
rules
:
{
unitName
:
[
{
required
:
true
,
message
:
"
单位名称不能为空
"
,
trigger
:
"
blur
"
}
],
unitCode
:
[
{
required
:
true
,
message
:
"
信用代码不能为空
"
,
trigger
:
"
blur
"
}
],
address
:
[
{
required
:
true
,
message
:
"
经营地址不能为空
"
,
trigger
:
"
blur
"
}
],
businessLicense
:
[
{
required
:
true
,
message
:
"
营业执照不能为空
"
,
trigger
:
"
blur
"
}
],
legalPersonName
:
[
{
required
:
true
,
message
:
"
法人姓名不能为空
"
,
trigger
:
"
blur
"
}
],
legalPersonIdNo
:
[
{
required
:
true
,
message
:
"
法人身份证号不能为空
"
,
trigger
:
"
blur
"
}
],
legalPersonMobile
:
[
{
required
:
true
,
message
:
"
法人联系电话不能为空
"
,
trigger
:
"
blur
"
}
],
legalPersonEmail
:
[
{
required
:
true
,
message
:
"
法人联系邮箱不能为空
"
,
trigger
:
"
blur
"
}
],
legalIdPicFront
:
[
{
required
:
true
,
message
:
"
法人身份证正面不能为空
"
,
trigger
:
"
blur
"
}
],
legalIdPicBack
:
[
{
required
:
true
,
message
:
"
法人身份证号背面不能为空
"
,
trigger
:
"
blur
"
}
],
invoiceStatus
:
[
{
required
:
true
,
message
:
"
可开票状态不能为空
"
,
trigger
:
"
blur
"
}
],
invoiceLimit
:
[
{
required
:
true
,
message
:
"
月开票额度不能为空
"
,
trigger
:
"
blur
"
}
],
}
}
},
mounted
()
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
getAndInit
(
this
.
$route
.
query
.
id
)
}
listAllTaxCode
().
then
(
resp
=>
{
if
(
!
this
.
form
.
unitTaxCategories
)
{
this
.
form
.
unitTaxCategories
=
[]
}
if
(
200
===
resp
.
code
)
{
this
.
taxClassCodeList
=
resp
.
data
}
})
},
methods
:
{
goBackFN
()
{
this
.
$router
.
back
();
},
getAndInit
(
id
)
{
getUnitInfo
(
id
).
then
(
resp
=>
{
if
(
resp
&&
200
===
resp
.
code
&&
resp
.
data
)
{
this
.
form
=
resp
.
data
if
(
resp
.
data
.
invoiceTypes
)
{
this
.
invoiceTypes
=
resp
.
data
.
invoiceTypes
.
split
(
"
,
"
)
}
}
})
},
// 表单重置
reset
()
{
this
.
form
=
{
id
:
null
,
unitName
:
null
,
unitCode
:
null
,
address
:
null
,
sectorDictDataVal
:
null
,
businessLicense
:
null
,
legalPersonName
:
null
,
legalPersonIdNo
:
null
,
legalPersonMobile
:
null
,
legalPersonEmail
:
null
,
legalIdPicFront
:
null
,
legalIdPicBack
:
null
,
sysUserId
:
null
,
invoiceStatus
:
0
,
invoiceTypes
:
null
,
invoiceLimit
:
null
,
deptId
:
null
,
};
this
.
resetForm
(
"
form
"
);
},
// 取消按钮
cancel
()
{
this
.
open
=
false
;
this
.
reset
();
},
/** 提交按钮 */
submitForm
()
{
this
.
$refs
[
"
form
"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
invoiceTypes
)
{
this
.
form
.
invoiceTypes
=
this
.
invoiceTypes
.
join
(
'
,
'
)
}
if
(
this
.
form
.
id
!=
null
)
{
updateUnitAllInfo
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
goBackFN
();
});
}
else
{
addUnitInfo
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
goBackFN
();
});
}
}
});
},
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.
app-container
:
:
v-deep
{
// 表单部分样式
.formData
{
.box-card
{
// 卡片头部样式
.clearfix
{
.cardHeartTitle
{
font-size
:
22px
;
font-weight
:
600
;
}
}
// 控制头部的底部分割线
.el-card__header
{
border-bottom
:
none
;
}
// 表单主题部分样式
.cardMain
{
// 表单label样式
.el-form-item__label
{
color
:
#000
;
font-size
:
14px
;
font-weight
:
530
;
}
// 参数信息-首个参数
.parameterFirst
{
width
:
100%
;
padding-left
:
25%
;
text-align
:
center
;
color
:
#000
;
font-size
:
14px
;
font-weight
:
530
;
}
// 参数信息-剩余标题
.parameterConter
{
width
:
100%
;
text-align
:
center
;
color
:
#000
;
font-size
:
14px
;
font-weight
:
530
;
}
// 金额盒子样式
.amountMain
{
width
:
100%
;
text-align
:
center
;
}
.el-input-number--small
{
width
:
100%
!
important
;
}
.projectTitle
{
color
:
#000
;
font-size
:
14px
;
font-weight
:
530
;
}
}
}
}
// 底部操作按钮部分
.fixdBottom
{
margin-top
:
22px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
.fixdBottomMain
{
width
:
270px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
}
}
</
style
>
src/views/business/outContract/index.vue
View file @
e401b534
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"EDMMain"
>
<div
class=
"EDMMain"
>
<div
class=
"themeMain"
>
<div
class=
"themeMain"
>
<div
class=
"head-container"
>
<div
class=
"head-container"
>
<el-input
v-model=
"deptName"
placeholder=
"请输入发薪主
题
"
clearable
size=
"small"
prefix-icon=
"el-icon-search"
<el-input
v-model=
"deptName"
placeholder=
"请输入发薪主
体
"
clearable
size=
"small"
prefix-icon=
"el-icon-search"
style=
"margin-bottom: 20px"
/>
style=
"margin-bottom: 20px"
/>
</div>
</div>
<div
class=
"head-container"
>
<div
class=
"head-container"
>
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
list
CompanyInfo
}
from
"
@/api/business/companyInfo
"
;
import
{
list
AllCompanyInfo
,
listCompanyInfo
}
from
'
@/api/business/companyInfo
'
import
{
listOutContract
,
delOutContract
,
addOutContract
,
updateOutContract
}
from
"
@/api/business/outContract
"
;
import
{
listOutContract
,
delOutContract
,
addOutContract
,
updateOutContract
}
from
"
@/api/business/outContract
"
;
import
{
buildPayOutRecord
}
from
'
@/api/business/payOutRecord
'
import
{
buildPayOutRecord
}
from
'
@/api/business/payOutRecord
'
...
@@ -269,10 +269,10 @@ export default {
...
@@ -269,10 +269,10 @@ export default {
},
},
/** 查询付款主体信息列表 */
/** 查询付款主体信息列表 */
getThemeList
()
{
getThemeList
()
{
list
CompanyInfo
({
pageNum
:
1
,
pageSize
:
999
,
companyName
:
this
.
deptName
}).
then
(
response
=>
{
list
AllCompanyInfo
({
companyName
:
this
.
deptName
}).
then
(
response
=>
{
let
arr
=
[]
let
arr
=
[]
response
.
rows
.
forEach
(
item
=>
{
response
.
data
.
forEach
(
item
=>
{
arr
.
push
({
arr
.
push
({
id
:
item
.
id
,
id
:
item
.
id
,
label
:
item
.
companyName
label
:
item
.
companyName
...
...
src/views/business/payOutDetail/index.vue
View file @
e401b534
...
@@ -703,7 +703,7 @@ export default {
...
@@ -703,7 +703,7 @@ export default {
}
,
}
,
/** 导出按钮操作 */
/** 导出按钮操作 */
handleExport
()
{
handleExport
()
{
this
.
download
(
'
business/payOutDetail/export
'
,
...
this
.
queryParams
,
`payOutDetail_
${new Date().getTime()
}
.xlsx`
)
this
.
download
(
'
business/payOutDetail/export
'
,
{...
this
.
queryParams
}
,
`发薪详情
${new Date().getTime()
}
.xlsx`
)
}
,
}
,
async
checkWork
(
row
)
{
async
checkWork
(
row
)
{
this
.
preForm
.
salaryPayDetailId
=
row
.
id
this
.
preForm
.
salaryPayDetailId
=
row
.
id
...
...
src/views/business/salaryAccount/index.vue
View file @
e401b534
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"buttonOperate"
>
<div
class=
"buttonOperate"
>
<el-button
type=
"primary"
@
click=
"
goRegister
"
>
绑定发薪账户
</el-button>
<el-button
type=
"primary"
@
click=
"
toSign
"
>
绑定发薪账户
</el-button>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -388,6 +388,14 @@
...
@@ -388,6 +388,14 @@
<el-button
@
click=
"billPanel = false"
>
关 闭
</el-button>
<el-button
@
click=
"billPanel = false"
>
关 闭
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
title=
"绑定账户"
:visible.sync=
"bindAcc.panel"
width=
"80%"
>
<tax-sign-component></tax-sign-component>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"bindAcc.panel = false"
>
关 闭
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -398,11 +406,16 @@ import { addAccRecharge, listBill } from '@/api/business/accRecharge.js'
...
@@ -398,11 +406,16 @@ import { addAccRecharge, listBill } from '@/api/business/accRecharge.js'
import
{
addDateRange
}
from
'
@/utils/ruoyi
'
import
{
addDateRange
}
from
'
@/utils/ruoyi
'
import
{
formatDate
}
from
'
@/utils
'
import
{
formatDate
}
from
'
@/utils
'
import
QrCodeComponent
from
'
@/components/QrCode.vue
'
import
QrCodeComponent
from
'
@/components/QrCode.vue
'
import
TaxSignComponent
from
'
@/views/business/salaryAccount/taxSignComponent.vue
'
export
default
{
export
default
{
name
:
'
SalaryAccount
'
,
name
:
'
SalaryAccount
'
,
components
:
{
QrCodeComponent
,
AccSelect
},
components
:
{
TaxSignComponent
,
QrCodeComponent
,
AccSelect
},
data
()
{
data
()
{
return
{
return
{
bindAcc
:
{
panel
:
false
,
},
billPanel
:
false
,
billPanel
:
false
,
qrPayPanel
:
{
qrPayPanel
:
{
open
:
false
,
open
:
false
,
...
@@ -494,6 +507,9 @@ export default {
...
@@ -494,6 +507,9 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
toSign
()
{
this
.
bindAcc
.
panel
=
true
;
},
billTypeTabClick
(
tab
)
{
billTypeTabClick
(
tab
)
{
// this.billQuery.capitalPurpose = tab.name === "second" ? 2 : 1 //1:服务费 2:余额
// this.billQuery.capitalPurpose = tab.name === "second" ? 2 : 1 //1:服务费 2:余额
// this.getBillList();
// this.getBillList();
...
...
src/views/business/salaryAccount/taxSignComponent.vue
0 → 100644
View file @
e401b534
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"true"
label-width=
"80px"
>
<el-form-item
label=
"代发企业"
prop=
"unitName"
>
<el-input
v-model=
"queryParams.unitName"
placeholder=
"请输入企业名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"签约状态"
prop=
"signStatus"
>
<el-select
v-model=
"queryParams.signStatus"
placeholder=
"请选择签约状态"
clearable
@
change=
"handleQuery"
>
<el-option
v-for=
"dict in dict.type.tax_labor_sign_status"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-table
v-loading=
"loading"
:data=
"unitInfoList"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"代发企业"
align=
"center"
prop=
"unitName"
fixed
/>
<el-table-column
label=
"机构代码"
align=
"center"
prop=
"unitCode"
fixed
/>
<el-table-column
label=
"所属地址"
align=
"center"
prop=
"address"
/>
<el-table-column
label=
"所属行业"
align=
"center"
prop=
"sectorDictDataVal"
/>
<el-table-column
label=
"可开票类型"
align=
"center"
prop=
"invoiceTypes"
>
<template
slot-scope=
"scope"
>
<dict-tag
style=
"margin-top: 3px"
v-for=
"(item, index) in scope.row.invoiceTypes.split(',')"
:options=
"dict.type.tax_invoice_type"
:value=
"item"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"月开票额度"
align=
"center"
prop=
"invoiceLimit"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"legalPersonName"
/>
<el-table-column
label=
"联系电话"
align=
"center"
prop=
"legalPersonMobile"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
v-if=
"!scope.row.signStatus"
@
click=
"toSign(scope.row)"
v-hasPermi=
"['business:laborSign:add']"
>
签约
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<!-- 签约申请 -->
<el-dialog
title=
"签约申请"
:visible.sync=
"signPanel"
width=
"500px"
append-to-body
>
<el-form
ref=
"signForm"
:model=
"signForm"
:rules=
"signFormRules"
label-width=
"80px"
>
<el-form-item
label=
"代发企业"
prop=
"taxUnitName"
>
<el-input
v-model=
"signForm.taxUnitName"
disabled
placeholder=
"请选择代发企业"
/>
</el-form-item>
<el-form-item
label=
"签约主体"
prop=
"inviterName"
>
<el-select
v-model=
"signForm.inviterId"
clearable
placeholder=
"请选择发薪主体"
>
<el-option
v-for=
"item in payerCompanyArr"
:key=
"item.id"
:label=
"item.companyName"
:value=
"item.id"
>
</el-option>
</el-select>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitSignForm"
>
确 定
</el-button>
<el-button
@
click=
"signPanel = false"
>
取 消
</el-button>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
{
listToSignUnit
}
from
'
@/api/business/unitInfo
'
import
{
addLaborSign
}
from
'
@/api/business/laborSign
'
import
{
listAllCompanyInfo
}
from
'
@/api/business/companyInfo
'
export
default
{
name
:
"
taxSignComponent
"
,
dicts
:
[
'
tax_invoice_type
'
,
'
tax_labor_sign_status
'
],
computed
:
{
},
data
()
{
return
{
payerCompanyArr
:
[],
signForm
:
{
taxUnitId
:
null
,
taxUnitName
:
''
,
inviterId
:
null
,
},
signPanel
:
false
,
// 遮罩层
loading
:
true
,
// 总条数
total
:
0
,
// 商户付款账户表格数据
unitInfoList
:
[],
// 弹出层标题
title
:
""
,
// 是否显示弹出层
open
:
false
,
// 查询参数
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
unitName
:
null
,
},
signFormRules
:
{
inviterId
:
[
{
required
:
true
,
message
:
"
签约主体不能为空
"
,
trigger
:
"
blur
"
}
],
}
};
},
created
()
{
this
.
getList
();
this
.
getPayerCompanyList
();
},
methods
:
{
getPayerCompanyList
()
{
listAllCompanyInfo
().
then
(
resp
=>
{
if
(
200
==
resp
.
code
)
{
this
.
payerCompanyArr
=
resp
.
data
}
})
},
/** 查询商户付款账户列表 */
getList
()
{
this
.
loading
=
true
;
listToSignUnit
(
this
.
queryParams
).
then
(
response
=>
{
this
.
unitInfoList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
});
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
;
this
.
getList
();
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
resetForm
(
"
queryForm
"
);
this
.
handleQuery
();
},
toSign
(
row
)
{
this
.
$confirm
(
`确认发起与
${
row
.
unitName
}
的签约申请吗`
,
'
操作提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
this
.
signForm
.
taxUnitId
=
row
.
id
this
.
signForm
.
taxUnitName
=
row
.
unitName
this
.
signPanel
=
true
}).
catch
(()
=>
{});
},
submitSignForm
()
{
addLaborSign
(
this
.
signForm
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
$modal
.
msgSuccess
(
"
操作成功!
"
);
}
}).
finally
(()
=>
{
this
.
signPanel
=
false
})
}
}
};
</
script
>
src/views/business/taxUnit/index.vue
0 → 100644
View file @
e401b534
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"80px"
>
<el-form-item
label=
"单位名称"
prop=
"unitName"
>
<el-input
v-model=
"queryParams.unitName"
placeholder=
"请输入单位名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"信用代码"
prop=
"unitCode"
>
<el-input
v-model=
"queryParams.unitCode"
placeholder=
"请输入信用代码"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['business:unitInfo:add']"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['business:unitInfo:remove']"
>
删除
</el-button>
</el-col>
<!--
<el-col
:span=
"1.5"
>
-->
<!--
<el-button-->
<!-- type="warning"-->
<!-- icon="el-icon-download"-->
<!-- size="mini"-->
<!-- @click="handleExport"-->
<!-- v-hasPermi="['business:unitInfo:export']"-->
<!-- >导出
</el-button>
-->
<!--
</el-col>
-->
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<el-table
v-loading=
"loading"
:data=
"unitInfoList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"unitName"
fixed
/>
<el-table-column
label=
"信用代码"
align=
"center"
prop=
"unitCode"
fixed
/>
<el-table-column
label=
"所属行业"
align=
"center"
prop=
"sectorDictDataVal"
/>
<el-table-column
label=
"法人姓名"
align=
"center"
prop=
"legalPersonName"
/>
<el-table-column
label=
"法人联系电话"
align=
"center"
prop=
"legalPersonMobile"
/>
<el-table-column
label=
"所属地址"
align=
"center"
prop=
"address"
/>
<el-table-column
label=
"可开票状态"
align=
"center"
prop=
"invoiceStatus"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.tax_invoice_status"
:value=
"scope.row.invoiceStatus"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"月开票额度"
align=
"center"
prop=
"invoiceLimit"
/>
<el-table-column
label=
"可开票类型"
align=
"center"
prop=
"invoiceTypes"
>
<
template
slot-scope=
"scope"
>
<dict-tag
style=
"margin-top: 3px"
v-for=
"(item, index) in scope.row.invoiceTypes.split(',')"
:options=
"dict.type.tax_invoice_type"
:value=
"item"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"可开票类目"
align=
"center"
prop=
"invoiceTypes"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-info"
@
click=
"viewUnitTaxCategories(scope.row)"
>
查看类目
</el-button>
</
template
>
</el-table-column>
<!-- <el-table-column label="营业执照" align="center" prop="businessLicense" />-->
<el-table-column
label=
"企业状态"
align=
"center"
prop=
"useStatus"
>
<
template
slot-scope=
"scope"
>
<el-switch
v-model=
"scope.row.useStatus"
:active-value=
"1"
:inactive-value=
"2"
@
change=
"setUnitUseStatus(scope.row)"
>
</el-switch>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['business:unitInfo:edit']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['business:unitInfo:remove']"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<el-dialog
:title=
"taxCategoryPanel.title"
:visible.sync=
"taxCategoryPanel.open"
width=
"600px"
append-to-body
>
<el-table
:data=
"taxCategoryPanel.data"
stripe
style=
"width: 100%"
>
<el-table-column
prop=
"classifyName"
label=
"类目名称"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"code"
label=
"类目编码"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"vatRate"
label=
"税率"
>
</el-table-column>
</el-table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"taxCategoryPanel.open = false"
>
关 闭
</el-button>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
{
listUnitInfo
,
delUnitInfo
,
getUnitTaxCategories
,
updateUnitInfo
}
from
'
@/api/business/unitInfo
'
export
default
{
name
:
'
UnitInfo
'
,
dicts
:
[
'
tax_invoice_status
'
,
'
tax_invoice_type
'
],
data
()
{
return
{
taxCategoryPanel
:
{
title
:
'
支持的税收分类编码列表
'
,
open
:
false
,
data
:
[]
},
unitNames
:
[],
// 根路径
baseURL
:
process
.
env
.
VUE_APP_BASE_API
,
// 遮罩层
loading
:
true
,
// 选中数组
ids
:
[],
// 非单个禁用
single
:
true
,
// 非多个禁用
multiple
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 税地单位信息表格数据
unitInfoList
:
[],
// 查询参数
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
unitName
:
null
,
unitCode
:
null
}
}
},
created
()
{
this
.
getList
()
},
methods
:
{
setUnitUseStatus
(
unitRow
)
{
let
msgColor
,
msgName
if
(
unitRow
.
useStatus
===
1
)
{
msgColor
=
'
color: #13ce66
'
msgName
=
'
启用
'
}
else
{
msgColor
=
'
color: red
'
msgName
=
'
停用
'
}
const
h
=
this
.
$createElement
this
.
$msgbox
({
title
:
'
操作提示
'
,
message
:
h
(
'
p
'
,
null
,
[
h
(
'
span
'
,
null
,
'
确定
'
),
h
(
'
i
'
,
{
style
:
msgColor
},
msgName
),
h
(
'
span
'
,
null
,
`
${
unitRow
.
unitName
}
? `
)
]),
showCancelButton
:
true
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
beforeClose
:
(
action
,
instance
,
done
)
=>
{
if
(
action
===
'
confirm
'
)
{
instance
.
confirmButtonLoading
=
true
instance
.
confirmButtonText
=
'
执行中...
'
updateUnitInfo
({
id
:
unitRow
.
id
,
useStatus
:
unitRow
.
useStatus
}).
then
(
resp
=>
{
instance
.
confirmButtonLoading
=
false
;
if
(
200
===
resp
.
code
)
{
this
.
$message
({
type
:
'
success
'
,
message
:
'
操作成功
'
});
done
()
}
}).
catch
(
function
()
{
instance
.
confirmButtonLoading
=
false
;
unitRow
.
useStatus
=
unitRow
.
useStatus
===
1
?
2
:
1
done
()
})
}
else
{
done
()
}
}
}).
catch
(
function
()
{
unitRow
.
useStatus
=
unitRow
.
useStatus
===
1
?
2
:
1
this
.
$message
({
type
:
'
info
'
,
message
:
'
操作失败
'
});
})
},
/** 查看企业可开票类目 **/
viewUnitTaxCategories
(
unitRow
)
{
getUnitTaxCategories
(
unitRow
.
id
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
taxCategoryPanel
.
data
=
resp
.
data
this
.
taxCategoryPanel
.
open
=
true
this
.
taxCategoryPanel
.
title
=
`[
${
unitRow
.
unitName
}
]支持的税收分类编码列表`
}
})
},
/** 查询税地单位信息列表 */
getList
()
{
this
.
loading
=
true
listUnitInfo
(
this
.
queryParams
).
then
(
response
=>
{
this
.
unitInfoList
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
})
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
this
.
getList
()
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
resetForm
(
'
queryForm
'
)
this
.
handleQuery
()
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
(
item
=>
item
.
id
)
this
.
unitNames
=
selection
.
map
(
item
=>
item
.
unitName
)
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
$router
.
push
({
path
:
'
/business/taxUnitInfoForm
'
})
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
const
id
=
row
.
id
this
.
$router
.
push
({
path
:
'
/business/taxUnitInfoForm
'
,
query
:
{
id
:
id
}
})
},
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
ids
=
row
.
id
||
this
.
ids
const
unitNames
=
row
.
unitName
||
this
.
unitNames
this
.
$modal
.
confirm
(
'
确认删除以下企业信息:
'
+
unitNames
+
'
?
'
).
then
(
function
()
{
return
delUnitInfo
(
ids
)
}).
then
(()
=>
{
this
.
getList
()
this
.
$modal
.
msgSuccess
(
'
删除成功
'
)
}).
catch
(()
=>
{
})
},
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
'
business/unitInfo/export
'
,
{
...
this
.
queryParams
},
`unitInfo_
${
new
Date
().
getTime
()}
.xlsx`
)
}
}
}
</
script
>
src/views/business/taxUnit/signList.vue
0 → 100644
View file @
e401b534
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"80px"
>
<el-form-item
label=
"企业名称"
prop=
"inviterName"
>
<el-input
v-model=
"queryParams.inviterName"
placeholder=
"请输入合作企业名称"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"代发企业"
prop=
"taxUnitName"
>
<el-input
v-model=
"queryParams.taxUnitName"
placeholder=
"请输入信用代码"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"签约状态"
prop=
"signStatus"
>
<el-select
v-model=
"queryParams.signStatus"
placeholder=
"请选择签约状态"
clearable
@
change=
"handleQuery"
>
<el-option
v-for=
"dict in dict.type.tax_labor_sign_status"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
<el-table
v-loading=
"loading"
:data=
"tableData"
>
<el-table-column
label=
"签约企业"
align=
"center"
>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"inviterName"
fixed
/>
<el-table-column
label=
"机构代码"
align=
"center"
prop=
"inviterCode"
fixed
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"inviterUserName"
/>
<el-table-column
label=
"联系电话"
align=
"center"
prop=
"inviterUserMobile"
/>
</el-table-column>
<el-table-column
label=
"代发企业"
align=
"center"
>
<el-table-column
label=
"企业名称"
align=
"center"
prop=
"taxUnitName"
/>
<el-table-column
label=
"机构代码"
align=
"center"
prop=
"taxUnitCode"
/>
<el-table-column
label=
"联系人"
align=
"center"
prop=
"taxUnitUserName"
/>
<el-table-column
label=
"联系电话"
align=
"center"
prop=
"taxUnitUserMobile"
/>
</el-table-column>
<el-table-column
label=
"签约状态"
align=
"center"
prop=
"signStatus"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.tax_labor_sign_status"
:value=
"scope.row.signStatus"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"doAgree(scope.row)"
v-if=
"scope.row.signStatus && 1 === scope.row.signStatus"
v-hasPermi=
"['business:laborSign:add']"
>
签约合约
</el-button>
<!--
<el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-delete"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- v-hasPermi="['business:unitInfo:remove']"-->
<!-- >删除-->
<!--
</el-button>
-->
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
:total=
"total"
:page.sync=
"queryParams.pageNum"
:limit.sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
</div>
</template>
<
script
>
import
{
querySignList
}
from
'
@/api/business/unitInfo
'
import
{
agreeSign
}
from
'
@/api/business/laborSign
'
export
default
{
name
:
'
signList
'
,
dicts
:
[
'
tax_labor_sign_status
'
],
data
()
{
return
{
// 遮罩层
loading
:
true
,
// 显示搜索条件
showSearch
:
true
,
// 总条数
total
:
0
,
// 税地单位信息表格数据
tableData
:
[],
// 查询参数
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
inviterName
:
null
,
taxUnitName
:
null
}
}
},
created
()
{
this
.
getList
()
},
methods
:
{
/** 查询税地单位信息列表 */
getList
()
{
this
.
loading
=
true
querySignList
(
this
.
queryParams
).
then
(
response
=>
{
this
.
tableData
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
})
},
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
this
.
getList
()
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
resetForm
(
'
queryForm
'
)
this
.
handleQuery
()
},
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
'
business/unitInfo/export
'
,
{
...
this
.
queryParams
},
`unitInfo_
${
new
Date
().
getTime
()}
.xlsx`
)
},
doAgree
(
row
)
{
this
.
$confirm
(
`确认签订与
${
row
.
inviterName
}
的合约吗?`
,
'
操作提示
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
agreeSign
(
row
.
id
).
then
(
resp
=>
{
if
(
200
===
resp
.
code
)
{
this
.
$modal
.
msgSuccess
(
"
操作成功
"
)
this
.
getList
()
}
})
}).
catch
(()
=>
{});
}
}
}
</
script
>
src/views/login.vue
View file @
e401b534
...
@@ -11,13 +11,13 @@
...
@@ -11,13 +11,13 @@
</el-form-item>
</el-form-item>
<el-form-item
prop=
"password"
>
<el-form-item
prop=
"password"
>
<el-input
v-model=
"loginForm.password"
type=
"password"
auto-complete=
"off"
placeholder=
"密码"
<el-input
v-model=
"loginForm.password"
type=
"password"
auto-complete=
"off"
placeholder=
"密码"
@
keyup.enter.native=
"
getSmsCode
"
>
@
keyup.enter.native=
"
handleLogin
"
>
<svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
<svg-icon
slot=
"prefix"
icon-class=
"password"
class=
"el-input__icon input-icon"
/>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"code"
v-if=
"captchaEnabled"
>
<el-form-item
prop=
"code"
v-if=
"captchaEnabled"
>
<el-input
v-model=
"loginForm.code"
auto-complete=
"off"
placeholder=
"数字验证码"
style=
"width: 63%;"
<el-input
v-model=
"loginForm.code"
auto-complete=
"off"
placeholder=
"数字验证码"
style=
"width: 63%;"
@
keyup.enter.native=
"
getSmsCode
"
>
@
keyup.enter.native=
"
handleLogin
"
>
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
class=
"el-input__icon input-icon"
/>
<svg-icon
slot=
"prefix"
icon-class=
"validCode"
class=
"el-input__icon input-icon"
/>
</el-input>
</el-input>
<div
class=
"login-code"
>
<div
class=
"login-code"
>
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:12px 0px 25px 0px;"
>
记住密码
</el-checkbox>
<el-checkbox
v-model=
"loginForm.rememberMe"
style=
"margin:12px 0px 25px 0px;"
>
记住密码
</el-checkbox>
<el-form-item
style=
"width:100%;"
>
<el-form-item
style=
"width:100%;"
>
<el-button
:loading=
"loading"
size=
"medium"
type=
"primary"
style=
"width:100%;"
<el-button
:loading=
"loading"
size=
"medium"
type=
"primary"
style=
"width:100%;"
@
click.native.prevent=
"
getSmsCode
"
>
@
click.native.prevent=
"
handleLogin
"
>
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-if=
"!loading"
>
登 录
</span>
<span
v-else
>
登 录 中...
</span>
<span
v-else
>
登 录 中...
</span>
</el-button>
</el-button>
...
@@ -238,7 +238,7 @@ export default {
...
@@ -238,7 +238,7 @@ export default {
// this.loginRules.smsCode = [{ required: true, trigger: "change", message: "请输入短信验证码" }]
// this.loginRules.smsCode = [{ required: true, trigger: "change", message: "请输入短信验证码" }]
// this.$refs.loginForm.validate(valid => {
// this.$refs.loginForm.validate(valid => {
// if (valid) {
// if (valid) {
this
.
loginForm
.
smsCode
=
code
//
this.loginForm.smsCode = code
this
.
loading
=
true
;
this
.
loading
=
true
;
if
(
this
.
loginForm
.
rememberMe
)
{
if
(
this
.
loginForm
.
rememberMe
)
{
Cookies
.
set
(
"
username
"
,
this
.
loginForm
.
username
,
{
expires
:
30
});
Cookies
.
set
(
"
username
"
,
this
.
loginForm
.
username
,
{
expires
:
30
});
...
...
src/views/statistics/index.vue
View file @
e401b534
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<el-table-column
prop=
"actualPayable"
label=
"实发工资(元)"
>
<el-table-column
prop=
"actualPayable"
label=
"实发工资(元)"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"公司承担部分"
>
<el-table-column
label=
"公司承担部分"
>
<el-table-column
prop=
"gsbxCompanyMoney"
label=
"工
商
保险(元)"
>
<el-table-column
prop=
"gsbxCompanyMoney"
label=
"工
伤
保险(元)"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"providentFundCompanyMoney"
label=
"公积金(元)"
>
<el-table-column
prop=
"providentFundCompanyMoney"
label=
"公积金(元)"
>
</el-table-column>
</el-table-column>
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
label=
"个人承担部分"
>
<el-table-column
label=
"个人承担部分"
>
<el-table-column
prop=
"gsbxPersonalMoney"
label=
"工
商
保险(元)"
>
<el-table-column
prop=
"gsbxPersonalMoney"
label=
"工
伤
保险(元)"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"providentFundPersonalMoney"
label=
"公积金(元)"
>
<el-table-column
prop=
"providentFundPersonalMoney"
label=
"公积金(元)"
>
</el-table-column>
</el-table-column>
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
<el-table-column
prop=
"actualPayable"
label=
"实发工资(元)"
>
<el-table-column
prop=
"actualPayable"
label=
"实发工资(元)"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"公司承担部分"
>
<el-table-column
label=
"公司承担部分"
>
<el-table-column
prop=
"gsbxCompanyMoney"
label=
"工
商
保险(元)"
>
<el-table-column
prop=
"gsbxCompanyMoney"
label=
"工
伤
保险(元)"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"providentFundCompanyMoney"
label=
"公积金(元)"
>
<el-table-column
prop=
"providentFundCompanyMoney"
label=
"公积金(元)"
>
</el-table-column>
</el-table-column>
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
</el-table-column>
</el-table-column>
</el-table-column>
</el-table-column>
<el-table-column
label=
"个人承担部分"
>
<el-table-column
label=
"个人承担部分"
>
<el-table-column
prop=
"gsbxPersonalMoney"
label=
"工
商
保险(元)"
>
<el-table-column
prop=
"gsbxPersonalMoney"
label=
"工
伤
保险(元)"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"providentFundPersonalMoney"
label=
"公积金(元)"
>
<el-table-column
prop=
"providentFundPersonalMoney"
label=
"公积金(元)"
>
</el-table-column>
</el-table-column>
...
...
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