Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
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
王浩
zh-baseversion-project
Commits
82c48271
Commit
82c48271
authored
Jul 16, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 老旧管网改造-新增企业调整-改成下拉动态获取
parent
968365b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
index.vue
zh-baseversion-web/src/views/oldpipesystem/process/index.vue
+20
-16
No files found.
zh-baseversion-web/src/views/oldpipesystem/process/index.vue
View file @
82c48271
...
...
@@ -187,8 +187,15 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业"
prop=
"beyondEnterpriseId"
>
<el-input
v-model=
"enterpriseName"
:disabled=
"true"
></el-input>
<el-form-item
label=
"燃气企业"
prop=
"beyondEnterpriseId"
>
<el-select
style=
"width: 100%;"
:disabled=
"isDisabledEnterprise"
v-model=
"form.beyondEnterpriseId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in enterprises"
:key=
"item.enterpriseId"
:label=
"item.enterpriseName"
:value=
"item.enterpriseId"
>
</el-option>
</el-select>
</el-form-item>
<!--<el-form-item label="燃气企业编码" prop="fEntUuid">-->
<!--<el-input v-model="form.fEntUuid" placeholder="请输入燃气企业编码" />-->
...
...
@@ -307,14 +314,14 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"
当前
改造进度/百分比"
prop=
"fReconstructionProgress"
>
<el-input-number
style=
"width: 100%;"
v-model=
"form.fReconstructionProgress"
class=
"left-aligned-input"
:controls=
"false"
:min=
"0"
:max=
"100"
precision=
"2"
placeholder=
"请输入
当前
改造进度/百分比"
/>
<el-form-item
label=
"改造进度/百分比"
prop=
"fReconstructionProgress"
>
<el-input-number
style=
"width: 100%;"
v-model=
"form.fReconstructionProgress"
class=
"left-aligned-input"
:controls=
"false"
:min=
"0"
:max=
"100"
precision=
"2"
placeholder=
"请输入改造进度/百分比"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"
当前
资金拨付进度/百分比"
prop=
"fFundsDisbursementProgress"
>
<el-input-number
style=
"width: 100%;"
v-model=
"form.fFundsDisbursementProgress"
class=
"left-aligned-input"
:controls=
"false"
:min=
"0"
:max=
"100"
precision=
"2"
placeholder=
"请输入
当前
资金拨付进度/百分比"
/>
<el-form-item
label=
"资金拨付进度/百分比"
prop=
"fFundsDisbursementProgress"
>
<el-input-number
style=
"width: 100%;"
v-model=
"form.fFundsDisbursementProgress"
class=
"left-aligned-input"
:controls=
"false"
:min=
"0"
:max=
"100"
precision=
"2"
placeholder=
"请输入资金拨付进度/百分比"
/>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -348,6 +355,7 @@ export default {
return
{
enterpriseName
:
""
,
user
:{},
isDisabledEnterprise
:
false
,
enterprises
:
[],
countyInfo
:
[],
// 遮罩层
...
...
@@ -435,18 +443,9 @@ export default {
//所属单位
getEnterpriseLists
(){
const
param
=
{};
// this.judgeOperateType(param);
enterpriseLists
(
param
).
then
(
response
=>
{
if
(
response
.
rows
.
length
>
1
){
this
.
enterprises
=
response
.
rows
;
this
.
enterpriseName
=
response
.
rows
[
0
].
enterpriseName
;
}
else
{
this
.
enterprises
=
response
.
rows
;
this
.
enterpriseName
=
response
.
rows
[
0
].
enterpriseName
;
}
this
.
enterprises
=
response
.
rows
;
});
console
.
log
(
this
.
enterprises
)
},
beyondEnterpriseFormat
(
row
){
let
info
=
this
.
enterprises
.
find
(
item
=>
item
.
enterpriseId
==
row
.
beyondEnterpriseId
);
...
...
@@ -583,6 +582,11 @@ export default {
this
.
reset
();
this
.
open
=
true
;
this
.
title
=
"添加老旧管网改造计划"
;
// 说明是 企业在新增,直接赋值显示就行了。
if
(
this
.
enterprises
.
length
==
1
)
{
this
.
form
.
beyondEnterpriseId
=
this
.
enterprises
[
0
].
enterpriseId
this
.
isDisabledEnterprise
=
true
;
}
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
...
...
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