Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李苏
sgaqgl-vue
Commits
05901354
Commit
05901354
authored
Jan 13, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三维编辑权限
parent
ef432947
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
4 deletions
+75
-4
enterTV.js
src/api/threeViolations/enterTV.js
+9
-0
exposure.vue
src/views/threeViolations/tFPasses/exposure.vue
+18
-1
leadership.vue
src/views/threeViolations/tFPasses/leadership.vue
+16
-1
reflect.vue
src/views/threeViolations/tFPasses/reflect.vue
+16
-1
safetyCourse.vue
src/views/threeViolations/tFPasses/safetyCourse.vue
+16
-1
No files found.
src/api/threeViolations/enterTV.js
View file @
05901354
...
...
@@ -119,3 +119,12 @@ export function doCancel(query) {
data
:
query
||
{}
})
}
/* 三维开启编辑权限 */
export
function
beforeEdit
(
query
)
{
return
request
({
url
:
`/aqgl/swgl/swjl/beforeEdit`
,
method
:
'post'
,
data
:
query
||
{}
})
}
\ No newline at end of file
src/views/threeViolations/tFPasses/exposure.vue
View file @
05901354
...
...
@@ -3,7 +3,7 @@
<el-row
class=
"tool-bar"
>
<AttachFileShow
:params=
"
{childPath:'BGLX'}" :app='vMain'>
</AttachFileShow>
<el-button
size=
'mini'
@
click
.
native=
"
readonly=false;$success('开启编辑')
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"
beforeEdit
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 表头设置 -->
...
...
@@ -39,7 +39,12 @@
</
template
>
<
script
>
import
{
beforeEdit
}
from
'@/api/threeViolations/enterTV.js'
;
export
default
{
data
()
{
return
{
...
...
@@ -49,6 +54,18 @@
},
props
:[
'vMain'
],
methods
:
{
beforeEdit
(){
beforeEdit
({
ywlx
:
'BGLX'
,
id
:
this
.
vMain
.
rowItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
readonly
=
false
;
this
.
$success
(
'开启编辑'
)
}
})
},
save
(){
let
params
=
this
.
vMain
.
rowItem
this
.
vMain
.
apiPg
(
params
).
then
(
res
=>
{
...
...
src/views/threeViolations/tFPasses/leadership.vue
View file @
05901354
...
...
@@ -3,7 +3,7 @@
<el-row
class=
"tool-bar"
>
<AttachFileShow
:params=
"
{childPath:'LDTH'}" :app='vMain'>
</AttachFileShow>
<el-button
size=
'mini'
@
click
.
native=
"
readonly=false;$success('开启编辑')
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"
beforeEdit
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 表头设置 -->
...
...
@@ -52,6 +52,9 @@
</
template
>
<
script
>
import
{
beforeEdit
}
from
'@/api/threeViolations/enterTV.js'
;
export
default
{
data
()
{
return
{
...
...
@@ -61,6 +64,18 @@
},
props
:[
'vMain'
],
methods
:
{
beforeEdit
(){
beforeEdit
({
ywlx
:
'LDTH'
,
id
:
this
.
vMain
.
rowItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
readonly
=
false
;
this
.
$success
(
'开启编辑'
)
}
})
},
ldbjyrSelected
(
row
){
this
.
vMain
.
rowItem
.
ldbjyrid
=
row
.
id
},
...
...
src/views/threeViolations/tFPasses/reflect.vue
View file @
05901354
...
...
@@ -3,7 +3,7 @@
<el-row
class=
"tool-bar"
>
<AttachFileShow
:params=
"
{childPath:'FSJC'}" :app='vMain'>
</AttachFileShow>
<el-button
size=
'mini'
@
click
.
native=
"
readonly=false;$success('开启编辑')
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"
beforeEdit
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 表头设置 -->
...
...
@@ -39,6 +39,9 @@
</
template
>
<
script
>
import
{
beforeEdit
}
from
'@/api/threeViolations/enterTV.js'
;
export
default
{
data
()
{
return
{
...
...
@@ -47,6 +50,18 @@
},
props
:[
'vMain'
],
methods
:
{
beforeEdit
(){
beforeEdit
({
ywlx
:
'FSJC'
,
id
:
this
.
vMain
.
rowItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
readonly
=
false
;
this
.
$success
(
'开启编辑'
)
}
})
},
fsjyrSelected
(){
this
.
vMain
.
rowItem
.
fsjyrid
=
row
.
id
},
...
...
src/views/threeViolations/tFPasses/safetyCourse.vue
View file @
05901354
...
...
@@ -3,7 +3,7 @@
<el-row
class=
"tool-bar"
>
<AttachFileShow
:params=
"
{childPath:'AQBK'}" :app='vMain'>
</AttachFileShow>
<el-button
size=
'mini'
@
click
.
native=
"
readonly=false;$success('开启编辑')
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"
beforeEdit
"
type=
"primary"
>
编辑
</el-button>
<el-button
size=
'mini'
@
click
.
native=
"save()"
type=
"primary"
>
保存
</el-button>
<!-- 额外按钮-->
<!-- 表头设置 -->
...
...
@@ -39,6 +39,9 @@
</
template
>
<
script
>
import
{
beforeEdit
}
from
'@/api/threeViolations/enterTV.js'
;
export
default
{
data
()
{
return
{
...
...
@@ -47,6 +50,18 @@
},
props
:[
'vMain'
],
methods
:
{
beforeEdit
(){
beforeEdit
({
ywlx
:
'AQBK'
,
id
:
this
.
vMain
.
rowItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
this
.
readonly
=
false
;
this
.
$success
(
'开启编辑'
)
}
})
},
aqjyrSelected
(
row
){
this
.
vMain
.
rowItem
.
aqjyrid
=
row
.
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