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
3dbb80e7
authored
2023-08-18 17:08:40 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
610a6876
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
17 deletions
src/views/workflow/components/spyj.vue
src/views/ywbl/ywsq/components/selectFwsyq.vue
src/views/ywbl/ywsq/javascript/selectFwsyq.js
src/views/workflow/components/spyj.vue
View file @
3dbb80e
...
...
@@ -11,11 +11,7 @@
</div>
<div
v-for=
"(item, index) in tableData"
:key=
"index"
>
<el-form
:model=
"tableData[index]"
label-width=
"120px"
ref=
"ruleFormRef'"
>
<el-form
:model=
"tableData[index]"
label-width=
"120px"
ref=
"ruleForm'"
:rules=
"rules"
>
<div
class=
"spyj_form"
>
<div
class=
"item_left"
>
<div
class=
"right"
>
{{
item
.
jdmc
}}
意见
</div>
...
...
@@ -23,7 +19,11 @@
<div
class=
"item_right"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
>
<el-form-item
label-width=
"0"
prop=
"shyj"
class=
"opinion_item"
>
<el-input
:disabled=
"!viewEdit || item.show"
type=
"textarea"
...
...
@@ -58,7 +58,9 @@
</el-form>
</div>
<div
class=
"submit_button"
v-if=
"viewEdit"
>
<el-button
type=
"primary"
:disabled=
"shows"
@
click=
"onSubmit()"
>
保存
</el-button>
<el-button
type=
"primary"
:disabled=
"shows"
@
click=
"onSubmit()"
>
保存
</el-button
>
</div>
</div>
<!--
<el-empty
v-if=
"isNoData"
description=
"暂无数据"
></el-empty>
-->
...
...
@@ -87,7 +89,10 @@ export default {
falg1
:
false
,
jdmc
:
""
,
indexdqlc
:
0
,
shows
:
false
shows
:
false
,
rules
:
{
shyj
:
[{
required
:
true
,
message
:
"意见不能为空"
,
trigger
:
"blur"
}],
},
};
},
...
...
@@ -138,8 +143,8 @@ export default {
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
$nextTick
(()
=>
{
this
.
tableData
=
res
.
result
;
if
(
this
.
shows
)
{
this
.
shows
=
false
if
(
this
.
shows
)
{
this
.
shows
=
false
;
}
var
index
=
this
.
tableData
.
findIndex
(
...
...
@@ -169,8 +174,7 @@ export default {
item
.
show
=
false
;
}
});
})
});
}
});
},
...
...
@@ -185,7 +189,9 @@ export default {
* @author: renchao
*/
onSubmit
()
{
this
.
shows
=
true
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
shows
=
true
;
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
[
"bsmBusiness"
]
=
this
.
propsParam
.
bsmBusiness
;
item
[
"czjg"
]
=
"1"
;
...
...
@@ -199,9 +205,10 @@ export default {
this
.
$message
.
error
(
res
.
message
);
}
});
// } else {
// return false;
// }
}
else
{
return
false
;
}
});
},
//打开常用意见列表弹窗
/**
...
...
src/views/ywbl/ywsq/components/selectFwsyq.vue
View file @
3dbb80e
...
...
@@ -212,7 +212,27 @@
this
.
$popup
(
"登记簿详情"
,
"registerBook/djbFrame"
,
{
formData
:
param
})
},
/**
* @description: handleLpbClick
* @param {*} row
* @author: miaofang
*/
handleLpbClick
(
item
)
{
console
.
log
(
"item"
,
item
);
console
.
log
(
"this.sqywInfo"
,
this
.
sqywInfo
);
this
.
$popup
(
'楼盘表'
,
'lpb/index'
,
{
width
:
'85%'
,
formData
:
{
bsm
:
item
.
bsm
,
zrzbsm
:
item
.
bsm
,
zdbsm
:
item
.
zdbsm
,
bsmSqyw
:
this
.
sqywInfo
.
bsmSqyw
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}
})
},
}
}
</
script
>
...
...
src/views/ywbl/ywsq/javascript/selectFwsyq.js
View file @
3dbb80e
...
...
@@ -105,7 +105,7 @@ class data extends filter {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
handleLpbClick
(
scope
.
row
)
}}
>
楼盘表
<
/el-button
>
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
vm
.
handleLpbClick
(
scope
.
row
)
}}
>
楼盘表
1
<
/el-button
>
<
el
-
button
type
=
"text"
icon
=
"el-icon-edit-outline"
onClick
=
{()
=>
{
vm
.
openBook
(
scope
.
row
)
}}
>
登记薄
<
/el-button
>
<
/div
>
)
...
...
Please
register
or
sign in
to post a comment