Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
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
Kimber
ZiBoYingJI
Commits
9b3acd48
Commit
9b3acd48
authored
Aug 07, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
矿山删除 企业删除
parent
40b72ed3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
4 deletions
+26
-4
mine.js
src/api/kd/mine.js
+2
-2
opencast.vue
src/views/kd/e/mine/opencast.vue
+23
-1
underground.vue
src/views/kd/e/mine/underground.vue
+1
-1
No files found.
src/api/kd/mine.js
View file @
9b3acd48
...
@@ -194,14 +194,14 @@ export default {
...
@@ -194,14 +194,14 @@ export default {
},
},
deleteOpencastById
:
(
ids
)
=>
{
deleteOpencastById
:
(
ids
)
=>
{
return
request
({
return
request
({
url
:
'
api/
enterprise
'
,
url
:
'
api/
mine/opencast
'
,
method
:
'
delete
'
,
method
:
'
delete
'
,
data
:
ids
data
:
ids
})
})
},
},
deleteUndergroundById
:
(
ids
)
=>
{
deleteUndergroundById
:
(
ids
)
=>
{
return
request
({
return
request
({
url
:
'
api/
enterprise
'
,
url
:
'
api/
mine/underground
'
,
method
:
'
delete
'
,
method
:
'
delete
'
,
data
:
ids
data
:
ids
})
})
...
...
src/views/kd/e/mine/opencast.vue
View file @
9b3acd48
...
@@ -462,7 +462,9 @@
...
@@ -462,7 +462,9 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
round
@
click=
"beginLook(scope.row.id)"
>
查看
</el-button>
<el-button
size=
"mini"
round
@
click=
"beginLook(scope.row.id)"
>
查看
</el-button>
<el-button
v-if=
"scope.row.hasEnable"
size=
"mini"
round
@
click=
"beginEdit(scope.row.id)"
>
编辑
</el-button>
<el-button
v-if=
"scope.row.hasEnable"
size=
"mini"
round
@
click=
"beginEdit(scope.row.id)"
>
编辑
</el-button>
<el-button
v-if=
"scope.row.hasEnable"
size=
"mini"
round
@
click=
"beginStopApply(scope.row.id)"
>
申请停产
</el-button>
<el-button
size=
"mini"
round
@
click=
"beginDelete(scope.row)"
>
删除
</el-button>
<!--
<el-button
v-if=
"scope.row.hasEnable"
size=
"mini"
round
@
click=
"beginStopApply(scope.row.id)"
>
申请停产
</el-button>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -609,6 +611,26 @@ export default {
...
@@ -609,6 +611,26 @@ export default {
this
.
$refs
[
'
dialog1Form
'
].
clearValidate
()
this
.
$refs
[
'
dialog1Form
'
].
clearValidate
()
})
})
},
},
beginDelete
(
row
){
this
.
$confirm
(
"
确定要删除吗?
"
,
"
提示
"
,
{
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
}).
then
(
()
=>
{
mineApi
.
deleteOpencastById
([
row
.
id
]).
then
((
res
)
=>
{
this
.
$message
.
success
(
"
操作成功
"
);
this
.
searchSubmit
();
});
},
()
=>
{
this
.
$message
({
type
:
"
info
"
,
message
:
"
已取消删除
"
,
});
}
);
},
beginEdit
(
id
)
{
beginEdit
(
id
)
{
this
.
beforeDialog1Open
()
this
.
beforeDialog1Open
()
this
.
editState
=
2
this
.
editState
=
2
...
...
src/views/kd/e/mine/underground.vue
View file @
9b3acd48
...
@@ -572,7 +572,7 @@ export default {
...
@@ -572,7 +572,7 @@ export default {
type
:
"
warning
"
,
type
:
"
warning
"
,
}).
then
(
}).
then
(
()
=>
{
()
=>
{
mineApi
.
delete
Opencast
ById
([
row
.
id
]).
then
((
res
)
=>
{
mineApi
.
delete
Underground
ById
([
row
.
id
]).
then
((
res
)
=>
{
this
.
$message
.
success
(
"
操作成功
"
);
this
.
$message
.
success
(
"
操作成功
"
);
this
.
searchSubmit
();
this
.
searchSubmit
();
});
});
...
...
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