Merge remote-tracking branch 'origin/feature_dev_20221008_TODO' into dev_2nd_period_test
This commit is contained in:
+189
-160
@@ -19,80 +19,102 @@
|
|||||||
|
|
||||||
<sql id="BaseQuerySql">
|
<sql id="BaseQuerySql">
|
||||||
<where>
|
<where>
|
||||||
(
|
|
||||||
pi.id IN (
|
|
||||||
SELECT
|
|
||||||
pid.process_info_id
|
|
||||||
FROM
|
|
||||||
process_info_detail pid
|
|
||||||
<where>
|
|
||||||
pid.user_id = #{params.currentUserId}
|
|
||||||
<if test="params.taskStatus != null and params.taskStatus != ''">
|
|
||||||
and pid.status = #{params.taskStatus}
|
|
||||||
</if>
|
|
||||||
</where>
|
|
||||||
)
|
|
||||||
)
|
|
||||||
<if test="params.projectName != null and params.projectName !=''">
|
<if test="params.projectName != null and params.projectName !=''">
|
||||||
and (
|
and (
|
||||||
pni.project_name like CONCAT(CONCAT('%',#{params.projectName}),'%')
|
temp.project_name like CONCAT(CONCAT('%',#{params.projectName}),'%')
|
||||||
or pyni.year_name like CONCAT(CONCAT('%',#{params.projectName}),'%')
|
or temp.year_name like CONCAT(CONCAT('%',#{params.projectName}),'%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="params.serialNumber != null and params.serialNumber !=''">
|
<if test="params.standardInfo != null and params.standardInfo !=''">
|
||||||
and (
|
and temp.standard_info like CONCAT(CONCAT('%',#{params.standardInfo}),'%')
|
||||||
pli.serial_number like CONCAT(CONCAT('%',#{params.serialNumber}),'%')
|
|
||||||
)
|
|
||||||
</if>
|
</if>
|
||||||
<if test="params.flowType != null and params.flowType !=''">
|
<if test="params.flowType != null and params.flowType !=''">
|
||||||
and pi.flow_type = #{params.flowType}
|
and temp.flow_type = #{params.flowType}
|
||||||
</if>
|
</if>
|
||||||
<if test="params.status != null and params.status !=''">
|
<if test="params.status != null and params.status !=''">
|
||||||
and pi.status = #{params.status}
|
and temp.status = #{params.status}
|
||||||
</if>
|
|
||||||
<if test="params.flowTypeList != null">
|
|
||||||
and pi.flow_type in
|
|
||||||
<foreach collection="params.flowTypeList" index="index" item="item" open="(" separator="," close=")">
|
|
||||||
#{item}
|
|
||||||
</foreach>
|
|
||||||
</if>
|
|
||||||
<if test="params.createBy != null and params.createBy != ''">
|
|
||||||
and pi.create_by = #{params.createBy}
|
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="queryProjectProcessPageList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
|
<select id="queryProjectProcessPageList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
|
||||||
SELECT
|
select temp.* from (
|
||||||
pi.id,
|
SELECT
|
||||||
pi.project_library_id,
|
pi.id,
|
||||||
pi.project_laws_inventory_id,
|
pi.project_library_id,
|
||||||
pi.buss_document_library_id,
|
pi.project_laws_inventory_id,
|
||||||
pi.acti_proc_inst_id,
|
pi.buss_document_library_id,
|
||||||
pni.project_name,
|
pi.acti_proc_inst_id,
|
||||||
pyni.year_name,
|
pni.project_name,
|
||||||
pli.serial_number,
|
pyni.year_name,
|
||||||
pli.title,
|
pli.serial_number,
|
||||||
pi.flow_type,
|
pli.title,
|
||||||
createBy.username as "create_by",
|
bdl.title_en,
|
||||||
pi.end_time,
|
<if test="params.cut == 'cn'">
|
||||||
(select detail.task_id from process_info_detail detail where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} order by submit_time desc limit 1) as task_id,
|
concat(pli.serial_number,'、',pli.title) as standard_info,
|
||||||
(select detail.task_definition_key from process_info_detail detail where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} order by submit_time desc limit 1) as task_definition_key,
|
</if>
|
||||||
pi.status,
|
<if test="params.cut == 'en'">
|
||||||
pi.prc_num,
|
concat(pli.serial_number,'、',bdl.title_en) as standard_info,
|
||||||
pi.prc_name,
|
</if>
|
||||||
plb.project_name_id,
|
pi.flow_type,
|
||||||
plb.target_market,
|
createBy.username as "create_by",
|
||||||
plb.studio_engineer
|
pi.end_time,
|
||||||
FROM
|
(
|
||||||
process_info pi
|
select
|
||||||
left join project_library_base plb on plb.id = pi.project_library_id
|
detail.task_id
|
||||||
left join project_name_info pni on pni.id = plb.project_name_id
|
from
|
||||||
left join project_year_name_info pyni on pyni.id = plb.year_name_id
|
process_info_detail detail
|
||||||
left join project_laws_inventory pli on pi.project_laws_inventory_id = pli.id
|
where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} order by submit_time desc limit 1
|
||||||
LEFT JOIN sys_user createBy on createBy.id = pi.create_by
|
) as task_id,
|
||||||
|
(
|
||||||
|
select
|
||||||
|
detail.task_definition_key
|
||||||
|
from
|
||||||
|
process_info_detail detail
|
||||||
|
where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} order by submit_time desc limit 1
|
||||||
|
) as task_definition_key,
|
||||||
|
pi.status,
|
||||||
|
pi.prc_num,
|
||||||
|
pi.prc_name,
|
||||||
|
plb.project_name_id,
|
||||||
|
plb.target_market,
|
||||||
|
plb.studio_engineer
|
||||||
|
FROM
|
||||||
|
process_info pi
|
||||||
|
left join project_library_base plb on plb.id = pi.project_library_id
|
||||||
|
left join project_name_info pni on pni.id = plb.project_name_id
|
||||||
|
left join project_year_name_info pyni on pyni.id = plb.year_name_id
|
||||||
|
left join project_laws_inventory pli on pi.project_laws_inventory_id = pli.id
|
||||||
|
LEFT JOIN sys_user createBy on createBy.id = pi.create_by
|
||||||
|
LEFT JOIN buss_document_library bdl ON pi.buss_document_library_id = bdl.id
|
||||||
|
<where>
|
||||||
|
and pi.id IN (
|
||||||
|
SELECT
|
||||||
|
pid.process_info_id
|
||||||
|
FROM
|
||||||
|
process_info_detail pid
|
||||||
|
<where>
|
||||||
|
pid.user_id = #{params.currentUserId}
|
||||||
|
<if test="params.taskStatus != null and params.taskStatus != ''">
|
||||||
|
and pid.status = #{params.taskStatus}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
)
|
||||||
|
<if test="params.flowTypeList != null">
|
||||||
|
and pi.flow_type in
|
||||||
|
<foreach collection="params.flowTypeList" index="index" item="item" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
|
</if>
|
||||||
|
<if test="params.queryType == 'issuedProcess'">
|
||||||
|
<if test="params.createBy != null and params.createBy != ''">
|
||||||
|
and pi.create_by = #{params.createBy}
|
||||||
|
</if>
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
) temp
|
||||||
<include refid="BaseQuerySql"/>
|
<include refid="BaseQuerySql"/>
|
||||||
order by pi.end_time asc
|
order by temp.end_time desc
|
||||||
</select>
|
</select>
|
||||||
<select id="queryProjectProcessTodoTaskListList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
|
<select id="queryProjectProcessTodoTaskListList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
|
||||||
select temp.* from (
|
select temp.* from (
|
||||||
@@ -106,11 +128,30 @@
|
|||||||
pyni.year_name,
|
pyni.year_name,
|
||||||
pli.serial_number,
|
pli.serial_number,
|
||||||
pli.title,
|
pli.title,
|
||||||
|
bdl.title_en,
|
||||||
|
<if test="params.cut == 'cn'">
|
||||||
|
concat(pli.serial_number,'、',pli.title) as standard_info,
|
||||||
|
</if>
|
||||||
|
<if test="params.cut == 'en'">
|
||||||
|
concat(pli.serial_number,'、',bdl.title_en) as standard_info,
|
||||||
|
</if>
|
||||||
pi.flow_type,
|
pi.flow_type,
|
||||||
createBy.username AS "create_by",
|
createBy.username AS "create_by",
|
||||||
pi.end_time,
|
pi.end_time,
|
||||||
(select detail.task_id from process_info_detail detail where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} and detail.`status` = 'NotDone' limit 1) as task_id,
|
(
|
||||||
(select detail.task_definition_key from process_info_detail detail where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} and detail.`status` = 'NotDone' limit 1) as task_definition_key,
|
select
|
||||||
|
detail.task_id
|
||||||
|
from
|
||||||
|
process_info_detail detail
|
||||||
|
where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} and detail.`status` = 'NotDone' limit 1
|
||||||
|
) as task_id,
|
||||||
|
(
|
||||||
|
select
|
||||||
|
detail.task_definition_key
|
||||||
|
from
|
||||||
|
process_info_detail detail
|
||||||
|
where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId} and detail.`status` = 'NotDone' limit 1
|
||||||
|
) as task_definition_key,
|
||||||
pi.STATUS,
|
pi.STATUS,
|
||||||
pi.prc_num,
|
pi.prc_num,
|
||||||
pi.prc_name,
|
pi.prc_name,
|
||||||
@@ -124,6 +165,7 @@
|
|||||||
LEFT JOIN project_year_name_info pyni ON pyni.id = plb.year_name_id
|
LEFT JOIN project_year_name_info pyni ON pyni.id = plb.year_name_id
|
||||||
LEFT JOIN project_laws_inventory pli ON pi.project_laws_inventory_id = pli.id
|
LEFT JOIN project_laws_inventory pli ON pi.project_laws_inventory_id = pli.id
|
||||||
LEFT JOIN sys_user createBy ON createBy.id = pi.create_by
|
LEFT JOIN sys_user createBy ON createBy.id = pi.create_by
|
||||||
|
LEFT JOIN buss_document_library bdl ON pi.buss_document_library_id = bdl.id
|
||||||
where
|
where
|
||||||
(
|
(
|
||||||
pi.id IN (
|
pi.id IN (
|
||||||
@@ -131,8 +173,7 @@
|
|||||||
pid.process_info_id
|
pid.process_info_id
|
||||||
FROM
|
FROM
|
||||||
process_info_detail pid
|
process_info_detail pid
|
||||||
where
|
where pid.user_id = #{params.currentUserId} and pid.status = #{params.taskStatus}
|
||||||
pid.user_id = #{params.currentUserId} and pid.status = #{params.taskStatus}
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
AND pi.flow_type IN
|
AND pi.flow_type IN
|
||||||
@@ -149,10 +190,18 @@
|
|||||||
pni.project_name,
|
pni.project_name,
|
||||||
pyni.year_name,
|
pyni.year_name,
|
||||||
'--' as serial_number,
|
'--' as serial_number,
|
||||||
|
'--' as standard_info,
|
||||||
'' as title,
|
'' as title,
|
||||||
|
'' as title_en,
|
||||||
pi.flow_type,
|
pi.flow_type,
|
||||||
createBy.username AS "create_by",
|
createBy.username AS "create_by",
|
||||||
(select pid.end_time from process_info_detail pid where pid.process_info_id = pi.id and pid.STATUS = 'NotDone' order by pid.end_time asc limit 1) as end_time,
|
(
|
||||||
|
select
|
||||||
|
pid.end_time
|
||||||
|
from
|
||||||
|
process_info_detail pid
|
||||||
|
where pid.process_info_id = pi.id and pid.STATUS = 'NotDone' order by pid.end_time asc limit 1
|
||||||
|
) as end_time,
|
||||||
'' as task_id,
|
'' as task_id,
|
||||||
'' as task_definition_key,
|
'' as task_definition_key,
|
||||||
pi.STATUS,
|
pi.STATUS,
|
||||||
@@ -175,111 +224,91 @@
|
|||||||
pid.process_info_id
|
pid.process_info_id
|
||||||
FROM
|
FROM
|
||||||
process_info_detail pid
|
process_info_detail pid
|
||||||
where
|
where pid.user_id = #{params.currentUserId} and pid.status = #{params.taskStatus}
|
||||||
pid.user_id = #{params.currentUserId} and pid.status = #{params.taskStatus}
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
AND pi.flow_type = #{params.qdqrFlowTypeValue}
|
AND pi.flow_type = #{params.qdqrFlowTypeValue}
|
||||||
)temp
|
)temp
|
||||||
<where>
|
<include refid="BaseQuerySql"/>
|
||||||
<if test="params.projectName != null and params.projectName !=''">
|
|
||||||
and (
|
|
||||||
temp.project_name like CONCAT(CONCAT('%',#{params.projectName}),'%')
|
|
||||||
or temp.year_name like CONCAT(CONCAT('%',#{params.projectName}),'%')
|
|
||||||
)
|
|
||||||
</if>
|
|
||||||
<if test="params.serialNumber != null and params.serialNumber !=''">
|
|
||||||
and (
|
|
||||||
temp.serial_number like CONCAT(CONCAT('%',#{params.serialNumber}),'%')
|
|
||||||
)
|
|
||||||
</if>
|
|
||||||
<if test="params.flowType != null and params.flowType !=''">
|
|
||||||
and temp.flow_type = #{params.flowType}
|
|
||||||
</if>
|
|
||||||
<if test="params.status != null and params.status !=''">
|
|
||||||
and temp.status = #{params.status}
|
|
||||||
</if>
|
|
||||||
<if test="params.createBy != null and params.createBy != ''">
|
|
||||||
and temp.create_by = #{params.createBy}
|
|
||||||
</if>
|
|
||||||
</where>
|
|
||||||
order by temp.end_time asc
|
order by temp.end_time asc
|
||||||
</select>
|
</select>
|
||||||
<select id="queryLawsAssessPageList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
|
<select id="queryLawsAssessPageList" resultType="com.jero.modules.todoCenter.vo.ProcessInfoVO">
|
||||||
SELECT
|
select temp.* from (
|
||||||
pi.id,
|
SELECT
|
||||||
pi.buss_document_library_id,
|
pi.id,
|
||||||
bdl.serial_number,
|
pi.buss_document_library_id,
|
||||||
bdl.title,
|
bdl.serial_number,
|
||||||
pi.flow_type,
|
bdl.title,
|
||||||
pi.end_time,
|
bdl.title_en,
|
||||||
pi.STATUS,
|
<if test="params.cut == 'cn'">
|
||||||
pi.prc_num,
|
concat(bdl.serial_number,'、',bdl.title) as standard_info,
|
||||||
pi.prc_name,
|
|
||||||
(
|
|
||||||
select
|
|
||||||
detail.task_id
|
|
||||||
from
|
|
||||||
process_info_detail detail
|
|
||||||
where detail.process_info_id = pi.id
|
|
||||||
and detail.user_id = #{params.currentUserId}
|
|
||||||
<if test="params.queryType == 'todoProcess'">
|
|
||||||
and detail.`status` = #{params.taskStatus}
|
|
||||||
</if>
|
</if>
|
||||||
order by detail.submit_time desc
|
<if test="params.cut == 'en'">
|
||||||
limit 1
|
concat(bdl.serial_number,'、',bdl.title_en) as standard_info,
|
||||||
) as task_id,
|
|
||||||
(
|
|
||||||
select
|
|
||||||
detail.task_definition_key
|
|
||||||
from
|
|
||||||
process_info_detail detail
|
|
||||||
where detail.process_info_id = pi.id
|
|
||||||
and detail.user_id = #{params.currentUserId}
|
|
||||||
<if test="params.queryType == 'todoProcess'">
|
|
||||||
and detail.`status` = #{params.taskStatus}
|
|
||||||
</if>
|
</if>
|
||||||
order by detail.submit_time desc
|
pi.flow_type,
|
||||||
limit 1
|
pi.end_time,
|
||||||
) as task_definition_key,
|
pi.STATUS,
|
||||||
createBy.username AS "create_by",
|
pi.prc_num,
|
||||||
pi.acti_proc_inst_id,
|
pi.prc_name,
|
||||||
pi.create_time
|
(
|
||||||
FROM
|
select
|
||||||
|
detail.task_id
|
||||||
|
from
|
||||||
|
process_info_detail detail
|
||||||
|
where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId}
|
||||||
|
<if test="params.queryType == 'todoProcess'">
|
||||||
|
and detail.`status` = #{params.taskStatus}
|
||||||
|
</if>
|
||||||
|
order by detail.submit_time desc
|
||||||
|
limit 1
|
||||||
|
) as task_id,
|
||||||
|
(
|
||||||
|
select
|
||||||
|
detail.task_definition_key
|
||||||
|
from
|
||||||
|
process_info_detail detail
|
||||||
|
where detail.process_info_id = pi.id and detail.user_id = #{params.currentUserId}
|
||||||
|
<if test="params.queryType == 'todoProcess'">
|
||||||
|
and detail.`status` = #{params.taskStatus}
|
||||||
|
</if>
|
||||||
|
order by detail.submit_time desc
|
||||||
|
limit 1
|
||||||
|
) as task_definition_key,
|
||||||
|
createBy.username AS create_by,
|
||||||
|
pi.acti_proc_inst_id,
|
||||||
|
pi.create_time
|
||||||
|
FROM
|
||||||
process_info pi
|
process_info pi
|
||||||
LEFT JOIN buss_document_library bdl ON pi.buss_document_library_id = bdl.id
|
LEFT JOIN buss_document_library bdl ON pi.buss_document_library_id = bdl.id
|
||||||
LEFT JOIN sys_user createBy on createBy.id = pi.create_by
|
LEFT JOIN sys_user createBy on createBy.id = pi.create_by
|
||||||
<where>
|
<where>
|
||||||
pi.flow_type IN
|
pi.flow_type IN
|
||||||
<foreach collection="params.flowTypeList" index="index" item="item" open="(" separator="," close=")">
|
<foreach collection="params.flowTypeList" index="index" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
<if test="params.queryType == 'issuedProcess'">
|
<if test="params.queryType == 'issuedProcess'">
|
||||||
and pi.create_by = #{params.createBy}
|
and pi.create_by = #{params.createBy}
|
||||||
</if>
|
</if>
|
||||||
<if test="params.queryType != 'issuedProcess'">
|
<if test="params.queryType != 'issuedProcess'">
|
||||||
and (
|
and (
|
||||||
pi.id IN (
|
pi.id IN (
|
||||||
SELECT
|
SELECT
|
||||||
pid.process_info_id
|
pid.process_info_id
|
||||||
FROM
|
FROM
|
||||||
process_info_detail pid
|
process_info_detail pid
|
||||||
where
|
where pid.user_id = #{params.currentUserId} and pid.status = #{params.taskStatus}
|
||||||
pid.user_id = #{params.currentUserId} and pid.status = #{params.taskStatus}
|
)
|
||||||
)
|
)
|
||||||
)
|
</if>
|
||||||
</if>
|
</where>
|
||||||
|
) temp
|
||||||
<if test="params.serialNumber != null and params.serialNumber != ''">
|
<include refid="BaseQuerySql"/>
|
||||||
and (
|
<if test="params.queryType == 'todoProcess' ">
|
||||||
bdl.serial_number like CONCAT(CONCAT('%',#{params.serialNumber}),'%')
|
order by temp.end_time asc
|
||||||
or bdl.title like CONCAT(CONCAT('%',#{params.serialNumber}),'%')
|
</if>
|
||||||
)
|
<if test="params.queryType != 'todoProcess' ">
|
||||||
</if>
|
order by temp.end_time desc
|
||||||
<if test="params.flowType != null and params.flowType !=''">
|
</if>
|
||||||
and pi.flow_type = #{params.flowType}
|
|
||||||
</if>
|
|
||||||
</where>
|
|
||||||
order by pi.end_time asc
|
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
+1
@@ -237,6 +237,7 @@ public class ProcessInfoEOServiceImpl extends ServiceImpl<ProcessInfoEOMapper, P
|
|||||||
this.setFlowTypeList(flowTypeList);
|
this.setFlowTypeList(flowTypeList);
|
||||||
params.put("flowTypeList",flowTypeList);
|
params.put("flowTypeList",flowTypeList);
|
||||||
params.put("currentUserId",currentUser.getId());
|
params.put("currentUserId",currentUser.getId());
|
||||||
|
params.put("queryType","issuedProcess");
|
||||||
|
|
||||||
IPage page = new Page(pageNo, pageSize);
|
IPage page = new Page(pageNo, pageSize);
|
||||||
IPage<ProcessInfoVO> result = this.baseMapper.queryProjectProcessPageList(page,params);
|
IPage<ProcessInfoVO> result = this.baseMapper.queryProjectProcessPageList(page,params);
|
||||||
|
|||||||
+6
-1
@@ -80,8 +80,10 @@ public class ProcessInfoVO implements Serializable {
|
|||||||
|
|
||||||
/**标准编号*/
|
/**标准编号*/
|
||||||
private String serialNumber;
|
private String serialNumber;
|
||||||
/**标准标题*/
|
/**标准标题-中文*/
|
||||||
private String title;
|
private String title;
|
||||||
|
/**标准标题-英文*/
|
||||||
|
private String titleEn;
|
||||||
/**项目名称*/
|
/**项目名称*/
|
||||||
private String projectName;
|
private String projectName;
|
||||||
/**年份*/
|
/**年份*/
|
||||||
@@ -102,4 +104,7 @@ public class ProcessInfoVO implements Serializable {
|
|||||||
private String personChargeFeedback;
|
private String personChargeFeedback;
|
||||||
/**截止日期 过期标识:true为已经过期 false为没有过期**/
|
/**截止日期 过期标识:true为已经过期 false为没有过期**/
|
||||||
private boolean endTimePastDueFlag = false;
|
private boolean endTimePastDueFlag = false;
|
||||||
|
|
||||||
|
/**标准信息**/
|
||||||
|
private String standardInfo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,15 @@
|
|||||||
<span class="title-text-text" :title="$t('complianceResults')">{{$t('complianceResults')}}</span>
|
<span class="title-text-text" :title="$t('complianceResults')">{{$t('complianceResults')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" v-if="disabled">
|
<div class="title-text-right" v-if="disabled">
|
||||||
{{formInline.complianceResult == 'Compliance'?$t('accord'):$t('nonConformity')}}
|
<span v-if="formInline.complianceResult == 'Compliance'">
|
||||||
|
{{$t('accord')}}
|
||||||
|
</span>
|
||||||
|
<span v-else-if="formInline.complianceResult == 'Non-Compliance'">
|
||||||
|
{{$t('nonConformity')}}
|
||||||
|
</span>
|
||||||
|
<span v-else>
|
||||||
|
--
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" v-if="!disabled" :prop="!disabled?'complianceResult':''">
|
<a-form-model-item class="itemModel" v-if="!disabled" :prop="!disabled?'complianceResult':''">
|
||||||
<a-radio-group style="margin-top: 2px" class="box-input"
|
<a-radio-group style="margin-top: 2px" class="box-input"
|
||||||
@@ -51,7 +59,7 @@
|
|||||||
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :title="item.relatedSection" v-if="disabled">
|
<div class="title-text-right" :title="item.relatedSection" v-if="disabled">
|
||||||
{{item.relatedSection}}
|
{{item.relatedSection ?item.relatedSection : '--'}}
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" v-if="!disabled"
|
<a-form-model-item class="itemModel" v-if="!disabled"
|
||||||
:prop="'dataList.'+index+'.relatedSection'"
|
:prop="'dataList.'+index+'.relatedSection'"
|
||||||
@@ -73,7 +81,7 @@
|
|||||||
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :title="item.issueOrSuggest" v-if="disabled">
|
<div class="title-text-right" :title="item.issueOrSuggest" v-if="disabled">
|
||||||
{{item.issueOrSuggest}}
|
{{item.issueOrSuggest ? item.issueOrSuggest :'--'}}
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel" :prop="'dataList.'+index+'.issueOrSuggest'" v-if="!disabled"
|
<a-form-model-item class="itemModel" :prop="'dataList.'+index+'.issueOrSuggest'" v-if="!disabled"
|
||||||
:rules="[{ required: true, message: $t('problemDescription') + $t('cannotEmpty'), trigger: 'blur'},
|
:rules="[{ required: true, message: $t('problemDescription') + $t('cannotEmpty'), trigger: 'blur'},
|
||||||
@@ -121,7 +129,7 @@
|
|||||||
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
<span class="title-text-text" :title="$t('relevantSections')">{{$t('relevantSections')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.relatedSection">
|
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.relatedSection">
|
||||||
{{item.relatedSection}}
|
{{item.relatedSection?item.relatedSection : '--'}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -132,7 +140,7 @@
|
|||||||
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
:title="$t('problemDescription')">{{$t('problemDescription')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.issueOrSuggest">
|
<div class="title-text-right" :class="{'title-text-right-text':disabled}" :title="item.issueOrSuggest">
|
||||||
{{item.issueOrSuggest}}
|
{{item.issueOrSuggest ? item.issueOrSuggest:'--'}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|||||||
@@ -373,7 +373,11 @@
|
|||||||
antTableHeader[0].style = 'margin-bottom: -8px;padding-bottom: 0px;min-width: 8px;overflow: hidden'
|
antTableHeader[0].style = 'margin-bottom: -8px;padding-bottom: 0px;min-width: 8px;overflow: hidden'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.$route.query.taskDefinitionKey != 'pgrqr') {
|
let disabled = false
|
||||||
|
if (this.$route.query.isDisabled) {
|
||||||
|
disabled = JSON.parse(this.$route.query.isDisabled)
|
||||||
|
}
|
||||||
|
if (this.$route.query.taskDefinitionKey != 'pgrqr' && !disabled) {
|
||||||
this.dataSource.forEach(res => {
|
this.dataSource.forEach(res => {
|
||||||
res.sponsorFeedback = ''
|
res.sponsorFeedback = ''
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -124,10 +124,16 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
lawsOpinionAssessmentResult() {
|
lawsOpinionAssessmentResult() {
|
||||||
|
let createBy = ''
|
||||||
|
if (this.$route.query.taskDefinitionKey == 'gcsfq' && this.disabled){
|
||||||
|
createBy = ''
|
||||||
|
}else{
|
||||||
|
createBy = this.userInfo().username
|
||||||
|
}
|
||||||
getAction(this.url.list, {
|
getAction(this.url.list, {
|
||||||
lawsOpinionGatherId: this.queryProject.id,
|
lawsOpinionGatherId: this.queryProject.id,
|
||||||
actiProcInstId: this.$route.query.prcId,
|
actiProcInstId: this.$route.query.prcId,
|
||||||
createBy: this.userInfo().username
|
createBy: createBy
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.feedbackDataList = res.result || []
|
this.feedbackDataList = res.result || []
|
||||||
|
|||||||
@@ -21,8 +21,8 @@
|
|||||||
<a @click="RelatedItemsClick(record)" :title="text">{{text}}</a>
|
<a @click="RelatedItemsClick(record)" :title="text">{{text}}</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="standardInformation" slot-scope="text,record">
|
<span slot="standardInformation" slot-scope="text,record">
|
||||||
<a @click="standardInformationClick(record)" v-if="text && text != '--'" :title="text+'、'+record.title">
|
<a @click="standardInformationClick(record)" v-if="text && text != '--'" :title="text">
|
||||||
{{text+'、'+record.title}}
|
{{text}}
|
||||||
</a>
|
</a>
|
||||||
<span v-else>--</span>
|
<span v-else>--</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'standardInfo',
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
scopedSlots: { customRender: 'standardInformation' },
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
|
|||||||
@@ -22,8 +22,8 @@
|
|||||||
<a @click="RelatedItemsClick(record)" :title="text">{{text}}</a>
|
<a @click="RelatedItemsClick(record)" :title="text">{{text}}</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="standardInformation" slot-scope="text,record">
|
<span slot="standardInformation" slot-scope="text,record">
|
||||||
<a @click="standardInformationClick(record)" v-if="text && text != '--'" :title="text+'、'+record.title">
|
<a @click="standardInformationClick(record)" v-if="text && text != '--'" :title="text">
|
||||||
{{text+'、'+record.title}}
|
{{text}}
|
||||||
</a>
|
</a>
|
||||||
<span v-else>--</span>
|
<span v-else>--</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'standardInfo',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
scopedSlots: { customRender: 'standardInformation' },
|
||||||
width: 170
|
width: 170
|
||||||
@@ -331,7 +331,8 @@
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
.activeRed{
|
|
||||||
color: red;
|
.activeRed {
|
||||||
|
color: red;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -23,8 +23,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="standardInformation" slot-scope="text,record">
|
<span slot="standardInformation" slot-scope="text,record">
|
||||||
<a @click="standardInformationClick(record)" v-if="text && text != '--'" :title="text+'、'+record.title">
|
<a @click="standardInformationClick(record)" v-if="text && text != '--'" :title="text">
|
||||||
{{text+'、'+record.title}}
|
{{text}}
|
||||||
</a>
|
</a>
|
||||||
<span v-else>--</span>
|
<span v-else>--</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'standardInfo',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
scopedSlots: { customRender: 'standardInformation' },
|
||||||
width: 170
|
width: 170
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<span>{{$t('standardInformation')}}</span>
|
<span>{{$t('standardInformation')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standardInformation')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standardInformation')"
|
||||||
v-model="queryParam.serialNumber"></a-input>
|
v-model="queryParam.standardInfo"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
@click="viewClick(record)">{{$t('view')}}</a>
|
@click="viewClick(record)">{{$t('view')}}</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="standardInformation" slot-scope="text,record">
|
<span slot="standardInformation" slot-scope="text,record">
|
||||||
<a @click="standardInformationClick(record)" :title="text+'、'+record.title">
|
<a @click="standardInformationClick(record)" :title="text">
|
||||||
{{text+'、'+record.title}}
|
{{text}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'standardInfo',
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
scopedSlots: { customRender: 'standardInformation' },
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
|
|||||||
@@ -19,8 +19,8 @@
|
|||||||
<span :title="text" :class="{'activeRed':record.endTimePastDueFlag}">{{text}}</span>
|
<span :title="text" :class="{'activeRed':record.endTimePastDueFlag}">{{text}}</span>
|
||||||
</span>
|
</span>
|
||||||
<span slot="standardInformation" slot-scope="text,record">
|
<span slot="standardInformation" slot-scope="text,record">
|
||||||
<a @click="standardInformationClick(record)" :title="text+'、'+record.title">
|
<a @click="standardInformationClick(record)" :title="text">
|
||||||
{{text+'、'+record.title}}
|
{{text}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'standardInfo',
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
scopedSlots: { customRender: 'standardInformation' },
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
|
|||||||
@@ -18,8 +18,8 @@
|
|||||||
@click="viewClick(record)">{{$t('view')}}</a>
|
@click="viewClick(record)">{{$t('view')}}</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="standardInformation" slot-scope="text,record">
|
<span slot="standardInformation" slot-scope="text,record">
|
||||||
<a @click="standardInformationClick(record)" :title="text+'、'+record.title">
|
<a @click="standardInformationClick(record)" :title="text">
|
||||||
{{text+'、'+record.title}}
|
{{text}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('standardInformation'),
|
title: this.$t('standardInformation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'serialNumber',
|
dataIndex: 'standardInfo',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
scopedSlots: { customRender: 'standardInformation' },
|
scopedSlots: { customRender: 'standardInformation' },
|
||||||
width: 170
|
width: 170
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<span>{{$t('standardInformation')}}</span>
|
<span>{{$t('standardInformation')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standardInformation')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standardInformation')"
|
||||||
v-model="queryParam.serialNumber"></a-input>
|
v-model="queryParam.standardInfo"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="8">
|
<a-col :md="6" :sm="8">
|
||||||
|
|||||||
Reference in New Issue
Block a user