Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
192baa40
authored
2024-03-20 17:14:56 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1111
1 parent
07a8d673
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
45 deletions
src/api/sfxx.js
src/views/workflow/main/sdqxx/index.vue
src/api/sfxx.js
View file @
192baa4
...
...
@@ -77,21 +77,3 @@ export function deleteSfmx (bsmSf) {
}
})
}
export
function
getDlxxByBsmSldy
(
bsmSldy
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/dlxx/getDlxxByBsmSldy'
,
method
:
'get'
,
params
:
{
bsmSldy
:
bsmSldy
}
})
}
export
function
saveOrUpdateDlxx
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/ywbl/dlxx/saveOrUpdateDlxx'
,
method
:
'post'
,
data
})
}
...
...
src/views/workflow/main/sdqxx/index.vue
View file @
192baa4
...
...
@@ -11,7 +11,8 @@
v-Loading=
"loading"
:label-position=
"flag ? 'top' : ''"
:inline=
"flag"
label-width=
"130px"
>
label-width=
"130px"
>
<div
class=
"slxx_con"
:class=
"flag ? 'formMarginBot0' : ''"
>
<div
class=
"slxx_title title-block"
>
申请信息
...
...
@@ -70,6 +71,8 @@
</el-row>
<div
class=
"slxx_title title-block"
>
电力过户信息
<el-button
@
click=
"showDialogDlxx"
>
电力过户信息修改
</el-button>
<div
class=
"triangle"
></div>
</div>
<el-row
:gutter=
"10"
>
...
...
@@ -138,12 +141,14 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否过户:"
>
<el-switch
disabled
<el-switch
disabled
v-model=
"dlxxForm.SFGH"
:active-value=
'1'
:active-value=
"1"
active-text=
"是"
:inactive-value=
"0"
inactive-text=
"否"
>
inactive-text=
"否"
>
</el-switch>
</el-form-item>
</el-col>
...
...
@@ -166,33 +171,37 @@
<div
class=
"triangle"
></div>
</div>
</div>
</el-form>
<el-dialog
:visible
.
sync=
"dialogDlxx"
title=
"电力过户信息修改"
>
<div
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
plain
>
保存
</el-button>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
{
getDlxxByBsmSldy
,
saveOrUpdateDlxx
}
from
"@/api/sfxx.js"
;
import
{
getDetail
}
from
"@/api/workflow/swhtxx.js"
;
export
default
{
import
{
mapGetters
}
from
"vuex"
;
import
{
getDetail
}
from
"@/api/workflow/swhtxx.js"
;
export
default
{
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
},
mounted
()
{
mounted
()
{
// this.loading = true
this
.
viewEdit
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
this
.
propsParam
=
this
.
$attrs
;
this
.
getDlxxByBsmSldy
();
},
data
()
{
data
()
{
return
{
dialogDlxx
:
false
,
loading
:
false
,
//表单是否可操作
viewEdit
:
false
,
ruleForm
:
{
},
dlxxForm
:{}
}
ruleForm
:
{},
dlxxForm
:
{},
};
},
methods
:
{
getDlxxByBsmSldy
()
{
...
...
@@ -205,20 +214,16 @@
}
});
},
saveOrUpdateDlxx
()
{
saveOrUpdateDlxx
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"成功"
)
}
});
onSubmit
()
{
},
onSubmit
()
{
this
.
saveOrUpdateDlxx
()
}
}
showDialogDlxx
()
{
this
.
dialogDlxx
=
true
;
}
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
</
style
>
...
...
Please
register
or
sign in
to post a comment