Skip to content
项目
群组
代码片段
帮助
正在加载...
登录/注册
切换导航
广
广东建设用地-前端
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
广东建设用地
广东建设用地-前端
Commits
5a164f45
提交
5a164f45
authored
1月 02, 2025
作者:
jinrongbin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
后期管理详情页面增加意见历史记录表格
上级
a32408fc
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
84 行增加
和
2 行删除
+84
-2
hqglProgress.vue
src/components/customComponent/hqglProgress.vue
+72
-0
add.vue
src/views/dkgl/hqgl/add.vue
+7
-1
jgInfor.vue
src/views/dkgl/hqgl/jgInfor.vue
+5
-1
没有找到文件。
src/components/customComponent/hqglProgress.vue
0 → 100644
浏览文件 @
5a164f45
<
template
>
<table
style=
"width: 100%; table-layout: fixed"
border=
"1"
cellspacing=
"1"
v-if=
"List.length > 0"
>
<tbody>
<template
v-for=
"(item, index) in List"
:key=
"index"
>
<tr
class=
"ant-table-cell ant-table-cell-ellipsis"
>
<td
class=
"ant-table-cell ant-table-cell-ellipsis bgColor bg1"
width=
"10%"
>
处理时间
</td>
<td
class=
"ant-table-cell ant-table-cell-ellipsis bg1"
colspan=
"3"
>
{{
item
.
createTsamp
}}
</td>
</tr>
<tr
class=
""
>
<td
class=
"bgColor"
width=
"10%"
>
<span>
指导意见
</span>
</td>
<td
style=
"width: 90%; word-wrap: break-word; word-break: break-all"
colspan=
"3"
>
{{
item
.
clyj
}}
</td>
</tr>
<!-- 判断字段是否显示 -->
<tr
class=
"ant-table-cell ant-table-cell-ellipsis"
v-if=
"item.clyjfj"
>
<td
class=
"ant-table-cell ant-table-cell-ellipsis bgColor"
width=
"10%"
>
文件
</td>
<td
class=
"ant-table-cell ant-table-cell-ellipsis"
colspan=
"3"
>
<a-button
preIcon=
"ant-design:vertical-align-bottom-outlined"
@
click=
"down(item)"
style=
"margin-left: 10px"
type=
"primary"
>
下载
</a-button>
</td>
</tr>
<tr
class=
"ant-table-cell ant-table-cell-ellipsis"
>
<td
class=
"ant-table-cell ant-table-cell-ellipsis bgColor"
width=
"10%"
>
意见下达人
</td>
<td
class=
"ant-table-cell ant-table-cell-ellipsis"
>
{{
item
.
realname
}}
</td>
</tr>
</
template
>
</tbody>
</table>
<div
v-else
class=
"text-center"
>
暂无填报记录
</div>
</template>
<
script
lang=
"ts"
setup
>
import
{
defineProps
}
from
'vue'
;
import
{
downloadFile
}
from
'/@/api/common/api'
;
const
props
=
defineProps
({
List
:
{
type
:
Array
,
default
:
()
=>
[],
},
// 定义传值对象
});
// 下载
function
down
(
item
)
{
let
fileExtension
=
item
.
clyjfj
.
split
(
'.'
).
pop
();
downloadFile
(
'/sys/common/static'
+
item
.
clyjfj
,
`指导意见文件.
${
fileExtension
}
`
);
}
</
script
>
<
style
scoped
>
table
{
border-collapse
:
collapse
;
border
:
1px
#dfe6ec
solid
;
}
tbody
tr
td
{
padding
:
6px
;
height
:
40px
;
}
.bgColor
{
background-color
:
rgba
(
244
,
247
,
249
,
0.8
);
text-align
:
center
;
}
.bg1
{
background-color
:
#c8d1d1
;
}
</
style
>
src/views/dkgl/hqgl/add.vue
浏览文件 @
5a164f45
...
...
@@ -24,7 +24,12 @@
<a-button
type=
"primary"
class=
"ml-5"
v-if=
"index != 0"
@
click
.
prevent=
"del($event, index)"
>
删除
</a-button>
</
template
>
</a-collapse-panel>
<a-collapse-panel
header=
"意见"
key=
"150"
>
<hqglProgress
:List=
"data.yjList"
/>
</a-collapse-panel>
</a-collapse>
<AdviceModal
@
register=
"registerAdviceModal"
></AdviceModal>
</template>
...
...
@@ -33,9 +38,10 @@
import
Environment
from
'./components/environment.vue'
;
import
TestingUnit
from
'./components/TestingUnit.vue'
;
import
AdviceModal
from
'@/components/customComponent/AdviceModal.vue'
;
import
hqglProgress
from
'/@/components/customComponent/hqglProgress.vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
addGljl
}
from
'./api'
;
const
activeKey
=
ref
([
'1'
,
'2'
,
'3'
,
'4'
,
'5'
]);
const
activeKey
=
ref
([
'1'
,
'2'
,
'3'
,
'4'
,
'5'
,
'150'
]);
let
router
=
useRouter
();
const
wrdkid
=
ref
(
router
.
currentRoute
.
value
.
query
.
wrdkid
);
const
data
=
ref
<
any
>
({});
...
...
src/views/dkgl/hqgl/jgInfor.vue
浏览文件 @
5a164f45
...
...
@@ -25,6 +25,9 @@
<a-collapse-panel
key=
"5"
header=
"后期监管监测数据"
>
<PointInfor
ref=
"trwrjc"
:type=
"type"
:data=
"data?.jcsjList"
/>
</a-collapse-panel>
<a-collapse-panel
header=
"意见"
key=
"150"
>
<hqglProgress
:List=
"data.yjList"
/>
</a-collapse-panel>
</a-collapse>
<AdviceModal
@
register=
"registerAdviceModal"
></AdviceModal>
</div>
...
...
@@ -35,6 +38,7 @@
import
Environment
from
'./components/environment.vue'
;
import
TestingUnit
from
'./components/TestingUnit.vue'
;
import
AdviceModal
from
'@/components/customComponent/AdviceModal.vue'
;
import
hqglProgress
from
'/@/components/customComponent/hqglProgress.vue'
;
import
PointInfor
from
'/@/components/customComponent/jgdk/PointInfor.vue'
;
import
{
useRouter
}
from
'vue-router'
;
...
...
@@ -43,7 +47,7 @@
import
{
useModal
}
from
'/@/components/Modal'
;
const
[
registerAdviceModal
,
{
openModal
:
openAdviceModal
}]
=
useModal
();
let
router
=
useRouter
();
const
activeKey
=
ref
([
'1'
,
'2'
,
'3'
,
'4'
,
'5'
]);
const
activeKey
=
ref
([
'1'
,
'2'
,
'3'
,
'4'
,
'5'
,
'150'
]);
const
wrdkid
=
ref
(
router
.
currentRoute
.
value
.
query
.
wrdkid
);
const
data
=
ref
<
any
>
({});
const
type
=
ref
<
any
>
(
router
.
currentRoute
.
value
.
query
.
type
)
||
'edit'
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论