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
9ee22145
Commit
9ee22145
authored
Jul 16, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 老旧管网改造-企业端和政府端设置 上传时间和上传状态,燃气企业 新增时 赋默认值。并调整 企详情操作。
parent
bee19102
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
281 additions
and
84 deletions
+281
-84
TPipeOldPlanProcessController.java
...ntroller/oldpipesystem/TPipeOldPlanProcessController.java
+11
-1
TPipeOldPlanProcess.java
...in/java/com/zehong/system/domain/TPipeOldPlanProcess.java
+31
-6
TPipeOldPlanProcessMapper.java
...a/com/zehong/system/mapper/TPipeOldPlanProcessMapper.java
+9
-0
ITPipeOldPlanProcessService.java
...om/zehong/system/service/ITPipeOldPlanProcessService.java
+7
-0
TPipeOldPlanProcessServiceImpl.java
...g/system/service/impl/TPipeOldPlanProcessServiceImpl.java
+15
-1
TConGasProIncMapper.xml
.../src/main/resources/mapper/system/TConGasProIncMapper.xml
+2
-2
TPipeOldPlanProcessMapper.xml
...ain/resources/mapper/system/TPipeOldPlanProcessMapper.xml
+17
-1
process.js
zh-baseversion-web/src/api/oldpipesystem/process.js
+18
-0
DetailInfo.vue
...src/views/oldpipesystem/process/components/DetailInfo.vue
+43
-7
index.vue
zh-baseversion-web/src/views/oldpipesystem/process/index.vue
+109
-57
index.vue
zh-baseversion-web/src/views/thirdbuild/accident/index.vue
+13
-6
index.vue
zh-baseversion-web/src/views/thirdbuild/project/index.vue
+6
-3
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/oldpipesystem/TPipeOldPlanProcessController.java
View file @
9ee22145
...
@@ -107,7 +107,7 @@ public class TPipeOldPlanProcessController extends BaseController
...
@@ -107,7 +107,7 @@ public class TPipeOldPlanProcessController extends BaseController
}
}
/**
/**
* 上传计划和进度
*
政府端
上传计划和进度
* @param fOldPlanProcessId 计划id
* @param fOldPlanProcessId 计划id
* @return
* @return
*/
*/
...
@@ -120,4 +120,14 @@ public class TPipeOldPlanProcessController extends BaseController
...
@@ -120,4 +120,14 @@ public class TPipeOldPlanProcessController extends BaseController
return
AjaxResult
.
error
(
"上传计划和进度接口异常"
);
return
AjaxResult
.
error
(
"上传计划和进度接口异常"
);
}
}
}
}
/**
* 企业端 上传计划和进度
* @param fOldPlanProcessId 计划id
* @return
*/
@GetMapping
(
"/entReportPipeOldPlanProcess"
)
public
AjaxResult
entReportPipeOldPlanProcess
(
Long
fOldPlanProcessId
)
{
return
toAjax
(
tPipeOldPlanProcessService
.
entReportPipeOldPlanProcess
(
fOldPlanProcessId
));
}
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/TPipeOldPlanProcess.java
View file @
9ee22145
...
@@ -5,6 +5,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
...
@@ -5,6 +5,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
import
com.zehong.common.core.domain.BaseEntity
;
import
java.util.Date
;
/**
/**
* 老旧管网-改造计划和进度对象 t_pipe_old_plan_process
* 老旧管网-改造计划和进度对象 t_pipe_old_plan_process
*
*
...
@@ -89,11 +91,11 @@ public class TPipeOldPlanProcess extends BaseEntity
...
@@ -89,11 +91,11 @@ public class TPipeOldPlanProcess extends BaseEntity
/** 当前改造进度,填写百分比,100为完成 */
/** 当前改造进度,填写百分比,100为完成 */
@Excel
(
name
=
"当前改造进度"
)
@Excel
(
name
=
"当前改造进度"
)
private
Long
fReconstructionProgress
;
private
Float
fReconstructionProgress
;
/** 当前资金拨付进度,填写百分比,100为完成 */
/** 当前资金拨付进度,填写百分比,100为完成 */
@Excel
(
name
=
"当前资金拨付进度"
)
@Excel
(
name
=
"当前资金拨付进度"
)
private
Long
fFundsDisbursementProgress
;
private
Float
fFundsDisbursementProgress
;
/** 是否已上传,1-是,0-否 */
/** 是否已上传,1-是,0-否 */
@Excel
(
name
=
"是否已上传"
,
readConverterExp
=
"1=是,0=否"
)
@Excel
(
name
=
"是否已上传"
,
readConverterExp
=
"1=是,0=否"
)
...
@@ -105,6 +107,29 @@ public class TPipeOldPlanProcess extends BaseEntity
...
@@ -105,6 +107,29 @@ public class TPipeOldPlanProcess extends BaseEntity
private
Long
fEnterpriseId
;
private
Long
fEnterpriseId
;
/**
* 政府端上传数据
*/
private
String
govUploadState
;
private
Date
govUploadTime
;
public
String
getGovUploadState
()
{
return
govUploadState
;
}
public
void
setGovUploadState
(
String
govUploadState
)
{
this
.
govUploadState
=
govUploadState
;
}
public
Date
getGovUploadTime
()
{
return
govUploadTime
;
}
public
void
setGovUploadTime
(
Date
govUploadTime
)
{
this
.
govUploadTime
=
govUploadTime
;
}
public
Long
getfEnterpriseId
()
{
public
Long
getfEnterpriseId
()
{
return
fEnterpriseId
;
return
fEnterpriseId
;
}
}
...
@@ -266,21 +291,21 @@ public class TPipeOldPlanProcess extends BaseEntity
...
@@ -266,21 +291,21 @@ public class TPipeOldPlanProcess extends BaseEntity
{
{
return
fActualFinishTime
;
return
fActualFinishTime
;
}
}
public
void
setfReconstructionProgress
(
Long
fReconstructionProgress
)
public
void
setfReconstructionProgress
(
Float
fReconstructionProgress
)
{
{
this
.
fReconstructionProgress
=
fReconstructionProgress
;
this
.
fReconstructionProgress
=
fReconstructionProgress
;
}
}
public
Long
getfReconstructionProgress
()
public
Float
getfReconstructionProgress
()
{
{
return
fReconstructionProgress
;
return
fReconstructionProgress
;
}
}
public
void
setfFundsDisbursementProgress
(
Long
fFundsDisbursementProgress
)
public
void
setfFundsDisbursementProgress
(
Float
fFundsDisbursementProgress
)
{
{
this
.
fFundsDisbursementProgress
=
fFundsDisbursementProgress
;
this
.
fFundsDisbursementProgress
=
fFundsDisbursementProgress
;
}
}
public
Long
getfFundsDisbursementProgress
()
public
Float
getfFundsDisbursementProgress
()
{
{
return
fFundsDisbursementProgress
;
return
fFundsDisbursementProgress
;
}
}
...
...
zh-baseversion-system/src/main/java/com/zehong/system/mapper/TPipeOldPlanProcessMapper.java
View file @
9ee22145
package
com
.
zehong
.
system
.
mapper
;
package
com
.
zehong
.
system
.
mapper
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
com.zehong.system.domain.TPipeOldPlanProcess
;
import
com.zehong.system.domain.TPipeOldPlanProcess
;
import
org.apache.ibatis.annotations.Param
;
/**
/**
* 老旧管网-改造计划和进度Mapper接口
* 老旧管网-改造计划和进度Mapper接口
...
@@ -43,6 +45,13 @@ public interface TPipeOldPlanProcessMapper
...
@@ -43,6 +45,13 @@ public interface TPipeOldPlanProcessMapper
*/
*/
public
int
updateTPipeOldPlanProcess
(
TPipeOldPlanProcess
tPipeOldPlanProcess
);
public
int
updateTPipeOldPlanProcess
(
TPipeOldPlanProcess
tPipeOldPlanProcess
);
/**
* 企业端上传数据
* @return
*/
public
int
entReportPipeOldPlanProcess
(
@Param
(
"state"
)
String
state
,
@Param
(
"entUploadTime"
)
Date
entUploadTime
,
@Param
(
"fOldPlanProcessId"
)
Long
fOldPlanProcessId
);
/**
/**
* 删除老旧管网-改造计划和进度
* 删除老旧管网-改造计划和进度
*
*
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/ITPipeOldPlanProcessService.java
View file @
9ee22145
...
@@ -65,4 +65,11 @@ public interface ITPipeOldPlanProcessService
...
@@ -65,4 +65,11 @@ public interface ITPipeOldPlanProcessService
* @return
* @return
*/
*/
int
reportPipeOldPlanProcess
(
Long
fOldPlanProcessId
)
throws
Exception
;
int
reportPipeOldPlanProcess
(
Long
fOldPlanProcessId
)
throws
Exception
;
/**
* 企业端上传 计划
* @param fOldPlanProcessId f
* @return r
*/
int
entReportPipeOldPlanProcess
(
Long
fOldPlanProcessId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TPipeOldPlanProcessServiceImpl.java
View file @
9ee22145
...
@@ -31,7 +31,7 @@ public class TPipeOldPlanProcessServiceImpl implements ITPipeOldPlanProcessServi
...
@@ -31,7 +31,7 @@ public class TPipeOldPlanProcessServiceImpl implements ITPipeOldPlanProcessServi
{
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
TPipeOldPlanProcessServiceImpl
.
class
);
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
TPipeOldPlanProcessServiceImpl
.
class
);
@
Autowired
@
Resource
private
TPipeOldPlanProcessMapper
tPipeOldPlanProcessMapper
;
private
TPipeOldPlanProcessMapper
tPipeOldPlanProcessMapper
;
@Resource
@Resource
...
@@ -121,6 +121,20 @@ public class TPipeOldPlanProcessServiceImpl implements ITPipeOldPlanProcessServi
...
@@ -121,6 +121,20 @@ public class TPipeOldPlanProcessServiceImpl implements ITPipeOldPlanProcessServi
JSONObject
reportResult
=
governmentDataUtil
.
setInfo
(
"pipeline/old/plan/process"
,
"WRITE"
,
data
);
JSONObject
reportResult
=
governmentDataUtil
.
setInfo
(
"pipeline/old/plan/process"
,
"WRITE"
,
data
);
log
.
info
(
"上传计划和进度结果==================="
+
reportResult
.
toJSONString
());
log
.
info
(
"上传计划和进度结果==================="
+
reportResult
.
toJSONString
());
if
(!
"0"
.
equals
(
reportResult
.
getString
(
"resultCode"
)))
throw
new
CustomException
(
"上传计划和进度接口失败"
);
if
(!
"0"
.
equals
(
reportResult
.
getString
(
"resultCode"
)))
throw
new
CustomException
(
"上传计划和进度接口失败"
);
tPipeOldPlanProcess
.
setGovUploadState
(
"1"
);
tPipeOldPlanProcess
.
setGovUploadTime
(
new
Date
());
tPipeOldPlanProcessMapper
.
updateTPipeOldPlanProcess
(
tPipeOldPlanProcess
);
return
1
;
}
/**
* 企业端上传数据
* @param fOldPlanProcessId f
* @return r
*/
@Override
public
int
entReportPipeOldPlanProcess
(
Long
fOldPlanProcessId
)
{
tPipeOldPlanProcessMapper
.
entReportPipeOldPlanProcess
(
"1"
,
new
Date
(),
fOldPlanProcessId
);
return
1
;
return
1
;
}
}
}
}
zh-baseversion-system/src/main/resources/mapper/system/TConGasProIncMapper.xml
View file @
9ee22145
...
@@ -107,9 +107,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -107,9 +107,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fRemark != null and fRemark != ''"
>
f_remark = #{fRemark},
</if>
<if
test=
"fRemark != null and fRemark != ''"
>
f_remark = #{fRemark},
</if>
<if
test=
"fUpdateTime != null and fUpdateTime != ''"
>
f_update_time = #{fUpdateTime},
</if>
<if
test=
"fUpdateTime != null and fUpdateTime != ''"
>
f_update_time = #{fUpdateTime},
</if>
<if
test=
"entUploadTime != null
and entUploadTime != ''
"
>
f_ent_upload_time = #{entUploadTime},
</if>
<if
test=
"entUploadTime != null"
>
f_ent_upload_time = #{entUploadTime},
</if>
<if
test=
"entUploadState != null and entUploadState != ''"
>
f_ent_upload_state = #{entUploadState},
</if>
<if
test=
"entUploadState != null and entUploadState != ''"
>
f_ent_upload_state = #{entUploadState},
</if>
<if
test=
"govUploadTime != null
and govUploadTime != ''
"
>
f_gov_upload_time = #{govUploadTime},
</if>
<if
test=
"govUploadTime != null"
>
f_gov_upload_time = #{govUploadTime},
</if>
<if
test=
"govUploadState != null and govUploadState != ''"
>
f_gov_upload_state = #{govUploadState},
</if>
<if
test=
"govUploadState != null and govUploadState != ''"
>
f_gov_upload_state = #{govUploadState},
</if>
</trim>
</trim>
where f_con_gas_pro_inc_id = #{fConGasProIncId}
where f_con_gas_pro_inc_id = #{fConGasProIncId}
...
...
zh-baseversion-system/src/main/resources/mapper/system/TPipeOldPlanProcessMapper.xml
View file @
9ee22145
...
@@ -27,10 +27,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -27,10 +27,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"fUploadType"
column=
"f_upload_type"
/>
<result
property=
"fUploadType"
column=
"f_upload_type"
/>
<result
property=
"fUploadTime"
column=
"f_upload_time"
/>
<result
property=
"fUploadTime"
column=
"f_upload_time"
/>
<result
property=
"fEnterpriseId"
column=
"f_enterprise_id"
/>
<result
property=
"fEnterpriseId"
column=
"f_enterprise_id"
/>
<result
property=
"govUploadState"
column=
"f_gov_upload_state"
/>
<result
property=
"govUploadTime"
column=
"f_gov_upload_time"
/>
</resultMap>
</resultMap>
<sql
id=
"selectTPipeOldPlanProcessVo"
>
<sql
id=
"selectTPipeOldPlanProcessVo"
>
select f_old_plan_process_id, f_uuid, f_enterprise_id,f_ent_uuid, f_region, f_project_name, f_relation_object_type, f_year, f_start_time, f_end_time, f_total_investment, f_create_time, f_update_time, f_subject_implementation, f_concat_person, f_concat_tel, f_construction_content, f_actual_finish_time, f_reconstruction_progress, f_funds_disbursement_progress, f_upload_type, f_upload_time from t_pipe_old_plan_process
select f_old_plan_process_id, f_uuid, f_enterprise_id,f_ent_uuid, f_region, f_project_name, f_relation_object_type, f_year, f_start_time, f_end_time, f_total_investment, f_create_time, f_update_time, f_subject_implementation, f_concat_person, f_concat_tel, f_construction_content, f_actual_finish_time, f_reconstruction_progress, f_funds_disbursement_progress, f_upload_type, f_upload_time
,f_gov_upload_state, f_gov_upload_time
from t_pipe_old_plan_process
</sql>
</sql>
<select
id=
"selectTPipeOldPlanProcessList"
parameterType=
"TPipeOldPlanProcess"
resultMap=
"TPipeOldPlanProcessResult"
>
<select
id=
"selectTPipeOldPlanProcessList"
parameterType=
"TPipeOldPlanProcess"
resultMap=
"TPipeOldPlanProcessResult"
>
...
@@ -42,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -42,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fConcatTel != null and fConcatTel != ''"
>
and f_concat_tel like concat('%', #{fConcatTel}, '%')
</if>
<if
test=
"fConcatTel != null and fConcatTel != ''"
>
and f_concat_tel like concat('%', #{fConcatTel}, '%')
</if>
<if
test=
"fFundsDisbursementProgress != null "
>
and f_funds_disbursement_progress = #{fFundsDisbursementProgress}
</if>
<if
test=
"fFundsDisbursementProgress != null "
>
and f_funds_disbursement_progress = #{fFundsDisbursementProgress}
</if>
<if
test=
"fUploadType != null and fUploadType != ''"
>
and f_upload_type = #{fUploadType}
</if>
<if
test=
"fUploadType != null and fUploadType != ''"
>
and f_upload_type = #{fUploadType}
</if>
<if
test=
"fEnterpriseId != null and fEnterpriseId != ''"
>
and f_enterprise_id = #{fEnterpriseId}
</if>
</where>
</where>
</select>
</select>
...
@@ -74,6 +78,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -74,6 +78,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fUploadType != null"
>
f_upload_type,
</if>
<if
test=
"fUploadType != null"
>
f_upload_type,
</if>
<if
test=
"fUploadTime != null"
>
f_upload_time,
</if>
<if
test=
"fUploadTime != null"
>
f_upload_time,
</if>
<if
test=
"fEnterpriseId != null"
>
f_enterprise_id,
</if>
<if
test=
"fEnterpriseId != null"
>
f_enterprise_id,
</if>
<if
test=
"govUploadState != null"
>
f_gov_upload_state,
</if>
<if
test=
"govUploadTime != null"
>
f_gov_upload_time,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fUuid != null and fUuid != ''"
>
#{fUuid},
</if>
<if
test=
"fUuid != null and fUuid != ''"
>
#{fUuid},
</if>
...
@@ -97,6 +104,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -97,6 +104,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fUploadType != null"
>
#{fUploadType},
</if>
<if
test=
"fUploadType != null"
>
#{fUploadType},
</if>
<if
test=
"fUploadTime != null"
>
#{fUploadTime},
</if>
<if
test=
"fUploadTime != null"
>
#{fUploadTime},
</if>
<if
test=
"fEnterpriseId != null"
>
#{fEnterpriseId},
</if>
<if
test=
"fEnterpriseId != null"
>
#{fEnterpriseId},
</if>
<if
test=
"govUploadState != null"
>
#{govUploadState},
</if>
<if
test=
"govUploadTime != null"
>
#{govUploadTime},
</if>
</trim>
</trim>
</insert>
</insert>
...
@@ -124,6 +134,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -124,6 +134,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"fUploadType != null"
>
f_upload_type = #{fUploadType},
</if>
<if
test=
"fUploadType != null"
>
f_upload_type = #{fUploadType},
</if>
<if
test=
"fUploadTime != null"
>
f_upload_time = #{fUploadTime},
</if>
<if
test=
"fUploadTime != null"
>
f_upload_time = #{fUploadTime},
</if>
<if
test=
"fEnterpriseId != null"
>
f_enterprise_id = #{fEnterpriseId},
</if>
<if
test=
"fEnterpriseId != null"
>
f_enterprise_id = #{fEnterpriseId},
</if>
<if
test=
"govUploadState != null"
>
f_gov_upload_state = #{govUploadState},
</if>
<if
test=
"govUploadTime != null"
>
f_gov_upload_time = #{govUploadTime},
</if>
</trim>
</trim>
where f_old_plan_process_id = #{fOldPlanProcessId}
where f_old_plan_process_id = #{fOldPlanProcessId}
</update>
</update>
...
@@ -132,6 +145,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -132,6 +145,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from t_pipe_old_plan_process where f_old_plan_process_id = #{fOldPlanProcessId}
delete from t_pipe_old_plan_process where f_old_plan_process_id = #{fOldPlanProcessId}
</delete>
</delete>
<update
id=
"entReportPipeOldPlanProcess"
>
update t_pipe_old_plan_process set f_upload_type = #{state}, f_upload_time = #{entUploadTime} where f_old_plan_process_id = #{fOldPlanProcessId}
</update>
<delete
id=
"deleteTPipeOldPlanProcessByIds"
parameterType=
"String"
>
<delete
id=
"deleteTPipeOldPlanProcessByIds"
parameterType=
"String"
>
delete from t_pipe_old_plan_process where f_old_plan_process_id in
delete from t_pipe_old_plan_process where f_old_plan_process_id in
<foreach
item=
"fOldPlanProcessId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"fOldPlanProcessId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
...
...
zh-baseversion-web/src/api/oldpipesystem/process.js
View file @
9ee22145
...
@@ -51,3 +51,21 @@ export function exportProcess(query) {
...
@@ -51,3 +51,21 @@ export function exportProcess(query) {
params
:
query
params
:
query
})
})
}
}
// 企业端上传 老旧官网
export
function
entReportPipeOldPlanProcess
(
query
)
{
return
request
({
url
:
'/oldPipeSystem/plan/entReportPipeOldPlanProcess'
,
method
:
'get'
,
params
:
query
})
}
// 政府端上传 老旧官网
export
function
reportPipeOldPlanProcess
(
query
)
{
return
request
({
url
:
'/oldPipeSystem/plan/reportPipeOldPlanProcess'
,
method
:
'get'
,
params
:
query
})
}
\ No newline at end of file
zh-baseversion-web/src/views/oldpipesystem/process/components/DetailInfo.vue
View file @
9ee22145
<
template
>
<
template
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"1000px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"1000px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
label-width=
"170px"
>
<el-form
label-width=
"170px"
>
<el-row
class=
"el-row-table"
>
<el-row
class=
"el-row-table"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"项目名称"
>
<el-form-item
label=
"燃气企业"
>
<span
v-if=
"detailInfo.fProjectName"
>
{{
detailInfo
.
fProjectName
}}
</span>
<span>
{{
enterpriseName
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"
燃气企业编码"
>
<el-form-item
label=
"
项目名称"
>
<span
v-if=
"detailInfo.f
EntUuid"
>
{{
detailInfo
.
fEntUuid
}}
</span>
<span
v-if=
"detailInfo.f
ProjectName"
>
{{
detailInfo
.
fProjectName
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"项目所在县级行政区
ID
"
>
<el-form-item
label=
"项目所在县级行政区"
>
<span
v-if=
"detailInfo.fRegion"
>
{{
detailInfo
.
fRegion
}}
</span>
<span
v-if=
"detailInfo.fRegion"
>
{{
detailInfo
.
fRegion
}}
</span>
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form-item>
...
@@ -143,19 +143,55 @@
...
@@ -143,19 +143,55 @@
<
script
>
<
script
>
import
{
getProcess
}
from
"@/api/oldpipesystem/process"
;
import
{
getProcess
}
from
"@/api/oldpipesystem/process"
;
import
{
enterpriseLists
,
queryAllEnterprise
}
from
"@/api/regulation/info"
;
import
{
getDefaultCountyList
}
from
"@/api/area/county"
;
export
default
{
export
default
{
name
:
"detail-info"
,
name
:
"detail-info"
,
data
(){
data
(){
return
{
return
{
enterprises
:
[],
countyInfo
:
[],
detailInfo
:
{},
detailInfo
:
{},
enterpriseName
:
""
,
detailOpen
:
false
detailOpen
:
false
}
}
},
},
created
()
{
this
.
getCountyInfo
();
this
.
getEnterpriseLists
();
},
methods
:{
methods
:{
//获取县级
getCountyInfo
(){
getDefaultCountyList
().
then
(
res
=>
{
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
countyInfo
=
res
.
data
;
}
})
},
//所属单位
getEnterpriseLists
(){
queryAllEnterprise
().
then
(
response
=>
{
this
.
enterprises
=
response
;
});
},
beyondCountyFormat
(
row
){
let
info
=
this
.
countyInfo
.
find
(
item
=>
item
.
fId
==
row
.
fRegion
);
return
info
?
info
.
fName
:
"-"
;
},
beyondCompanyFormat
(
row
){
let
info
=
this
.
enterprises
.
find
(
item
=>
item
.
enterpriseId
==
row
.
fEnterpriseId
);
return
info
?
info
.
enterpriseName
:
"-"
;
},
getDetailInfo
(
id
){
getDetailInfo
(
id
){
getProcess
(
id
).
then
(
res
=>
{
getProcess
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
&&
res
.
data
){
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
detailInfo
=
res
.
data
;
this
.
detailInfo
=
res
.
data
;
this
.
detailInfo
.
fRegion
=
this
.
beyondCountyFormat
(
this
.
detailInfo
);
let
fEnterpriseId
=
this
.
detailInfo
.
fEnterpriseId
;
if
(
fEnterpriseId
!=
null
)
{
this
.
enterpriseName
=
this
.
beyondCompanyFormat
(
this
.
detailInfo
);
}
this
.
detailOpen
=
true
;
this
.
detailOpen
=
true
;
}
}
})
})
...
...
zh-baseversion-web/src/views/oldpipesystem/process/index.vue
View file @
9ee22145
...
@@ -131,18 +131,9 @@
...
@@ -131,18 +131,9 @@
<span
v-else
>
-
</span>
<span
v-else
>
-
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"是否已上传"
align=
"center"
prop=
"fUploadType"
>
<el-table-column
label=
"上传状态"
align=
"center"
prop=
"fUploadType"
:formatter=
"uploadStateFormat"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.fUploadType == '0'"
>
否
</span>
<span
v-else-if=
"scope.row.fUploadType == '1'"
>
是
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"上传时间"
align=
"center"
prop=
"fUploadTime"
width=
"150"
>
<el-table-column
label=
"上传时间"
align=
"center"
prop=
"fUploadTime"
width=
"150"
:formatter=
"uploadTimeFormat"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.fUploadTime != null"
>
{{
scope
.
row
.
fUploadTime
}}
</span>
<span
v-else
>
-
</span>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"180"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -170,14 +161,8 @@
...
@@ -170,14 +161,8 @@
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
@
click=
"handleReport(scope.row)"
@
click=
"handleReport(scope.row)"
v-if=
"(user.roleId==1||user.roleId==5)&&scope.row.fUploadType==0"
v-if=
"judgeUploadIsShow((scope.row))"
>
上传
</el-button>
>
上传
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleReport2(scope.row)"
v-if=
"(user.roleId==1||user.roleId==3)&&scope.row.fUploadType==1"
>
上传
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -203,14 +188,7 @@
...
@@ -203,14 +188,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"燃气企业"
prop=
"beyondEnterpriseId"
>
<el-form-item
label=
"燃气企业"
prop=
"beyondEnterpriseId"
>
<el-select
v-model=
"form.fEnterpriseId"
placeholder=
"请选择所属企业名称"
style=
"width: 100%"
>
<el-input
v-model=
"enterpriseName"
:disabled=
"true"
></el-input>
<el-option
v-for=
"item in enterprises"
:key=
"parseInt(item.enterpriseId)"
:label=
"item.enterpriseName"
:value=
"parseInt(item.enterpriseId)"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<!--<el-form-item label="燃气企业编码" prop="fEntUuid">-->
<!--<el-form-item label="燃气企业编码" prop="fEntUuid">-->
<!--<el-input v-model="form.fEntUuid" placeholder="请输入燃气企业编码" />-->
<!--<el-input v-model="form.fEntUuid" placeholder="请输入燃气企业编码" />-->
...
@@ -287,7 +265,7 @@
...
@@ -287,7 +265,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"项目总投资/万元"
prop=
"fTotalInvestment"
>
<el-form-item
label=
"项目总投资/万元"
prop=
"fTotalInvestment"
>
<el-input
v-model=
"form.fTotalInvestment
"
placeholder=
"请输入项目总投资/万元"
/>
<el-input
-number
style=
"width: 100%;"
v-model=
"form.fTotalInvestment"
class=
"left-aligned-input"
:controls=
"false"
:min=
"0
"
placeholder=
"请输入项目总投资/万元"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -330,13 +308,13 @@
...
@@ -330,13 +308,13 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"当前改造进度/百分比"
prop=
"fReconstructionProgress"
>
<el-form-item
label=
"当前改造进度/百分比"
prop=
"fReconstructionProgress"
>
<el-input
v-model=
"form.fReconstructionProgress
"
placeholder=
"请输入当前改造进度/百分比"
/>
<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-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"当前资金拨付进度/百分比"
prop=
"fFundsDisbursementProgress"
>
<el-form-item
label=
"当前资金拨付进度/百分比"
prop=
"fFundsDisbursementProgress"
>
<el-input
v-model=
"form.fFundsDisbursementProgress"
placeholder=
"请输入当前资金拨付进度/百分比"
/>
<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-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -354,7 +332,7 @@
...
@@ -354,7 +332,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
listProcess
,
getProcess
,
delProcess
,
addProcess
,
updateProcess
,
exportProcess
}
from
"@/api/oldpipesystem/process"
;
import
{
listProcess
,
getProcess
,
delProcess
,
addProcess
,
updateProcess
,
exportProcess
,
reportPipeOldPlanProcess
,
entReportPipeOldPlanProcess
}
from
"@/api/oldpipesystem/process"
;
import
DetailInfo
from
"./components/DetailInfo"
;
import
DetailInfo
from
"./components/DetailInfo"
;
import
{
getInfo
}
from
"@/api/login"
import
{
getInfo
}
from
"@/api/login"
import
{
enterpriseLists
}
from
"@/api/regulation/info"
;
import
{
enterpriseLists
}
from
"@/api/regulation/info"
;
...
@@ -368,6 +346,7 @@ export default {
...
@@ -368,6 +346,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
enterpriseName
:
""
,
user
:{},
user
:{},
enterprises
:
[],
enterprises
:
[],
countyInfo
:
[],
countyInfo
:
[],
...
@@ -426,7 +405,6 @@ export default {
...
@@ -426,7 +405,6 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
getList
();
this
.
getuserInfo
();
this
.
getuserInfo
();
this
.
getDicts
(
"t_relation_object_type"
).
then
(
response
=>
{
this
.
getDicts
(
"t_relation_object_type"
).
then
(
response
=>
{
this
.
fRelationObjectTypeOptions
=
response
.
data
;
this
.
fRelationObjectTypeOptions
=
response
.
data
;
...
@@ -451,6 +429,7 @@ export default {
...
@@ -451,6 +429,7 @@ export default {
getInfo
().
then
(
response
=>
{
getInfo
().
then
(
response
=>
{
console
.
log
(
response
);
console
.
log
(
response
);
this
.
user
=
response
.
user
.
roles
[
0
]
this
.
user
=
response
.
user
.
roles
[
0
]
this
.
getList
();
});
});
},
},
//所属单位
//所属单位
...
@@ -460,9 +439,10 @@ export default {
...
@@ -460,9 +439,10 @@ export default {
enterpriseLists
(
param
).
then
(
response
=>
{
enterpriseLists
(
param
).
then
(
response
=>
{
if
(
response
.
rows
.
length
>
1
){
if
(
response
.
rows
.
length
>
1
){
this
.
enterprises
=
response
.
rows
;
this
.
enterprises
=
response
.
rows
;
this
.
enterpriseName
=
response
.
rows
[
0
].
enterpriseName
;
}
else
{
}
else
{
this
.
form
.
fEnterpriseId
=
response
.
rows
[
0
].
enterpriseId
;
this
.
enterprises
=
response
.
rows
;
this
.
enterprises
=
response
.
rows
;
this
.
enterpriseName
=
response
.
rows
[
0
].
enterpriseName
;
}
}
});
});
...
@@ -475,6 +455,10 @@ export default {
...
@@ -475,6 +455,10 @@ export default {
/** 查询老旧管网改造计划列表 */
/** 查询老旧管网改造计划列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
// 企业查自己的数据
if
(
this
.
user
.
roleId
==
5
)
{
this
.
queryParams
.
fEnterpriseId
=
this
.
$store
.
state
.
user
.
enterpriseId
}
listProcess
(
this
.
queryParams
).
then
(
response
=>
{
listProcess
(
this
.
queryParams
).
then
(
response
=>
{
this
.
processList
=
response
.
rows
;
this
.
processList
=
response
.
rows
;
this
.
total
=
response
.
total
;
this
.
total
=
response
.
total
;
...
@@ -490,6 +474,66 @@ export default {
...
@@ -490,6 +474,66 @@ export default {
this
.
open
=
false
;
this
.
open
=
false
;
this
.
reset
();
this
.
reset
();
},
},
//判断 上传是否需要显示,上传分为企业上传 和 政府端上传
judgeUploadIsShow
(
row
)
{
//角色 1 超级管理员 5 企业
let
roleId
=
this
.
user
.
roleId
;
// 企业端 上传状态 0-未上传,1-已上传
let
entUploadState
=
row
.
fUploadType
;
// 政府端 上传状态 0-未上传,1-已上传
let
govUploadState
=
row
.
govUploadState
;
// 如果政府端都已经上传,那就不能显示了。
if
(
govUploadState
===
'1'
)
{
return
false
;
}
// 如果企业端上传了,则企业端就不能显示了,政府端和 超级管理员能显示
if
(
entUploadState
===
'1'
&&
govUploadState
===
'0'
)
{
if
(
roleId
===
5
)
{
return
false
;
}
else
{
return
true
;
}
}
// 别的情况,都显示
return
true
;
},
//上传状态动态展示
uploadStateFormat
(
row
,
column
)
{
//角色 1 超级管理员 5 企业
let
roleId
=
this
.
user
.
roleId
;
if
(
roleId
==
5
)
{
if
(
row
.
fUploadType
==
'0'
)
{
return
"未上传"
}
else
{
return
"已上传"
}
}
else
{
if
(
row
.
govUploadState
==
'0'
)
{
return
"未上传"
}
else
{
return
"已上传"
}
}
},
//上传时间动态展示
uploadTimeFormat
(
row
,
column
)
{
//角色 1 超级管理员 5 企业
let
roleId
=
this
.
user
.
roleId
;
if
(
roleId
==
5
)
{
return
row
.
fUploadTime
;
}
else
{
return
row
.
govUploadTime
;
}
},
// 表单重置
// 表单重置
reset
()
{
reset
()
{
this
.
form
=
{
this
.
form
=
{
...
@@ -561,6 +605,7 @@ export default {
...
@@ -561,6 +605,7 @@ export default {
this
.
getList
();
this
.
getList
();
});
});
}
else
{
}
else
{
this
.
form
.
fEnterpriseId
=
this
.
enterprises
[
0
].
enterpriseId
;
addProcess
(
this
.
form
).
then
(
response
=>
{
addProcess
(
this
.
form
).
then
(
response
=>
{
this
.
msgSuccess
(
"新增成功"
);
this
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
open
=
false
;
...
@@ -605,35 +650,42 @@ export default {
...
@@ -605,35 +650,42 @@ export default {
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fOldPlanProcessId
);
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fOldPlanProcessId
);
},
},
handleReport
(
row
){
handleReport
(
row
){
console
.
log
(
"-----------------------------"
+
row
.
fOldPlanProcessId
)
// 如果是 超级管理员或者 企业,并且 企业端上传状态为0
this
.
$confirm
(
'是否确认上传老旧管网改造计划项目名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
if
((
this
.
user
.
roleId
==
5
||
this
.
user
.
roleId
==
1
)
&&
row
.
fUploadType
==
'0'
)
{
this
.
$confirm
(
'是否确认上传老旧管网改造计划项目名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
return
entReportPipeOldPlanProcess
({
fOldPlanProcessId
:
row
.
fOldPlanProcessId
});
}).
then
(()
=>
{
this
.
getList
();
this
.
msgSuccess
(
"上传成功"
);
}).
catch
(()
=>
{});
}
// 如果是 超级管理员或者 政府,并且 政府端上传状态为0
if
((
this
.
user
.
roleId
==
3
||
this
.
user
.
roleId
==
1
)
&&
row
.
govUploadState
==
'0'
)
{
this
.
$confirm
(
'是否确认上传老旧管网改造计划项目名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
type
:
"warning"
}).
then
(
function
()
{
}).
then
(
function
()
{
updateProcess
({
fOldPlanProcessId
:
row
.
fOldPlanProcessId
,
fUploadType
:
1
}).
then
(
response
=>
{
return
reportPipeOldPlanProcess
({
fOldPlanProcessId
:
row
.
fOldPlanProcessId
});
this
.
msgSuccess
(
"上传成功"
);
}).
then
(()
=>
{
this
.
open
=
false
;
this
.
getList
();
this
.
getList
();
});
this
.
msgSuccess
(
"上传成功"
);
return
;
}).
catch
(()
=>
{});
}).
then
(()
=>
{
}
this
.
getList
();
this
.
msgSuccess
(
"上传成功"
);
}).
catch
(()
=>
{});
},
},
handleReport2
(
row
){
var
that
=
this
this
.
$confirm
(
'是否确认上传老旧管网改造计划项目名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
()
{
that
.
msgSuccess
(
"上传成功"
);
this
.
open
=
false
;
return
;
}).
catch
(()
=>
{});
}
}
}
};
};
</
script
>
</
script
>
<
style
>
/* 自定义输入框样式 */
.left-aligned-input
.el-input__inner
{
text-align
:
left
;
padding-left
:
5px
;
/* 根据需要调整内边距 */
}
</
style
>
\ No newline at end of file
zh-baseversion-web/src/views/thirdbuild/accident/index.vue
View file @
9ee22145
...
@@ -436,6 +436,10 @@ export default {
...
@@ -436,6 +436,10 @@ export default {
const
fConGasProIncId
=
row
.
fConGasProIncId
||
this
.
ids
const
fConGasProIncId
=
row
.
fConGasProIncId
||
this
.
ids
getInc
(
fConGasProIncId
).
then
(
response
=>
{
getInc
(
fConGasProIncId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
if
(
this
.
form
.
fAttachment
)
{
this
.
fileList
=
[{
name
:
'附件'
,
url
:
uploadfile
}];
}
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"修改涉气第三方施工意外事件"
;
this
.
title
=
"修改涉气第三方施工意外事件"
;
});
});
...
@@ -504,10 +508,8 @@ export default {
...
@@ -504,10 +508,8 @@ export default {
})
})
},
},
//上传
//上传
getFileInfo
(
res
){
getFileInfo
(
res
){
console
.
log
(
"this.form.fAttachment res"
+
res
.
url
);
this
.
form
.
fAttachment
=
res
.
url
;
this
.
form
.
fAttachment
=
res
.
url
;
console
.
log
(
"this.form.fAttachment"
+
this
.
form
.
fAttachment
);
this
.
fileList
.
push
({
this
.
fileList
.
push
({
name
:
res
.
fileName
,
name
:
res
.
fileName
,
url
:
uploadfile
,
url
:
uploadfile
,
...
@@ -525,8 +527,10 @@ export default {
...
@@ -525,8 +527,10 @@ export default {
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fConGasProIncId
);
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fConGasProIncId
);
},
},
/** 上传按钮操作 */
/** 上传按钮操作 */
handleReport
(
row
)
{
handleReport
(
row
)
{
if
(
this
.
user
.
roleId
==
5
)
{
// 如果是 超级管理员 或这企业,并且 企业端上传状态为0
if
((
this
.
user
.
roleId
==
5
||
this
.
user
.
roleId
==
1
)
&&
row
.
entUploadState
==
'0'
)
{
this
.
$confirm
(
'是否确认上传项目编号为"'
+
row
.
projectCode
+
'"的数据项?'
,
"警告"
,
{
this
.
$confirm
(
'是否确认上传项目编号为"'
+
row
.
projectCode
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
...
@@ -537,7 +541,10 @@ export default {
...
@@ -537,7 +541,10 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
msgSuccess
(
"上传成功"
);
this
.
msgSuccess
(
"上传成功"
);
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
}
else
{
}
// 如果是 超级管理员 或这政府,并且 政府端上传状态为0
if
((
this
.
user
.
roleId
==
3
||
this
.
user
.
roleId
==
1
)
&&
row
.
govUploadState
==
'0'
)
{
this
.
$confirm
(
'是否确认上传项目编号为"'
+
row
.
projectCode
+
'"的数据项?'
,
"警告"
,
{
this
.
$confirm
(
'是否确认上传项目编号为"'
+
row
.
projectCode
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
...
...
zh-baseversion-web/src/views/thirdbuild/project/index.vue
View file @
9ee22145
...
@@ -859,8 +859,8 @@ export default {
...
@@ -859,8 +859,8 @@ export default {
/** 上传按钮操作 */
/** 上传按钮操作 */
handleReport
(
row
)
{
handleReport
(
row
)
{
if
(
this
.
user
.
roleId
==
5
)
{
// 如果是 超级管理员 或这企业,并且 企业端上传状态为0
if
((
this
.
user
.
roleId
==
5
||
this
.
user
.
roleId
==
1
)
&&
row
.
entUploadState
==
'0'
)
{
this
.
$confirm
(
'是否确认上传涉气第三方施工项目档案名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
this
.
$confirm
(
'是否确认上传涉气第三方施工项目档案名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
...
@@ -871,7 +871,10 @@ export default {
...
@@ -871,7 +871,10 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
msgSuccess
(
"上传成功"
);
this
.
msgSuccess
(
"上传成功"
);
}).
catch
(()
=>
{});
}).
catch
(()
=>
{});
}
else
{
}
// 如果是 超级管理员 或这政府,并且 政府端上传状态为0
if
((
this
.
user
.
roleId
==
3
||
this
.
user
.
roleId
==
1
)
&&
row
.
govUploadState
==
'0'
)
{
this
.
$confirm
(
'是否确认上传涉气第三方施工项目档案名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
this
.
$confirm
(
'是否确认上传涉气第三方施工项目档案名称为"'
+
row
.
fProjectName
+
'"的数据项?'
,
"警告"
,
{
confirmButtonText
:
"确定"
,
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
cancelButtonText
:
"取消"
,
...
...
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