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
fad6d732
authored
2023-04-11 15:00:57 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:弹框修改
1 parent
076016c8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
50 deletions
src/utils/request.js
src/views/sqcx/jtfc/components/addjtfc.vue
src/views/system/dictionaries/components/editDialog.vue
src/views/system/qtjfjmb/components/editDialog.vue
src/views/system/qtjfjmb/qtjfjmb.vue
src/views/system/sqywgz/sqywDetail.vue
src/views/zsgl/zsff/components/addDialog.vue
src/views/zsgl/zsrk/components/addDialog.vue
src/utils/request.js
View file @
fad6d73
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-04-11 14:48:18
*/
/**
* 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
*/
...
...
src/views/sqcx/jtfc/components/addjtfc.vue
View file @
fad6d73
...
...
@@ -122,7 +122,7 @@ export default {
},
methods
:
{
closeDialog
()
{
this
.
$
emit
(
"input"
,
false
);
this
.
$
popupCacel
()
this
.
form
=
{
djSqcxDO
:
{
ycqrgx
:
"1"
,
cxyt
:
""
},
sqrList
:
[],
...
...
src/views/system/dictionaries/components/editDialog.vue
View file @
fad6d73
...
...
@@ -258,10 +258,8 @@ export default {
message
:
'修改成功'
,
type
:
'success'
})
this
.
$
emit
(
'input'
,
false
)
this
.
$
popupCacel
(
)
}
}).
catch
((
error
)
=>
{
this
.
$endLoading
();
})
},
// 增加下级
...
...
src/views/system/qtjfjmb/components/editDialog.vue
View file @
fad6d73
<
template
>
<dialogBox
title=
"其他及附记模板"
@
submitForm=
"submitForm"
width=
"60%"
class=
"loadingtext"
@
closeDialog=
"closeDialog"
v-model=
"myValue"
>
<div>
<div
class=
"qtjfjmb-edit-title"
>
<b>
权利信息
</b>
</div>
...
...
@@ -107,39 +106,37 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
plain
>
确定
</el-button>
</el-form-item>
</el-form>
</di
alogBox
>
</di
v
>
</
template
>
<
script
>
import
{
updateSysSqywmbsz
,
getSysSqywmbszDetailById
}
from
'@/api/system'
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bsmMb
:
{
type
:
String
,
default
:
''
formData
:
{
type
:
Object
,
default
:
()
=>
{
}
}
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
},
bsmMb
:
{
handler
(
newValue
)
{
this
.
$startLoading
()
getSysSqywmbszDetailById
(
newValue
).
then
(
res
=>
{
this
.
$endLoading
()
let
{
result
}
=
res
this
.
ruleForm
=
result
?
result
:
{}
})
},
immediate
:
true
mounted
()
{
if
(
this
.
formData
.
bsmMb
)
{
this
.
$startLoading
()
getSysSqywmbszDetailById
(
this
.
formData
.
bsmMb
).
then
(
res
=>
{
this
.
$endLoading
()
let
{
result
}
=
res
this
.
ruleForm
=
result
?
result
:
{}
})
}
},
data
()
{
return
{
myValue
:
this
.
value
,
n
:
0
,
ruleForm
:
{
qllx
:
''
,
...
...
@@ -210,17 +207,13 @@ export default {
let
that
=
this
updateSysSqywmbsz
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$popupCacel
()
that
.
$message
({
message
:
'修改成功'
,
type
:
'success'
})
that
.
$emit
(
'input'
,
false
)
that
.
$parent
.
queryClick
();
}
})
},
closeDialog
()
{
this
.
$emit
(
'input'
,
false
)
}
}
}
...
...
@@ -228,6 +221,7 @@ export default {
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBoxheader.scss"
;
.qtjfjmb-edit-title
{
padding-bottom
:
10px
;
border-bottom
:
1px
solid
$
borderColor
;
...
...
src/views/system/qtjfjmb/qtjfjmb.vue
View file @
fad6d73
...
...
@@ -6,8 +6,7 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"权利类型"
>
<el-select
v-model=
"queryForm.qllx"
class=
"width100"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-select
v-model=
"queryForm.qllx"
class=
"width100"
filterable
clearable
placeholder=
"请选择权利类型"
>
<el-option
v-for=
"item in dictData['A8']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
...
...
@@ -29,7 +28,6 @@
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<editDialog
v-model=
"isDialog"
:bsmMb=
"bsmMb"
/>
</div>
</
template
>
<
script
>
...
...
@@ -37,12 +35,8 @@ import { mapGetters } from 'vuex'
import
{
sysSqywmbszSearch
}
from
'@/api/system'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./qtjfjmb"
import
editDialog
from
"./components/editDialog.vue"
export
default
{
name
:
"djbcx"
,
components
:
{
editDialog
},
name
:
"qtjfjmb"
,
mixins
:
[
table
],
mounted
()
{
sendThis
(
this
);
...
...
@@ -53,7 +47,6 @@ export default {
},
data
()
{
return
{
isDialog
:
false
,
queryForm
:
{
qllx
:
""
},
...
...
@@ -77,8 +70,7 @@ export default {
})
},
editClick
(
row
)
{
this
.
bsmMb
=
row
.
bsmMb
this
.
isDialog
=
true
this
.
$popupDialog
(
"其他及附记模板"
,
"system/qtjfjmb/components/editDialog"
,
row
,
'60%'
)
}
}
}
...
...
src/views/system/sqywgz/sqywDetail.vue
View file @
fad6d73
...
...
@@ -122,7 +122,7 @@
</el-collapse>
</div>
<div
slot=
"footer"
class=
"dialog_footer text-center"
>
<el-button
@
click=
"
cancelDialog
"
>
取 消
</el-button>
<el-button
@
click=
"
$popupCacel()
"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
plain
>
提 交
</el-button>
</div>
</div>
...
...
@@ -199,14 +199,10 @@ export default {
message
:
"修改成功"
,
type
:
"success"
,
});
// that.$emit('input', false
)
this
.
$popupCacel
(
)
}
});
},
//修改父组件传过来的值
cancelDialog
()
{
this
.
$emit
(
"update:dialogVisible"
,
false
);
},
// 上移下移
moveUpward
(
index
,
row
,
type
)
{
if
(
type
==
"clxx"
)
{
...
...
src/views/zsgl/zsff/components/addDialog.vue
View file @
fad6d73
...
...
@@ -230,7 +230,7 @@ export default {
]
},
closeDialog
()
{
this
.
$
emit
(
"input"
,
false
);
this
.
$
popupCacel
()
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
resetTableFields
();
}
...
...
src/views/zsgl/zsrk/components/addDialog.vue
View file @
fad6d73
...
...
@@ -238,7 +238,7 @@ export default {
]
},
closeDialog
()
{
this
.
$
emit
(
"input"
,
false
);
this
.
$
popupCacel
()
this
.
$refs
[
'ruleForm'
].
resetFields
();
this
.
resetTableFields
();
}
...
...
Please
register
or
sign in
to post a comment