Skip to content
项目
群组
代码片段
帮助
正在加载...
登录/注册
切换导航
广
广东建设用地-前端
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
广东建设用地
广东建设用地-前端
Commits
a32408fc
提交
a32408fc
authored
1月 02, 2025
作者:
jinrongbin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
后期管理增加下发意见功能
上级
232e5126
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
46 行增加
和
3 行删除
+46
-3
AdviceModal.vue
src/components/customComponent/AdviceModal.vue
+1
-0
add.vue
src/views/dkgl/hqgl/add.vue
+25
-2
jgInfor.vue
src/views/dkgl/hqgl/jgInfor.vue
+20
-1
没有找到文件。
src/components/customComponent/AdviceModal.vue
浏览文件 @
a32408fc
...
...
@@ -19,6 +19,7 @@
{
label
:
'污染地块ID'
,
field
:
'wrdkid'
,
component
:
'Input'
,
show
:
false
},
{
label
:
'阶段编码'
,
field
:
'scjdbm'
,
component
:
'Input'
,
show
:
false
},
{
label
:
'pgtype'
,
field
:
'pgtype'
,
component
:
'Input'
,
show
:
false
},
{
label
:
'remark'
,
field
:
'remark'
,
component
:
'Input'
,
show
:
false
},
//后期管理记录的ID
{
label
:
'意见'
,
field
:
'clyj'
,
...
...
src/views/dkgl/hqgl/add.vue
浏览文件 @
a32408fc
<
template
>
<a-page-header
style=
"border: 1px solid rgb(235, 237, 240)"
@
back=
"router.go(-1)"
>
<template
#
backIcon
>
<div><a-button
type=
"primary"
>
返回
</a-button></div>
<div>
<a-button
type=
"primary"
>
返回
</a-button>
</div>
</
template
>
<
template
#
title
>
<div></div>
<div>
<a-button
type=
"primary"
v-auth=
"'hqgl:xfyj'"
@
click
.
stop=
"backHistory()"
>
下达意见
</a-button>
</div>
</
template
>
</a-page-header>
<a-collapse
v-model:activeKey=
"activeKey"
>
<a-collapse-panel
key=
"1"
header=
"环境监测基本信息"
>
<Environment
ref=
"mgst"
:type=
"type"
:data=
"data"
:isRead=
"type == 'view'"
/>
<
template
#
extra
><a-button
type=
"primary"
v-if=
"type != 'view'"
@
click
.
prevent=
"saveMgst($event)"
>
保存
</a-button></
template
>
...
...
@@ -20,12 +25,14 @@
</
template
>
</a-collapse-panel>
</a-collapse>
<AdviceModal
@
register=
"registerAdviceModal"
></AdviceModal>
</template>
<
script
setup
lang=
"ts"
>
import
{
ref
,
nextTick
}
from
'vue'
;
import
Environment
from
'./components/environment.vue'
;
import
TestingUnit
from
'./components/TestingUnit.vue'
;
import
AdviceModal
from
'@/components/customComponent/AdviceModal.vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
addGljl
}
from
'./api'
;
const
activeKey
=
ref
([
'1'
,
'2'
,
'3'
,
'4'
,
'5'
]);
...
...
@@ -34,6 +41,9 @@
const
data
=
ref
<
any
>
({});
const
type
=
ref
(
router
.
currentRoute
.
value
.
query
.
type
);
const
unitList
=
ref
([{
id
:
null
}]);
import
{
useModal
}
from
'/@/components/Modal'
;
const
[
registerAdviceModal
,
{
openModal
:
openAdviceModal
}]
=
useModal
();
if
(
type
.
value
==
'view'
)
{
data
.
value
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'data'
)
||
{});
unitList
.
value
=
data
.
value
.
jcdwList
||
[{
id
:
null
}];
...
...
@@ -82,4 +92,17 @@
unitList
.
value
.
splice
(
index
,
1
);
unitS
.
value
.
splice
(
index
,
1
);
}
// 点击下达意见
function
backHistory
()
{
let
obj
:
any
=
{
wrdkid
:
data
.
value
.
wrdkid
,
scjdbm
:
'S18'
,
remark
:
data
.
value
.
id
,
title
:
'下达意见'
};
openAdviceModal
(
true
,
{
record
:
obj
,
showFooter
:
true
,
});
}
</
script
>
src/views/dkgl/hqgl/jgInfor.vue
浏览文件 @
a32408fc
...
...
@@ -5,7 +5,9 @@
<div><a-button
type=
"primary"
>
返回
</a-button></div>
</
template
>
<
template
#
title
>
<div></div>
<div>
</div>
</
template
>
</a-page-header>
<a-collapse
v-model:activeKey=
"activeKey"
>
...
...
@@ -24,6 +26,7 @@
<PointInfor
ref=
"trwrjc"
:type=
"type"
:data=
"data?.jcsjList"
/>
</a-collapse-panel>
</a-collapse>
<AdviceModal
@
register=
"registerAdviceModal"
></AdviceModal>
</div>
</template>
...
...
@@ -31,11 +34,14 @@
import
{
ref
,
nextTick
}
from
'vue'
;
import
Environment
from
'./components/environment.vue'
;
import
TestingUnit
from
'./components/TestingUnit.vue'
;
import
AdviceModal
from
'@/components/customComponent/AdviceModal.vue'
;
import
PointInfor
from
'/@/components/customComponent/jgdk/PointInfor.vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
addGljl
}
from
'./api'
;
import
{
useModal
}
from
'/@/components/Modal'
;
const
[
registerAdviceModal
,
{
openModal
:
openAdviceModal
}]
=
useModal
();
let
router
=
useRouter
();
const
activeKey
=
ref
([
'1'
,
'2'
,
'3'
,
'4'
,
'5'
]);
const
wrdkid
=
ref
(
router
.
currentRoute
.
value
.
query
.
wrdkid
);
...
...
@@ -102,6 +108,19 @@
unitList
.
value
.
splice
(
index
,
1
);
unitS
.
value
.
splice
(
index
,
1
);
}
// 点击下发意见
function
backHistory
()
{
let
obj
:
any
=
{
wrdkid
:
data
.
value
.
wrdkid
,
scjdbm
:
'S19'
,
remark
:
data
.
value
.
id
,
title
:
'下发意见'
};
openAdviceModal
(
true
,
{
record
:
obj
,
showFooter
:
true
,
});
}
</
script
>
<
style
lang=
"less"
scoped
></
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论