明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
jt_front
Commits
be4dbfa6
Commit
be4dbfa6
authored
May 29, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0336e52a
Pipeline
#112176
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
5 deletions
+59
-5
addStatement.vue
src/views/investingManage/addStatement.vue
+59
-5
No files found.
src/views/investingManage/addStatement.vue
View file @
be4dbfa6
...
@@ -518,6 +518,33 @@
...
@@ -518,6 +518,33 @@
:disabled=
"isPreview"
:disabled=
"isPreview"
v-model=
"formData.qtdxmjcyssydfxyxdbj"
v-model=
"formData.qtdxmjcyssydfxyxdbj"
/>
/>
<el-table
v-if=
"showBjConditionTable"
:data=
"formData.qtbjlb"
style=
"width: 100%; margin-top: 10px"
border
>
<el-table-column
type=
"index"
label=
"序号"
width=
"60"
/>
<el-table-column
prop=
"lb"
label=
"类别"
width=
"150"
/>
<el-table-column
prop=
"nr"
label=
"内容"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.nr"
placeholder=
"请填写内容"
:disabled=
"isPreview"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"jfgz"
label=
"计分规则"
>
<
template
#
default=
"scope"
>
<el-input
v-model=
"scope.row.jfgz"
placeholder=
"请填写计分规则"
:disabled=
"isPreview"
/>
</
template
>
</el-table-column>
</el-table>
</el-collapse-item>
</el-collapse-item>
<el-collapse-item
<el-collapse-item
...
@@ -722,6 +749,7 @@ let formData = reactive({
...
@@ -722,6 +749,7 @@ let formData = reactive({
qtdxmjcyssydfxyxdbj
:
[],
qtdxmjcyssydfxyxdbj
:
[],
xmssgczqttgxmtzsylhddgsscktqk
:
[],
xmssgczqttgxmtzsylhddgsscktqk
:
[],
trzyyyzb
:
[],
trzyyyzb
:
[],
qtbjlb
:
[],
});
});
let
loading
=
ref
(
false
);
let
loading
=
ref
(
false
);
// 责任书类型
// 责任书类型
...
@@ -731,6 +759,7 @@ let zrslxProps = {
...
@@ -731,6 +759,7 @@ let zrslxProps = {
};
};
let
selectedFullPath
=
ref
(
""
);
//已选项的全路径名称
let
selectedFullPath
=
ref
(
""
);
//已选项的全路径名称
const
isKeyPersonnel
=
ref
(
false
);
const
isKeyPersonnel
=
ref
(
false
);
const
showBjConditionTable
=
ref
(
false
);
watch
(
watch
(
()
=>
formData
.
zrslx
,
()
=>
formData
.
zrslx
,
(
newVal
)
=>
{
(
newVal
)
=>
{
...
@@ -810,6 +839,12 @@ const getStatementInfo = () => {
...
@@ -810,6 +839,12 @@ const getStatementInfo = () => {
callback
:
(
res
)
=>
{
callback
:
(
res
)
=>
{
loading
.
value
=
false
;
loading
.
value
=
false
;
Object
.
assign
(
formData
,
res
);
Object
.
assign
(
formData
,
res
);
if
(
formData
.
zrslx
)
{
const
node
=
nodeMap
.
get
(
formData
.
zrslx
);
if
(
node
)
{
changeZrslx
(
node
);
}
}
Object
.
assign
(
zrsData
.
value
,
res
.
zrswj
);
Object
.
assign
(
zrsData
.
value
,
res
.
zrswj
);
Object
.
assign
(
Object
.
assign
(
zrsjtzbData
.
value
,
zrsjtzbData
.
value
,
...
@@ -1434,15 +1469,20 @@ let ndZrs = [
...
@@ -1434,15 +1469,20 @@ let ndZrs = [
// 选择责任书类型,同步切换责任书具体指标数据
// 选择责任书类型,同步切换责任书具体指标数据
const
changeZrslx
=
(
data
)
=>
{
const
changeZrslx
=
(
data
)
=>
{
let
node
=
data
;
let
node
=
data
;
let
found
=
false
;
let
foundKeyPersonnel
=
false
;
let
foundUpperOrCompany
=
false
;
while
(
node
)
{
while
(
node
)
{
if
(
node
.
name
&&
node
.
name
.
includes
(
"关键人员"
))
{
if
(
node
.
name
)
{
found
=
true
;
if
(
node
.
name
.
includes
(
"关键人员"
))
{
break
;
foundKeyPersonnel
=
true
;
}
if
(
node
.
name
.
includes
(
"上级单位"
)
||
node
.
name
.
includes
(
"公司"
))
{
foundUpperOrCompany
=
true
;
}
}
}
node
=
node
.
parent
;
node
=
node
.
parent
;
}
}
isKeyPersonnel
.
value
=
found
;
isKeyPersonnel
.
value
=
found
KeyPersonnel
;
if
(
!
data
.
children
||
!
data
.
children
.
length
)
{
if
(
!
data
.
children
||
!
data
.
children
.
length
)
{
// 点击到最内层子节点
// 点击到最内层子节点
...
@@ -1455,6 +1495,20 @@ const changeZrslx = (data) => {
...
@@ -1455,6 +1495,20 @@ const changeZrslx = (data) => {
}
else
{
}
else
{
zrsjtzbData
.
value
=
qsmzqZrs
;
zrsjtzbData
.
value
=
qsmzqZrs
;
}
}
const
isLifecycleType
=
data
.
name
.
includes
(
"全生命周期"
)
||
data
.
name
.
includes
(
"建设期"
)
||
data
.
name
.
includes
(
"运营期"
);
showBjConditionTable
.
value
=
isLifecycleType
;
if
(
showBjConditionTable
.
value
&&
(
!
formData
.
qtbjlb
||
formData
.
qtbjlb
.
length
===
0
))
{
formData
.
qtbjlb
=
[
{
lb
:
"关键前提条件"
,
nr
:
""
,
jfgz
:
""
},
{
lb
:
"其他前提条件"
,
nr
:
""
,
jfgz
:
""
},
{
lb
:
"其他边界条件"
,
nr
:
""
,
jfgz
:
""
},
];
}
}
}
};
};
const
getSummaries
=
(
param
)
=>
{
const
getSummaries
=
(
param
)
=>
{
...
...
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