Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
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
xinzhedeai
GaoQuYingJiH5-ASD
Commits
e218467f
Commit
e218467f
authored
Jul 30, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better:特种作业提醒事项模块整合处理
parent
79b3faaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
_tezhongzuoye_detail.js
src/_tezhongzuoye_detail.js
+37
-0
No files found.
src/_tezhongzuoye_detail.js
View file @
e218467f
...
@@ -4,11 +4,13 @@
...
@@ -4,11 +4,13 @@
* description: 商户首页
* description: 商户首页
*/
*/
var
VUE
=
null
var
VUE
=
null
var
quill
=
null
window
.
addEventListener
(
"
load
"
,
function
()
{
window
.
addEventListener
(
"
load
"
,
function
()
{
VUE
=
new
Vue
({
VUE
=
new
Vue
({
el
:
'
#app
'
,
el
:
'
#app
'
,
data
()
{
data
()
{
return
{
return
{
detailInfo
:
{},
showTipPopup
:
false
,
showTipPopup
:
false
,
previewUrl
:
BASE_URL
,
previewUrl
:
BASE_URL
,
flag
:
'
XQ
'
,
flag
:
'
XQ
'
,
...
@@ -85,6 +87,7 @@ window.addEventListener("load", function() {
...
@@ -85,6 +87,7 @@ window.addEventListener("load", function() {
showTipPage
(){
showTipPage
(){
this
.
showTipPopup
=
true
this
.
showTipPopup
=
true
this
.
detail
()
return
return
// let param = {
// let param = {
...
@@ -96,6 +99,40 @@ window.addEventListener("load", function() {
...
@@ -96,6 +99,40 @@ window.addEventListener("load", function() {
// gemhoUtil.navigatePage(url, '跳转中...')
// gemhoUtil.navigatePage(url, '跳转中...')
},
},
detail
()
{
// 隐患详情
vant
.
Toast
.
loading
({
message
:
'
正在加载...
'
,
forbidClick
:
true
,
loadingType
:
'
spinner
'
,
});
http2
.
post
({
serviceId
:
API_KEY_MAP
[
"
no-page
"
][
'
id
'
],
interfacePublicKey
:
API_KEY_MAP
[
"
no-page
"
][
"
publicKey
"
],
interfacePrivateKey
:
API_KEY_MAP
[
"
no-page
"
][
"
privateKey
"
],
reqParams
:
{
sign
:
34
,
// 隐患详情
workType
:
this
.
formData
.
workType
,
}
},
(
res
)
=>
{
if
(
res
)
{
console
.
log
(
'
接口回调数据
'
,
JSON
.
parse
(
res
))
setTimeout
(()
=>
{
this
.
$nextTick
(()
=>
{
vant
.
Toast
.
clear
()
})
},
0
);
this
.
detailInfo
=
JSON
.
parse
(
res
).
data
// 初始化编辑器
quill
=
new
Quill
(
'
#editor-container
'
,
{
theme
:
'
snow
'
,
readOnly
:
true
,
modules
:
{
toolbar
:
false
// 关键配置:禁用工具栏
},
});
quill
.
root
.
innerHTML
=
this
.
detailInfo
||
'
该特种作业类型下暂无提醒事项内容,请联系管理员
'
}
})
},
getDict4tab1
()
{
getDict4tab1
()
{
http2
.
post
({
http2
.
post
({
serviceId
:
API_KEY_MAP
[
"
page
"
][
'
id
'
],
serviceId
:
API_KEY_MAP
[
"
page
"
][
'
id
'
],
...
...
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