Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-register
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-register
Commits
d7a30bec
提交
d7a30bec
authored
4月 07, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
f7637e0a
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
18 行增加
和
12 行删除
+18
-12
audltDialog.vue
src/modules/audit/components/audltDialog.vue
+11
-3
payVoucher.vue
src/modules/audit/components/payVoucher.vue
+3
-7
List.vue
src/modules/audit/views/List.vue
+4
-2
没有找到文件。
src/modules/audit/components/audltDialog.vue
浏览文件 @
d7a30bec
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<el-form
ref=
"form"
label-width=
"10px"
>
<el-form
ref=
"form"
label-width=
"10px"
>
<el-form-item
prop=
"status"
>
<el-form-item
prop=
"status"
>
<el-radio-group
v-model=
"auditInfo.status"
>
<el-radio-group
v-model=
"auditInfo.status"
>
<el-radio
label=
"1"
:disabled=
"
auditInfo.status !=
= '0'"
>
通过
</el-radio>
<el-radio
label=
"1"
:disabled=
"
status !
= '0'"
>
通过
</el-radio>
<el-radio
label=
"2"
:disabled=
"
auditInfo.status !=
= '0'"
>
驳回
</el-radio>
<el-radio
label=
"2"
:disabled=
"
status !
= '0'"
>
驳回
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"reason"
>
<el-form-item
prop=
"reason"
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
:rows=
"2"
:rows=
"2"
placeholder=
"原因(选填)"
placeholder=
"原因(选填)"
v-model=
"auditInfo.cause"
v-model=
"auditInfo.cause"
:disabled=
"
auditInfo.status !=
= '0'"
:disabled=
"
status !
= '0'"
>
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -36,12 +36,20 @@ export default {
...
@@ -36,12 +36,20 @@ export default {
data
()
{
data
()
{
return
{
return
{
status
:
'1'
,
dialogVisible
:
false
dialogVisible
:
false
}
}
},
},
mounted
()
{
this
.
status
=
this
.
auditInfo
.
status
},
methods
:
{
methods
:
{
// 提交审核结果
// 提交审核结果
handleAudit
()
{
handleAudit
()
{
if
(
this
.
auditInfo
.
status
===
'0'
)
{
this
.
$message
.
warning
(
'请选项审核状态'
)
return
}
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'update:visible'
,
false
)
this
.
$emit
(
'audlt'
,
this
.
auditInfo
)
this
.
$emit
(
'audlt'
,
this
.
auditInfo
)
}
}
...
...
src/modules/audit/components/payVoucher.vue
浏览文件 @
d7a30bec
<
template
>
<
template
>
<el-dialog
v-bind=
"$attrs"
v-on=
"$listeners"
center
width=
"40%"
>
<el-dialog
v-bind=
"$attrs"
v-on=
"$listeners"
center
width=
"40%"
>
<!--
<img
<img
:src=
"row"
alt=
""
class=
"voucher_img"
/>
src=
"https://img0.baidu.com/it/u=2631861690,326885075&fm=253&fmt=auto&app=138&f=JPEG?w=550&h=392"
<!--
<div
class=
"voucher_img"
v-html=
"row"
></div>
-->
alt=
""
class=
"voucher_img"
/>
-->
<div
class=
"voucher_img"
>
{{
row
}}
</div>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
...
@@ -23,7 +19,7 @@ export default {
...
@@ -23,7 +19,7 @@ export default {
::v-deep
{
::v-deep
{
.el-dialog__body
{
.el-dialog__body
{
width
:
80%
!
important
;
width
:
80%
!
important
;
img
{
.voucher_
img
{
width
:
100%
;
width
:
100%
;
margin-left
:
50px
;
margin-left
:
50px
;
}
}
...
...
src/modules/audit/views/List.vue
浏览文件 @
d7a30bec
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
@
cancel=
"dialogVisible = false"
@
cancel=
"dialogVisible = false"
@
audlt=
"handleAudlt"
@
audlt=
"handleAudlt"
:auditInfo=
"auditInfo"
:auditInfo=
"auditInfo"
v-if=
"auditInfo.status != '' && dialogVisible"
/>
/>
</app-card>
</app-card>
</template>
</template>
...
@@ -35,6 +36,7 @@ export default {
...
@@ -35,6 +36,7 @@ export default {
components
:
{
audltDialog
,
PayVoucher
},
components
:
{
audltDialog
,
PayVoucher
},
data
()
{
data
()
{
return
{
return
{
isDisabled
:
''
,
voucher
:
''
,
voucher
:
''
,
auditInfo
:
{
auditInfo
:
{
cause
:
''
,
cause
:
''
,
...
@@ -112,7 +114,7 @@ export default {
...
@@ -112,7 +114,7 @@ export default {
this
.
centerDialogVisible
=
true
this
.
centerDialogVisible
=
true
},
},
handleAudltDialog
(
row
)
{
handleAudltDialog
(
row
)
{
console
.
log
(
row
.
status
,
row
.
cause
,
row
.
id
)
console
.
log
(
row
.
status
,
row
.
cause
,
row
.
id
,
'123'
)
this
.
auditInfo
.
status
=
row
.
status
this
.
auditInfo
.
status
=
row
.
status
this
.
auditInfo
.
cause
=
row
.
cause
this
.
auditInfo
.
cause
=
row
.
cause
this
.
auditInfo
.
id
=
row
.
id
this
.
auditInfo
.
id
=
row
.
id
...
@@ -122,7 +124,7 @@ export default {
...
@@ -122,7 +124,7 @@ export default {
handleAudlt
(
val
)
{
handleAudlt
(
val
)
{
auditResult
(
val
).
then
(
res
=>
{
auditResult
(
val
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
res
.
code
===
0
)
{
this
.
$message
.
success
(
'审核通过'
)
this
.
$message
.
success
(
res
.
message
)
}
}
this
.
$refs
.
list
.
refetch
()
this
.
$refs
.
list
.
refetch
()
})
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论