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
eb0c152c
authored
2022-09-20 15:08:14 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:受理申请
1 parent
5bfa6aac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
9 deletions
src/views/ywbl/fqsq/components/clxx.vue
src/views/ywbl/fqsq/components/clxxAddDialog.vue
src/views/ywbl/fqsq/components/slxx.vue
src/views/ywbl/fqsq/components/clxx.vue
View file @
eb0c152
...
...
@@ -15,6 +15,20 @@
</div>
<!-- 材料预览 -->
<div
class=
"clyl-box"
v-else
>
<div
class=
"menu-tree"
>
<div
class=
"item"
>
材料目录
<i
:class=
"iclass"
@
click=
"iconClick()"
></i>
<el-collapse-transition>
<div
v-show=
"menuOpen"
>
<div
v-for=
"item in tableData"
:key=
"item.bsmSj"
:class=
"['child', treeCheckId == item.bsmSj ? 'checked' : '']"
@
click=
"treeClick(item)"
>
{{
item
.
sjmc
}}
</div>
</div>
</el-collapse-transition>
</div>
</div>
<image-preview
:previewImg=
"previewImg"
/>
</div>
</div>
...
...
@@ -41,6 +55,9 @@ export default {
label
:
"材料预览"
,
},
],
menuOpen
:
true
,
iclass
:
"itemIcon el-icon-caret-bottom"
,
treeCheckId
:
""
,
checkedId
:
"1"
,
column
:
[
{
...
...
@@ -265,7 +282,6 @@ export default {
message
:
"新增成功"
,
type
:
"success"
,
});
console
.
log
(
res
);
this
.
tableData
=
res
.
result
?
res
.
result
:
[];
// 加载表格
this
.
clmlmxInit
();
...
...
@@ -434,6 +450,7 @@ export default {
padding-left
:
18px
;
color
:
#6b6b6b
;
cursor
:
pointer
;
box-sizing
:
border-box
;
}
.checked
{
...
...
src/views/ywbl/fqsq/components/clxxAddDialog.vue
View file @
eb0c152
<
template
>
<dialogBox
title=
"新建材料信息"
width=
"40%"
v-model=
"myValue"
:isFullscreen=
"false"
:isButton=
"false"
>
<dialogBox
title=
"新建材料信息"
width=
"40%"
isMain
v-model=
"myValue"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
:isFullscreen=
"false"
>
<el-form
:model=
"ruleForm"
ref=
"ruleForm"
label-width=
"120px"
>
<el-row>
<el-col
:span=
"24"
>
...
...
@@ -16,10 +17,6 @@
</el-col>
</el-row>
</el-form>
<div
class=
"submit-button"
style=
"padding-bottom: 20px"
>
<el-button
type=
"primary"
@
click=
"onSave"
>
保存
</el-button>
<el-button
@
click=
"closeDialog"
>
取消
</el-button>
</div>
</dialogBox>
</
template
>
...
...
@@ -47,7 +44,7 @@ export default {
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
onSave
()
{
handleSubmit
()
{
this
.
$parent
.
addSave
(
this
.
ruleForm
);
this
.
$emit
(
"input"
,
false
);
},
...
...
src/views/ywbl/fqsq/components/slxx.vue
View file @
eb0c152
...
...
@@ -217,12 +217,10 @@ export default {
methods
:
{
list
(
bsmSldy
)
{
var
formdata
=
new
FormData
();
//可以通过append()方法来追加数据
formdata
.
append
(
"bsmSldy"
,
bsmSldy
);
Init
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{
...
res
.
result
,
...
res
.
result
.
zdjbxxdatas
,
...
res
.
result
.
qlxxdatas
,
...
res
.
result
.
jsydsyqdatas
}
console
.
log
(
this
.
ruleForm
,
'this.ruleForm'
);
}
})
},
...
...
Please
register
or
sign in
to post a comment