Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
574734b0
提交
574734b0
authored
2月 11, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
审批时预览
上级
4c556ef6
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
80 行增加
和
46 行删除
+80
-46
ArchiveList.vue
...-risk-client-39/src/views/baosong/archive/ArchiveList.vue
+1
-0
BaosongTaskReview.data.ts
...ent-39/src/views/baosong/review/BaosongTaskReview.data.ts
+0
-1
BaosongTaskReviewList.vue
...ent-39/src/views/baosong/review/BaosongTaskReviewList.vue
+77
-13
BaosongApproveModal.vue
...c/views/baosong/review/components/BaosongApproveModal.vue
+2
-32
没有找到文件。
zrch-risk-client-39/src/views/baosong/archive/ArchiveList.vue
浏览文件 @
574734b0
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
import
{
BasicTable
,
useTable
,
TableAction
}
from
'/@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'/@/components/Table'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
ArchiveDrawer
from
'./ArchiveDrawer.vue'
;
import
ArchiveDrawer
from
'./ArchiveDrawer.vue'
;
import
{
columns
,
searchFormSchema
}
from
'/@/views/baosong/task/BaosongTask.data'
;
import
{
columns
,
searchFormSchema
}
from
'/@/views/baosong/task/BaosongTask.data'
;
import
{
archiveList
}
from
'/@/views/baosong/task/BaosongTask.api'
;
import
{
archiveList
}
from
'/@/views/baosong/task/BaosongTask.api'
;
...
...
zrch-risk-client-39/src/views/baosong/review/BaosongTaskReview.data.ts
浏览文件 @
574734b0
...
@@ -32,7 +32,6 @@ export const columns: BasicColumn[] = [
...
@@ -32,7 +32,6 @@ export const columns: BasicColumn[] = [
if
(
!
text
||
text
===
9
)
{
if
(
!
text
||
text
===
9
)
{
return
render
.
renderTag
(
"归档"
,
"gray"
);
return
render
.
renderTag
(
"归档"
,
"gray"
);
}
}
const
color
=
text
==
'L'
?
'blue'
:
text
==
'M'
?
'yellow'
:
'red'
;
const
color
=
text
==
'L'
?
'blue'
:
text
==
'M'
?
'yellow'
:
'red'
;
return
render
.
renderTag
(
render
.
renderDict
(
text
,
'priority'
),
color
);
return
render
.
renderTag
(
render
.
renderDict
(
text
,
'priority'
),
color
);
},
},
...
...
zrch-risk-client-39/src/views/baosong/review/BaosongTaskReviewList.vue
浏览文件 @
574734b0
...
@@ -12,15 +12,18 @@
...
@@ -12,15 +12,18 @@
</template>
</template>
<
script
lang=
"ts"
name=
"baosong-baosongTaskReview"
setup
>
<
script
lang=
"ts"
name=
"baosong-baosongTaskReview"
setup
>
import
{
ref
,
computed
,
onMounted
,
unref
}
from
'vue'
;
import
{
ref
,
nextTick
}
from
'vue'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'/@/components/Table'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'/@/components/Table'
;
import
{
useModal
}
from
'/@/components/Modal'
;
import
{
useModal
}
from
'/@/components/Modal'
;
import
{
message
}
from
'ant-design-vue'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
useListPage
}
from
'/@/hooks/system/useListPage'
;
import
{
getFileAccessHttpUrl
}
from
'/@/utils/common/compUtils'
;
import
{
columns
,
searchFormSchema
}
from
'./BaosongTaskReview.data'
;
import
{
columns
,
searchFormSchema
}
from
'./BaosongTaskReview.data'
;
import
{
list
,
deleteOne
,
batchDelete
,
downLoadTaskXml
,
saveOrUpdate
}
from
'./BaosongTaskReview.api'
;
import
{
list
,
deleteOne
,
batchDelete
,
downLoadTaskXml
,
saveOrUpdate
}
from
'./BaosongTaskReview.api'
;
import
BaosongApproveModal
from
'./components/BaosongApproveModal.vue'
;
import
BaosongApproveModal
from
'./components/BaosongApproveModal.vue'
;
import
{
useRoute
,
useRouter
}
from
'vue-router'
;
const
route
=
useRoute
();
const
router
=
useRouter
();
const
[
registerModal
,
{
openModal
}]
=
useModal
();
const
[
registerModal
,
{
openModal
}]
=
useModal
();
const
[
registerAppModal
,
{
openModal
:
openAppModal
}]
=
useModal
();
const
[
registerAppModal
,
{
openModal
:
openAppModal
}]
=
useModal
();
...
@@ -89,16 +92,21 @@
...
@@ -89,16 +92,21 @@
(
selectedRowKeys
.
value
=
[])
&&
reload
();
(
selectedRowKeys
.
value
=
[])
&&
reload
();
}
}
async
function
handlePreview
(
record
)
{
alert
(
JSON
.
stringify
(
record
));
await
gotoPage
(
record
);
}
function
getTableAction
(
record
)
{
function
getTableAction
(
record
)
{
return
[
return
[
{
{
label
:
'审核'
,
label
:
'审核'
,
onClick
:
handleApproval
.
bind
(
null
,
record
),
onClick
:
handleApproval
.
bind
(
null
,
record
),
},
},
//
{
{
// label: '下载
',
label
:
'预览
'
,
// onClick: downLoadXml
.bind(null, record),
onClick
:
handlePreview
.
bind
(
null
,
record
),
//
},
},
{
{
label
:
'归档'
,
label
:
'归档'
,
disabled
:
!
(
record
.
appSta
==
1
),
disabled
:
!
(
record
.
appSta
==
1
),
...
@@ -141,12 +149,68 @@
...
@@ -141,12 +149,68 @@
}
}
const
handleDownloadFile
=
(
filePath
)
=>
{
const
handleDownloadFile
=
(
filePath
)
=>
{
const
globOnlineViewUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_URL
;
const
globOnlineViewUrl
:
string
=
import
.
meta
.
env
.
VITE_GLOB_ONLINE_VIEW_URL
;
const
url
=
globOnlineViewUrl
+
filePath
;
const
url
=
globOnlineViewUrl
+
filePath
;
if
(
url
)
{
if
(
url
)
{
window
.
open
(
url
);
window
.
open
(
url
);
}
}
};
};
const
gotoPage
=
async
(
item
)
=>
{
let
targetPath
=
''
const
tplid
=
item
.
tplid
const
taskid
=
item
.
taskid
if
(
tplid
===
7
)
{
targetPath
=
'/baosong/report/components/Tb1'
}
else
if
(
tplid
===
8
)
{
targetPath
=
'/baosong/report/components/Tb2'
}
else
if
(
tplid
===
9
)
{
targetPath
=
'/baosong/report/components/Tb3'
}
else
if
(
tplid
===
10
)
{
targetPath
=
'/baosong/report/components/Tb4'
}
else
if
(
tplid
===
11
)
{
targetPath
=
'/baosong/report/components/Tb5'
}
else
if
(
tplid
===
12
)
{
targetPath
=
'/baosong/report/components/Tb6'
}
else
if
(
tplid
===
13
)
{
targetPath
=
'/baosong/report/components/Tb7'
}
else
if
(
tplid
===
14
)
{
targetPath
=
'/baosong/report/components/Tb8'
}
else
if
(
tplid
===
15
)
{
targetPath
=
'/baosong/report/components/Tb9'
}
else
if
(
tplid
===
16
)
{
targetPath
=
'/baosong/report/components/Tb10'
}
else
if
(
tplid
===
23
)
{
targetPath
=
'/baosong/report/components/Tb11'
}
else
if
(
tplid
===
25
)
{
targetPath
=
'/baosong/report/components/Rr1'
}
else
if
(
tplid
===
1
)
{
targetPath
=
'/baosong/report/components/Tm1'
}
else
if
(
tplid
===
20
)
{
targetPath
=
'/baosong/report/components/Tm2'
}
else
if
(
tplid
===
2
)
{
targetPath
=
'/baosong/report/components/Tq1'
}
else
if
(
tplid
===
3
)
{
targetPath
=
'/baosong/report/components/Tq2'
}
else
if
(
tplid
===
4
)
{
targetPath
=
'/baosong/report/components/Tq3'
}
else
if
(
tplid
===
5
)
{
targetPath
=
'/baosong/report/components/Tq4'
}
if
(
targetPath
)
{
await
nextTick
();
router
.
push
({
path
:
targetPath
,
query
:
{
taskId
:
taskid
,
tplId
:
tplid
,
comfrom
:
'archive'
}
});
}
}
</
script
>
</
script
>
<
style
scoped
></
style
>
<
style
scoped
></
style
>
zrch-risk-client-39/src/views/baosong/review/components/BaosongApproveModal.vue
浏览文件 @
574734b0
<
template
>
<
template
>
<BasicModal
v-bind=
"$attrs"
@
register=
"registerModal"
<BasicModal
v-bind=
"$attrs"
@
register=
"registerModal"
destroyOnClose
:title=
"title"
:width=
"800"
@
ok=
"handleSubmit"
okText=
"确定"
>
destroyOnClose
:title=
"title"
width=
"100%"
@
ok=
"handleSubmit"
okText=
"确定"
>
<BasicForm
@
register=
"registerForm"
/>
<div
class=
"split-container"
>
<div
class=
"left-panel"
>
<Tb
ref=
"tbRef"
/>
</div>
<div
class=
"right-panel"
>
<BasicForm
@
register=
"registerForm"
/>
</div>
</div>
</BasicModal>
</BasicModal>
</
template
>
</
template
>
...
@@ -20,10 +11,7 @@
...
@@ -20,10 +11,7 @@
import
{
BasicForm
,
useForm
}
from
'/@/components/Form/index'
;
import
{
BasicForm
,
useForm
}
from
'/@/components/Form/index'
;
import
{
formSchemaApprove
}
from
'../BaosongTaskReview.data'
;
import
{
formSchemaApprove
}
from
'../BaosongTaskReview.data'
;
import
{
saveOrUpdate
}
from
'../BaosongTaskReview.api'
;
import
{
saveOrUpdate
}
from
'../BaosongTaskReview.api'
;
import
Tb1
from
'/@/views/baosong/report/components/Tb1.vue'
;
const
{
createConfirm
}
=
useMessage
();
const
{
createConfirm
}
=
useMessage
();
const
showTab1
=
ref
(
false
);
// Emits声明
// Emits声明
const
emit
=
defineEmits
([
'register'
,
'success'
]);
const
emit
=
defineEmits
([
'register'
,
'success'
]);
const
isUpdate
=
ref
(
true
);
const
isUpdate
=
ref
(
true
);
...
@@ -84,24 +72,6 @@
...
@@ -84,24 +72,6 @@
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.split-container {
display: flex;
width: 100%;
height: 100%;
min-height: 500px;
}
.left-panel {
width: 70%;
padding-right: 10px;
border-right: 1px solid #e8e8e8;
}
.right-panel {
width: 30%;
padding-left: 10px;
}
/** 时间和数字输入框样式 */
/** 时间和数字输入框样式 */
:deep(.ant-input-number) {
:deep(.ant-input-number) {
width: 100%;
width: 100%;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论