Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
+3
-3
@@ -146,7 +146,7 @@ public class OSSFileServiceImpl extends ServiceImpl<OSSFileMapper, OSSFile> impl
|
|||||||
if (cut.equals(CutEnum.CN.getValue())) {
|
if (cut.equals(CutEnum.CN.getValue())) {
|
||||||
throw new JeroBootException("只能够上传pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
throw new JeroBootException("只能够上传pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
||||||
} else {
|
} else {
|
||||||
throw new JeroBootException("Only upload pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
throw new JeroBootException("Only upload pdf/word/excel/csv/ppt/txt/zip/rar/Static image type file. Please re-select the file!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -265,7 +265,7 @@ public class OSSFileServiceImpl extends ServiceImpl<OSSFileMapper, OSSFile> impl
|
|||||||
if (cut.equals(CutEnum.CN.getValue())) {
|
if (cut.equals(CutEnum.CN.getValue())) {
|
||||||
throw new JeroBootException("只能够上传pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
throw new JeroBootException("只能够上传pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
||||||
} else {
|
} else {
|
||||||
throw new JeroBootException("Only upload pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
throw new JeroBootException("Only upload pdf/word/excel/csv/ppt/txt/zip/rar/Static image type file. Please re-select the file!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -357,7 +357,7 @@ public class OSSFileServiceImpl extends ServiceImpl<OSSFileMapper, OSSFile> impl
|
|||||||
if (cut.equals(CutEnum.CN.getValue())) {
|
if (cut.equals(CutEnum.CN.getValue())) {
|
||||||
throw new JeroBootException("只能够上传pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
throw new JeroBootException("只能够上传pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
||||||
} else {
|
} else {
|
||||||
throw new JeroBootException("Only upload pdf/word/excel/csv/ppt/txt/zip/rar/静态图片类型的文件。请重新选择文件!");
|
throw new JeroBootException("Only upload pdf/word/excel/csv/ppt/txt/zip/rar/Static image type file. Please re-select the file!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -65,6 +65,7 @@ public class SarFileCompareInfoController extends JeroController<SarFileCompareI
|
|||||||
QueryWrapper<SarFileCompareInfo> queryWrapper = QueryGenerator.initQueryWrapper(sarFileCompareInfo, req.getParameterMap());
|
QueryWrapper<SarFileCompareInfo> queryWrapper = QueryGenerator.initQueryWrapper(sarFileCompareInfo, req.getParameterMap());
|
||||||
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||||
queryWrapper.eq("create_by", sysUser.getUsername()).or().eq("release_state", ReleaseConditionEnum.PUBLISHED.getValue());
|
queryWrapper.eq("create_by", sysUser.getUsername()).or().eq("release_state", ReleaseConditionEnum.PUBLISHED.getValue());
|
||||||
|
queryWrapper.orderByAsc("create_by");
|
||||||
Page<SarFileCompareInfo> page = new Page<>(pageNo, pageSize);
|
Page<SarFileCompareInfo> page = new Page<>(pageNo, pageSize);
|
||||||
IPage<SarFileCompareInfo> pageList = sarFileCompareInfoService.page(page, queryWrapper);
|
IPage<SarFileCompareInfo> pageList = sarFileCompareInfoService.page(page, queryWrapper);
|
||||||
for (SarFileCompareInfo info : pageList.getRecords()) {
|
for (SarFileCompareInfo info : pageList.getRecords()) {
|
||||||
|
|||||||
+15
-1
@@ -1,5 +1,6 @@
|
|||||||
package com.jero.modules.compare.service.impl;
|
package com.jero.modules.compare.service.impl;
|
||||||
|
|
||||||
|
import cn.hutool.core.collection.CollectionUtil;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.jero.modules.compare.entity.*;
|
import com.jero.modules.compare.entity.*;
|
||||||
import com.jero.modules.compare.mapper.SarFileCompareInfoMapper;
|
import com.jero.modules.compare.mapper.SarFileCompareInfoMapper;
|
||||||
@@ -9,6 +10,7 @@ import com.jero.modules.compare.service.ISarFileCompareMenuService;
|
|||||||
import com.jero.modules.compare.utils.CompHanLPUtils;
|
import com.jero.modules.compare.utils.CompHanLPUtils;
|
||||||
import com.jero.modules.compare.utils.CompareConst;
|
import com.jero.modules.compare.utils.CompareConst;
|
||||||
import com.jero.modules.docTranslation.enums.ReleaseConditionEnum;
|
import com.jero.modules.docTranslation.enums.ReleaseConditionEnum;
|
||||||
|
import com.jero.modules.document.service.IBussDocumentLibraryEOService;
|
||||||
import com.jero.modules.split.entity.SarFileSplitInfoEO;
|
import com.jero.modules.split.entity.SarFileSplitInfoEO;
|
||||||
import com.jero.modules.split.entity.SarFileSplitItemsEO;
|
import com.jero.modules.split.entity.SarFileSplitItemsEO;
|
||||||
import com.jero.modules.split.entity.SarFileSplitMenuEO;
|
import com.jero.modules.split.entity.SarFileSplitMenuEO;
|
||||||
@@ -44,6 +46,9 @@ public class SarFileCompareInfoServiceImpl extends ServiceImpl<SarFileCompareInf
|
|||||||
@Autowired
|
@Autowired
|
||||||
private ISarFileCompareMenuService sarFileCompareMenuService;
|
private ISarFileCompareMenuService sarFileCompareMenuService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IBussDocumentLibraryEOService bussDocumentLibraryEOService;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 保存
|
* 保存
|
||||||
@@ -229,13 +234,22 @@ public class SarFileCompareInfoServiceImpl extends ServiceImpl<SarFileCompareInf
|
|||||||
String id = UUID.randomUUID().toString();
|
String id = UUID.randomUUID().toString();
|
||||||
sarFileCompareInfo.setId(id);
|
sarFileCompareInfo.setId(id);
|
||||||
sarFileCompareInfo.setFileIdLeft(leftInfo.getId());
|
sarFileCompareInfo.setFileIdLeft(leftInfo.getId());
|
||||||
sarFileCompareInfo.setFileKeyLeft(leftInfo.getConnectId());
|
// 处理文档库id字段 根据编号和标题查询
|
||||||
|
List<Map<String, Object>> bussDocumentLibraryEOList = bussDocumentLibraryEOService.getListBySerialNumber(leftInfo.getSerialNumber());
|
||||||
|
if (CollectionUtil.isNotEmpty(bussDocumentLibraryEOList)) {
|
||||||
|
sarFileCompareInfo.setFileKeyLeft(bussDocumentLibraryEOList.get(0).get("id").toString());
|
||||||
|
}
|
||||||
sarFileCompareInfo.setFileNameLeft(leftInfo.getFileName());
|
sarFileCompareInfo.setFileNameLeft(leftInfo.getFileName());
|
||||||
sarFileCompareInfo.setTitleLeft(leftInfo.getTitle());
|
sarFileCompareInfo.setTitleLeft(leftInfo.getTitle());
|
||||||
sarFileCompareInfo.setFileTypeLeft(leftInfo.getFileType());
|
sarFileCompareInfo.setFileTypeLeft(leftInfo.getFileType());
|
||||||
sarFileCompareInfo.setSerialNumberLeft(leftInfo.getSerialNumber());
|
sarFileCompareInfo.setSerialNumberLeft(leftInfo.getSerialNumber());
|
||||||
|
|
||||||
sarFileCompareInfo.setFileIdRight(rightInfo.getId());
|
sarFileCompareInfo.setFileIdRight(rightInfo.getId());
|
||||||
|
// 处理文档库id字段 根据编号和标题查询
|
||||||
|
List<Map<String, Object>> bussDocumentLibraryEOList1 = bussDocumentLibraryEOService.getListBySerialNumber(rightInfo.getSerialNumber());
|
||||||
|
if (CollectionUtil.isNotEmpty(bussDocumentLibraryEOList1)) {
|
||||||
|
sarFileCompareInfo.setFileKeyRight(bussDocumentLibraryEOList1.get(0).get("id").toString());
|
||||||
|
}
|
||||||
sarFileCompareInfo.setFileKeyRight(rightInfo.getConnectId());
|
sarFileCompareInfo.setFileKeyRight(rightInfo.getConnectId());
|
||||||
sarFileCompareInfo.setFileNameRight(rightInfo.getFileName());
|
sarFileCompareInfo.setFileNameRight(rightInfo.getFileName());
|
||||||
sarFileCompareInfo.setFileTypeRight(rightInfo.getFileType());
|
sarFileCompareInfo.setFileTypeRight(rightInfo.getFileType());
|
||||||
|
|||||||
+2
-2
@@ -16,8 +16,8 @@
|
|||||||
LEFT JOIN project_task_inventory pti ON ( pli.id = pti.project_laws_inventory_id )
|
LEFT JOIN project_task_inventory pti ON ( pli.id = pti.project_laws_inventory_id )
|
||||||
WHERE
|
WHERE
|
||||||
(
|
(
|
||||||
bdl.id IN ( SELECT DISTINCT stand_id FROM laws_opinion_gather)
|
bdl.id IN ( SELECT DISTINCT stand_id FROM laws_opinion_gather where gather_result = #{params.gatherResult})
|
||||||
OR bdl.id IN ( SELECT DISTINCT stand_id FROM laws_technology_evaluation)
|
OR bdl.id IN ( SELECT DISTINCT stand_id FROM laws_technology_evaluation where flow_status = #{params.flowStatus})
|
||||||
or pti.design_p_id IS NOT NULL
|
or pti.design_p_id IS NOT NULL
|
||||||
OR pti.prehomo_p_id IS NOT NULL
|
OR pti.prehomo_p_id IS NOT NULL
|
||||||
OR pti.verify_p_id IS NOT NULL
|
OR pti.verify_p_id IS NOT NULL
|
||||||
|
|||||||
+6
@@ -10,6 +10,7 @@ import com.jero.modules.document.enums.FieldTypeEnum;
|
|||||||
import com.jero.modules.document.service.IBussDocumentLibraryEOService;
|
import com.jero.modules.document.service.IBussDocumentLibraryEOService;
|
||||||
import com.jero.modules.document.vo.QueryConditionVO;
|
import com.jero.modules.document.vo.QueryConditionVO;
|
||||||
import com.jero.modules.lawsOpinionGather.entity.LawsOpinionGatherEO;
|
import com.jero.modules.lawsOpinionGather.entity.LawsOpinionGatherEO;
|
||||||
|
import com.jero.modules.lawsOpinionGather.enums.GatherResultEnum;
|
||||||
import com.jero.modules.lawsOpinionGather.service.ILawsOpinionGatherEOService;
|
import com.jero.modules.lawsOpinionGather.service.ILawsOpinionGatherEOService;
|
||||||
import com.jero.modules.lawsTechnologyEvaluation.entity.LawsTechnologyEvaluationEO;
|
import com.jero.modules.lawsTechnologyEvaluation.entity.LawsTechnologyEvaluationEO;
|
||||||
import com.jero.modules.lawsTechnologyEvaluation.service.ILawsTechnologyEvaluationEOService;
|
import com.jero.modules.lawsTechnologyEvaluation.service.ILawsTechnologyEvaluationEOService;
|
||||||
@@ -68,6 +69,9 @@ public class LawsComplianceBoardServiceImpl implements ILawsComplianceBoardServi
|
|||||||
//封装查询条件(包含高级搜索)
|
//封装查询条件(包含高级搜索)
|
||||||
String condition = this.getConditionStr(params);
|
String condition = this.getConditionStr(params);
|
||||||
params.put("condition",condition);
|
params.put("condition",condition);
|
||||||
|
//只查询 法规技术评估流程状态、法规意见收集 收集结果 为已完成的数据
|
||||||
|
params.put("flowStatus", GatherResultEnum.COMPLETED.getValue());
|
||||||
|
params.put("gatherResult", GatherResultEnum.COMPLETED.getValue());
|
||||||
IPage page = new Page(pageNo, pageSize);
|
IPage page = new Page(pageNo, pageSize);
|
||||||
IPage infoPage = this.lawsComplianceBoardMapper.queryPageList(page, params);
|
IPage infoPage = this.lawsComplianceBoardMapper.queryPageList(page, params);
|
||||||
List records = infoPage.getRecords();
|
List records = infoPage.getRecords();
|
||||||
@@ -139,12 +143,14 @@ public class LawsComplianceBoardServiceImpl implements ILawsComplianceBoardServi
|
|||||||
//查询当前数据是否有法规意见收集流程数据
|
//查询当前数据是否有法规意见收集流程数据
|
||||||
QueryWrapper<LawsOpinionGatherEO> opinionGatherEOQueryWrapper = new QueryWrapper<>();
|
QueryWrapper<LawsOpinionGatherEO> opinionGatherEOQueryWrapper = new QueryWrapper<>();
|
||||||
opinionGatherEOQueryWrapper.lambda().eq(LawsOpinionGatherEO::getStandId,id);
|
opinionGatherEOQueryWrapper.lambda().eq(LawsOpinionGatherEO::getStandId,id);
|
||||||
|
opinionGatherEOQueryWrapper.lambda().eq(LawsOpinionGatherEO::getGatherResult,GatherResultEnum.COMPLETED.getValue());
|
||||||
int opinionGatherCount = this.lawsOpinionGatherEOService.count(opinionGatherEOQueryWrapper);
|
int opinionGatherCount = this.lawsOpinionGatherEOService.count(opinionGatherEOQueryWrapper);
|
||||||
result.put("opinionGather",opinionGatherCount);
|
result.put("opinionGather",opinionGatherCount);
|
||||||
|
|
||||||
//查询当前数据是否有法规技术评估流程数据
|
//查询当前数据是否有法规技术评估流程数据
|
||||||
QueryWrapper<LawsTechnologyEvaluationEO> evaluationEOQueryWrapper = new QueryWrapper<>();
|
QueryWrapper<LawsTechnologyEvaluationEO> evaluationEOQueryWrapper = new QueryWrapper<>();
|
||||||
evaluationEOQueryWrapper.lambda().eq(LawsTechnologyEvaluationEO::getStandId,id);
|
evaluationEOQueryWrapper.lambda().eq(LawsTechnologyEvaluationEO::getStandId,id);
|
||||||
|
evaluationEOQueryWrapper.lambda().eq(LawsTechnologyEvaluationEO::getFlowStatus,GatherResultEnum.COMPLETED.getValue());
|
||||||
int evaluationCount = this.lawsTechnologyEvaluationEOService.count(evaluationEOQueryWrapper);
|
int evaluationCount = this.lawsTechnologyEvaluationEOService.count(evaluationEOQueryWrapper);
|
||||||
result.put("technologyEvaluation",evaluationCount);
|
result.put("technologyEvaluation",evaluationCount);
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
+3
@@ -66,6 +66,9 @@ public class SarFileSplitInfoController extends JeroController<SarFileSplitInfoE
|
|||||||
if(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getTitle())){
|
if(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getTitle())){
|
||||||
sarFileSplitInfoEOPage.setTitle(sarFileSplitInfoEOPage.getTitle().replace("%","\\%"));
|
sarFileSplitInfoEOPage.setTitle(sarFileSplitInfoEOPage.getTitle().replace("%","\\%"));
|
||||||
}
|
}
|
||||||
|
if(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getFileId())){//判断是不是以及传回文档库
|
||||||
|
queryWrapper.isNotNull(SarFileSplitInfoEO::getFileId);
|
||||||
|
}
|
||||||
queryWrapper.like(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getSerialNumber()), SarFileSplitInfoEO::getSerialNumber, sarFileSplitInfoEOPage.getSerialNumber())
|
queryWrapper.like(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getSerialNumber()), SarFileSplitInfoEO::getSerialNumber, sarFileSplitInfoEOPage.getSerialNumber())
|
||||||
.like(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getTitle()) && CutEnum.CN.getValue().equals(sarFileSplitInfoEOPage.getCut()), SarFileSplitInfoEO::getTitle, sarFileSplitInfoEOPage.getTitle())
|
.like(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getTitle()) && CutEnum.CN.getValue().equals(sarFileSplitInfoEOPage.getCut()), SarFileSplitInfoEO::getTitle, sarFileSplitInfoEOPage.getTitle())
|
||||||
.like(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getTitle()) && CutEnum.EN.getValue().equals(sarFileSplitInfoEOPage.getCut()), SarFileSplitInfoEO::getTitleEn, sarFileSplitInfoEOPage.getTitle())
|
.like(StringUtils.isNotEmpty(sarFileSplitInfoEOPage.getTitle()) && CutEnum.EN.getValue().equals(sarFileSplitInfoEOPage.getCut()), SarFileSplitInfoEO::getTitleEn, sarFileSplitInfoEOPage.getTitle())
|
||||||
|
|||||||
@@ -1134,7 +1134,7 @@ module.exports = {
|
|||||||
feedbackEvaluation: 'Feedback Evaluation',
|
feedbackEvaluation: 'Feedback Evaluation',
|
||||||
clauseEvaluation: 'Clause Evaluation',
|
clauseEvaluation: 'Clause Evaluation',
|
||||||
standardDocuments: 'Standard Documents',
|
standardDocuments: 'Standard Documents',
|
||||||
pleaseCompleteTheEvaluationMethodorEvaluator: 'Please complete the evaluation method or evaluator in the list',
|
pleaseCompleteTheEvaluationMethodorEvaluator: 'Please complete the evaluator in the list',
|
||||||
reviewComments: 'Review comments',
|
reviewComments: 'Review comments',
|
||||||
PleaseCompleteList: 'Please complete the compliance results in the list',
|
PleaseCompleteList: 'Please complete the compliance results in the list',
|
||||||
sponsorFeedback: 'Sponsor feedback',
|
sponsorFeedback: 'Sponsor feedback',
|
||||||
@@ -1256,4 +1256,5 @@ module.exports = {
|
|||||||
HaveReleased:'Have released',
|
HaveReleased:'Have released',
|
||||||
forward:'Forward',
|
forward:'Forward',
|
||||||
issuedBy:'Issued by',
|
issuedBy:'Issued by',
|
||||||
|
pleaseDecompositionStandardOrder:'Please import or bring in at least one decomposition standard order',
|
||||||
}
|
}
|
||||||
@@ -1139,7 +1139,6 @@ module.exports = {
|
|||||||
feedbackEvaluation: '反馈评估',
|
feedbackEvaluation: '反馈评估',
|
||||||
clauseEvaluation: '条款评估',
|
clauseEvaluation: '条款评估',
|
||||||
standardDocuments: '标准文件',
|
standardDocuments: '标准文件',
|
||||||
pleaseCompleteTheEvaluationMethodorEvaluator: '请补全列表中评估方式或评估人',
|
|
||||||
reviewComments: '审核意见',
|
reviewComments: '审核意见',
|
||||||
PleaseCompleteList: '请补全列表中符合性结果',
|
PleaseCompleteList: '请补全列表中符合性结果',
|
||||||
sponsorFeedback: '发起人反馈',
|
sponsorFeedback: '发起人反馈',
|
||||||
@@ -1240,7 +1239,7 @@ module.exports = {
|
|||||||
feedbackEvaluation: '反馈评估',
|
feedbackEvaluation: '反馈评估',
|
||||||
clauseEvaluation: '条款评估',
|
clauseEvaluation: '条款评估',
|
||||||
standardDocuments: '标准文件',
|
standardDocuments: '标准文件',
|
||||||
pleaseCompleteTheEvaluationMethodorEvaluator: '请补全列表中评估方式或评估人',
|
pleaseCompleteTheEvaluationMethodorEvaluator: '请补全列表中评估人',
|
||||||
reviewComments: '审核意见',
|
reviewComments: '审核意见',
|
||||||
PleaseCompleteList: '请补全列表中符合性结果',
|
PleaseCompleteList: '请补全列表中符合性结果',
|
||||||
sponsorFeedback: '发起人反馈',
|
sponsorFeedback: '发起人反馈',
|
||||||
@@ -1359,4 +1358,5 @@ module.exports = {
|
|||||||
HaveReleased:'已发布',
|
HaveReleased:'已发布',
|
||||||
forward:'转发',
|
forward:'转发',
|
||||||
issuedBy:'发布人',
|
issuedBy:'发布人',
|
||||||
|
pleaseDecompositionStandardOrder:'请导入或带入至少一条分解标准单',
|
||||||
}
|
}
|
||||||
@@ -124,7 +124,7 @@
|
|||||||
} else {
|
} else {
|
||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchReset')
|
||||||
}
|
}
|
||||||
this.$message.success(info.file.response.message || `${info.file.name} 文件导入成功`)
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
}
|
}
|
||||||
this.spinning = false
|
this.spinning = false
|
||||||
} else {
|
} else {
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
}
|
}
|
||||||
this.spinning = false
|
this.spinning = false
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(`文件导入失败: ${info.file.msg} `)
|
this.$message.error(this.$t('operationFailed'))
|
||||||
this.spinning = false
|
this.spinning = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -712,4 +712,7 @@
|
|||||||
/deep/ .ant-calendar-picker{
|
/deep/ .ant-calendar-picker{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
::v-deep .ant-modal-body{
|
||||||
|
overflow-y: visible!important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
+2
@@ -361,6 +361,8 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
completeTask(value, taskId, isTrue) {
|
completeTask(value, taskId, isTrue) {
|
||||||
|
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
|
value.operatorTime = handlingTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && value[res] instanceof String) {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
|
|||||||
+2
@@ -109,12 +109,14 @@
|
|||||||
title: this.$t('chapterContents'),
|
title: this.$t('chapterContents'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'memoriesChapterName',
|
dataIndex: 'memoriesChapterName',
|
||||||
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('chineseTitle'),
|
title: this.$t('chineseTitle'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'titleCn',
|
dataIndex: 'titleCn',
|
||||||
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
+33
-8
@@ -164,16 +164,22 @@
|
|||||||
},
|
},
|
||||||
submitData(callback) {
|
submitData(callback) {
|
||||||
let dataList = JSON.parse(JSON.stringify(this.dataList))
|
let dataList = JSON.parse(JSON.stringify(this.dataList))
|
||||||
for (let i = 0; i < dataList.length; i++) {
|
if (dataList && dataList.length > 0) {
|
||||||
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
for (let i = 0; i < dataList.length; i++) {
|
||||||
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
||||||
}
|
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
||||||
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
}
|
||||||
if (!dataList[i].evaluationMethods || !dataList[i].evaluatorIds) {
|
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
||||||
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
if (!dataList[i].evaluatorIds) {
|
||||||
return
|
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
||||||
|
return
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('pleaseDecompositionStandardOrder'))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
callback && callback(dataList)
|
callback && callback(dataList)
|
||||||
},
|
},
|
||||||
handleModule() {
|
handleModule() {
|
||||||
@@ -202,4 +208,23 @@
|
|||||||
text-justify: inter-ideograph;
|
text-justify: inter-ideograph;
|
||||||
word-break: break-all
|
word-break: break-all
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-select-tree-treenode-switcher-close {
|
||||||
|
width: 255px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-select-tree-node-content-wrapper {
|
||||||
|
text-align: left;
|
||||||
|
float: right;
|
||||||
|
margin-top: -2px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .ant-select-tree-title {
|
||||||
|
width: 100%;
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
+8
-3
@@ -100,7 +100,6 @@
|
|||||||
<a-form-model-item class="itemModel" prop="processBackground">
|
<a-form-model-item class="itemModel" prop="processBackground">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('processBackground')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('processBackground')"
|
||||||
v-model="formInline.processBackground"
|
v-model="formInline.processBackground"
|
||||||
:disabled="!whetherDisplay"
|
|
||||||
:rows="4"/>
|
:rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -115,7 +114,6 @@
|
|||||||
<a-form-model-item class="itemModel" prop="remark">
|
<a-form-model-item class="itemModel" prop="remark">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('remarks')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('remarks')"
|
||||||
v-model="formInline.remark"
|
v-model="formInline.remark"
|
||||||
:disabled="!whetherDisplay"
|
|
||||||
:rows="4"/>
|
:rows="4"/>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
@@ -258,6 +256,7 @@
|
|||||||
},
|
},
|
||||||
searchParmes: {},
|
searchParmes: {},
|
||||||
selectedRowKeysRecord: [],
|
selectedRowKeysRecord: [],
|
||||||
|
standardList: [],
|
||||||
whetherDisplay: false,
|
whetherDisplay: false,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@@ -436,15 +435,21 @@
|
|||||||
},
|
},
|
||||||
standardDecompositionDocumentClick() {
|
standardDecompositionDocumentClick() {
|
||||||
if (this.standardDecomposition && this.standardDecomposition.length > 0) {
|
if (this.standardDecomposition && this.standardDecomposition.length > 0) {
|
||||||
this.$refs.standardDecompositionSheetRef.getData(JSON.parse(JSON.stringify(this.standardDecomposition[0])))
|
this.$refs.standardDecompositionSheetRef.getData(JSON.parse(JSON.stringify(this.standardDecomposition[0])), this.standardList)
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('pleaseSelectStandardFirst'))
|
this.$message.warning(this.$t('pleaseSelectStandardFirst'))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
standardDecompositionSheetForm(value) {
|
standardDecompositionSheetForm(value) {
|
||||||
|
this.standardList = JSON.parse(JSON.stringify(value))
|
||||||
this.$refs.TermInformationRef.getData(JSON.parse(JSON.stringify(value)))
|
this.$refs.TermInformationRef.getData(JSON.parse(JSON.stringify(value)))
|
||||||
},
|
},
|
||||||
TermInformationRefForm(value) {
|
TermInformationRefForm(value) {
|
||||||
|
if (value && value.itemId) {
|
||||||
|
this.standardList = this.standardList.filter(res => {
|
||||||
|
return value.itemId != res.id
|
||||||
|
})
|
||||||
|
}
|
||||||
this.$refs.standardDecompositionSheetRef.getRowList(JSON.parse(JSON.stringify(value)))
|
this.$refs.standardDecompositionSheetRef.getRowList(JSON.parse(JSON.stringify(value)))
|
||||||
},
|
},
|
||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
|
|||||||
+27
-8
@@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<a-table
|
<a-table
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
rowKey="id"
|
:rowKey="(record)=>JSON.stringify(record)"
|
||||||
:scroll="{x: '100%'}"
|
:scroll="{x: '100%'}"
|
||||||
:data-source="dataList"
|
:data-source="dataList"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
@@ -150,7 +150,8 @@
|
|||||||
fieldList: [],
|
fieldList: [],
|
||||||
queryConditionVOList: [],
|
queryConditionVOList: [],
|
||||||
info_id: '',
|
info_id: '',
|
||||||
selectedRowKeysData: []
|
selectedRowKeysData: [],
|
||||||
|
standardList: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -160,7 +161,16 @@
|
|||||||
standardDocumentsChange(value) {
|
standardDocumentsChange(value) {
|
||||||
this.replacePage()
|
this.replacePage()
|
||||||
},
|
},
|
||||||
getData(row) {
|
getData(row, standardList) {
|
||||||
|
this.selectedRowKeys = []
|
||||||
|
this.selectedRowKeysData = []
|
||||||
|
this.standardList = JSON.parse(JSON.stringify(standardList))
|
||||||
|
if (this.standardList && this.standardList.length > 0) {
|
||||||
|
this.standardList.forEach(val => {
|
||||||
|
this.selectedRowKeys.push(JSON.stringify(val))
|
||||||
|
})
|
||||||
|
this.selectedRowKeysData = this.standardList
|
||||||
|
}
|
||||||
this.total = 0
|
this.total = 0
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.standData = row
|
this.standData = row
|
||||||
@@ -169,15 +179,16 @@
|
|||||||
this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : ''
|
this.queryParam.info_id = this.sarFileSplitInfoList && this.sarFileSplitInfoList.length > 0 ? this.sarFileSplitInfoList[0].id : ''
|
||||||
this.visible = true
|
this.visible = true
|
||||||
if (this.queryParam.info_id) {
|
if (this.queryParam.info_id) {
|
||||||
|
this.pageNo = 1
|
||||||
this.replacePage()
|
this.replacePage()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getRowList(value) {
|
getRowList(value) {
|
||||||
if (value && value.itemId) {
|
if (value && value.itemId) {
|
||||||
this.selectedRowKeys = this.selectedRowKeys.filter(res=>{
|
this.selectedRowKeys = this.selectedRowKeys.filter(res => {
|
||||||
return value.itemId != res
|
return !res.includes(value.itemId)
|
||||||
})
|
})
|
||||||
this.selectedRowKeysData = this.selectedRowKeysData.filter(res=>{
|
this.selectedRowKeysData = this.selectedRowKeysData.filter(res => {
|
||||||
return value.itemId != res.id
|
return value.itemId != res.id
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -232,15 +243,23 @@
|
|||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
this.$emit('standardDecompositionSheetForm', this.selectedRowKeysData)
|
this.$emit('standardDecompositionSheetForm', JSON.parse(JSON.stringify(this.selectedRowKeysData)))
|
||||||
this.visible = false
|
this.visible = false
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('PleaseSelectData'))
|
this.$message.warning(this.$t('PleaseSelectData'))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onSelectChange(value, record) {
|
onSelectChange(value, record) {
|
||||||
|
console.log(value)
|
||||||
|
this.selectedRowKeysData = []
|
||||||
this.selectedRowKeys = value
|
this.selectedRowKeys = value
|
||||||
this.selectedRowKeysData = record
|
console.log(this.selectedRowKeys)
|
||||||
|
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
|
||||||
|
this.selectedRowKeys.forEach(res => {
|
||||||
|
this.selectedRowKeysData.push(JSON.parse(res))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// this.selectedRowKeysData = record
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -122,6 +122,11 @@
|
|||||||
required: true,
|
required: true,
|
||||||
message: this.$t('publishComment') + this.$t('cannotEmpty'),
|
message: this.$t('publishComment') + this.$t('cannotEmpty'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 500,
|
||||||
|
message: this.$t('publishComment') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
replyContent: [
|
replyContent: [
|
||||||
@@ -129,6 +134,11 @@
|
|||||||
required: true,
|
required: true,
|
||||||
message: this.$t('replyToComments') + this.$t('cannotEmpty'),
|
message: this.$t('replyToComments') + this.$t('cannotEmpty'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
max: 500,
|
||||||
|
message: this.$t('replyToComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -286,6 +296,7 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 22px;
|
margin-top: 22px;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
|
|||||||
+10
-8
@@ -28,10 +28,12 @@
|
|||||||
style="margin-left: 20px;float: left"></a-checkbox>
|
style="margin-left: 20px;float: left"></a-checkbox>
|
||||||
<div class="detail-content-header-content">
|
<div class="detail-content-header-content">
|
||||||
<div class="detail-content-header-content-left"
|
<div class="detail-content-header-content-left"
|
||||||
|
:title="resultData.serialNumberLeft + resultData.fileNameLeft"
|
||||||
:class="{'detail-content-header-content-left-active':isDisplay}">
|
:class="{'detail-content-header-content-left-active':isDisplay}">
|
||||||
{{$t('selectedStandard')}}:{{resultData.serialNumberLeft}} {{resultData.fileNameLeft}}
|
{{$t('selectedStandard')}}:{{resultData.serialNumberLeft}} {{resultData.fileNameLeft}}
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-content-header-content-content"
|
<div class="detail-content-header-content-content"
|
||||||
|
:title="resultData.serialNumberRight + resultData.fileNameRight"
|
||||||
:class="{'detail-content-header-content-left-active':isDisplay}">
|
:class="{'detail-content-header-content-left-active':isDisplay}">
|
||||||
{{$t('selectedStandard')}}:{{resultData.serialNumberRight}} {{resultData.fileNameRight}}
|
{{$t('selectedStandard')}}:{{resultData.serialNumberRight}} {{resultData.fileNameRight}}
|
||||||
</div>
|
</div>
|
||||||
@@ -87,8 +89,8 @@
|
|||||||
<div class="detail-content-content-text">
|
<div class="detail-content-content-text">
|
||||||
<div class="detail-content-content-text-left"
|
<div class="detail-content-content-text-left"
|
||||||
:class="{'detail-content-content-text-dis':isDisplay}">
|
:class="{'detail-content-content-text-dis':isDisplay}">
|
||||||
<div class="detail-content-content-text-left-text">
|
<div class="detail-content-content-text-left-text" :title="resultData.comments">
|
||||||
{{$t('fullTextComments')}}: {{resultData.comments}}
|
<span>{{$t('fullTextComments')}}:</span> {{resultData.comments}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-content-content-text-right" v-if="!isDisplay">
|
<div class="detail-content-content-text-right" v-if="!isDisplay">
|
||||||
@@ -307,8 +309,8 @@
|
|||||||
this.rulesText = {
|
this.rulesText = {
|
||||||
comment: [
|
comment: [
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 500,
|
||||||
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -326,8 +328,8 @@
|
|||||||
this.rulesText = {
|
this.rulesText = {
|
||||||
comment: [
|
comment: [
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 500,
|
||||||
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -572,6 +574,7 @@
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #040B29;
|
color: #040B29;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-content-content-text-left-text {
|
.detail-content-content-text-left-text {
|
||||||
@@ -586,8 +589,7 @@
|
|||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 3;
|
-webkit-line-clamp: 3;
|
||||||
/*! autoprefixer: on;*/
|
/*! autoprefixer: on;*/
|
||||||
text-justify: inter-ideograph;
|
word-break: break-word;
|
||||||
word-break: break-all
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-title-text-Remarks {
|
.box-title-text-Remarks {
|
||||||
|
|||||||
+12
-11
@@ -30,7 +30,7 @@
|
|||||||
<div class="detail-content" style="padding-bottom: 20px">
|
<div class="detail-content" style="padding-bottom: 20px">
|
||||||
<div style="width: 100%;height: auto;overflow: hidden">
|
<div style="width: 100%;height: auto;overflow: hidden">
|
||||||
<div class="detail-content-left">
|
<div class="detail-content-left">
|
||||||
<div class="detail-content-left-header">
|
<div class="detail-content-left-header" :title="resultData.serialNumberLeft + resultData.fileNameLeft">
|
||||||
{{this.resultData.serialNumberLeft}}
|
{{this.resultData.serialNumberLeft}}
|
||||||
{{this.resultData.fileNameLeft}}
|
{{this.resultData.fileNameLeft}}
|
||||||
</div>
|
</div>
|
||||||
@@ -56,14 +56,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="detail-content-right">
|
<div class="detail-content-right">
|
||||||
<div class="detail-content-left-header">
|
<div class="detail-content-left-header">
|
||||||
<span class="detail-content-left-header-text">
|
<span class="detail-content-left-header-text"
|
||||||
|
:title="resultData.serialNumberRight + resultData.fileNameRight">
|
||||||
{{this.resultData.serialNumberRight}}
|
{{this.resultData.serialNumberRight}}
|
||||||
{{this.resultData.fileNameRight}}
|
{{this.resultData.fileNameRight}}
|
||||||
</span>
|
</span>
|
||||||
<span class="detail-content-left-header-text-right">
|
<!-- <span class="detail-content-left-header-text-right">-->
|
||||||
<!-- <span style="color: #9B9DA9">相似度:</span>-->
|
<!-- <span style="color: #9B9DA9">相似度:</span>-->
|
||||||
<!-- <span style="color: #E83030">98%</span>-->
|
<!-- <span style="color: #E83030">98%</span>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-content-content-left">
|
<div class="detail-content-content-left">
|
||||||
<a-tree
|
<a-tree
|
||||||
@@ -154,8 +155,8 @@
|
|||||||
rules: {
|
rules: {
|
||||||
comment: [
|
comment: [
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 500,
|
||||||
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('comparativeComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -163,8 +164,8 @@
|
|||||||
rulesText: {
|
rulesText: {
|
||||||
comment: [
|
comment: [
|
||||||
{
|
{
|
||||||
max: 300,
|
max: 500,
|
||||||
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
message: this.$t('fullTextComments') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||||
trigger: 'blur'
|
trigger: 'blur'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -578,7 +579,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.detail-content-left-header-text {
|
.detail-content-left-header-text {
|
||||||
width: calc(100% - 200px);
|
width: 100%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
+10
-8
@@ -20,8 +20,8 @@
|
|||||||
<div class="title-text" :title="$t('standard')">
|
<div class="title-text" :title="$t('standard')">
|
||||||
<span>{{$t('standard')}}</span>
|
<span>{{$t('standard')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
|
||||||
v-model="queryParamLeft.serialNumber"></j-input>
|
v-model="queryParamLeft.serialNumber"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="8" :sm="8">
|
<a-col :md="8" :sm="8">
|
||||||
@@ -29,8 +29,8 @@
|
|||||||
<div class="title-text" :title="$t('title')">
|
<div class="title-text" :title="$t('title')">
|
||||||
<span>{{$t('title')}}</span>
|
<span>{{$t('title')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
|
||||||
v-model="queryParamLeft.title"></j-input>
|
v-model="queryParamLeft.title"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<span style="text-align:right;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="text-align:right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
@@ -84,8 +84,8 @@
|
|||||||
<div class="title-text" :title="$t('standard')">
|
<div class="title-text" :title="$t('standard')">
|
||||||
<span>{{$t('standard')}}</span>
|
<span>{{$t('standard')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('standard')"
|
||||||
v-model="queryParamRight.serialNumber"></j-input>
|
v-model="queryParamRight.serialNumber"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="8" :sm="8">
|
<a-col :md="8" :sm="8">
|
||||||
@@ -93,8 +93,8 @@
|
|||||||
<div class="title-text" :title="$t('title')">
|
<div class="title-text" :title="$t('title')">
|
||||||
<span>{{$t('title')}}</span>
|
<span>{{$t('title')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
|
<a-input class="box-input" :placeholder="$t('PleaseEnter')+$t('title')"
|
||||||
v-model="queryParamRight.title"></j-input>
|
v-model="queryParamRight.title"></a-input>
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<span style="text-align:right;overflow: hidden;" class="table-page-search-submitButtons">
|
<span style="text-align:right;overflow: hidden;" class="table-page-search-submitButtons">
|
||||||
@@ -348,6 +348,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNoLeft,
|
pageNo: this.pageNoLeft,
|
||||||
pageSize: this.pageSizeLeft,
|
pageSize: this.pageSizeLeft,
|
||||||
|
fileId:'1',
|
||||||
...queryParam
|
...queryParam
|
||||||
}
|
}
|
||||||
this.loadingLeft = true
|
this.loadingLeft = true
|
||||||
@@ -371,6 +372,7 @@
|
|||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNoRight,
|
pageNo: this.pageNoRight,
|
||||||
pageSize: this.pageSizeRight,
|
pageSize: this.pageSizeRight,
|
||||||
|
fileId:'1',
|
||||||
...queryParam
|
...queryParam
|
||||||
}
|
}
|
||||||
this.loadingRight = true
|
this.loadingRight = true
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%'}"
|
:scroll="{x: '100%',y:'calc(100vh - 280px)'}"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
ref="table"
|
ref="table"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: '100%'}"
|
:scroll="{x: '100%',y:500}"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
@@ -26,18 +26,21 @@
|
|||||||
<span slot="nameTechnicalDocument" slot-scope="text,result">
|
<span slot="nameTechnicalDocument" slot-scope="text,result">
|
||||||
<a-input class="box-input"
|
<a-input class="box-input"
|
||||||
:maxLength="100"
|
:maxLength="100"
|
||||||
v-model="result.technicalFileName"
|
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||||
|
v-model.trim="result.technicalFileName"
|
||||||
:placeholder="$t('PleaseEnter')+$t('nameTechnicalDocument')"/>
|
:placeholder="$t('PleaseEnter')+$t('nameTechnicalDocument')"/>
|
||||||
</span>
|
</span>
|
||||||
<span slot="chapter" slot-scope="text,result">
|
<span slot="chapter" slot-scope="text,result">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('chapter')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('chapter')"
|
||||||
v-model="result.section"
|
v-model.trim="result.section"
|
||||||
|
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||||
:maxLength="300"
|
:maxLength="300"
|
||||||
:rows="2"/>
|
:rows="2"/>
|
||||||
</span>
|
</span>
|
||||||
<span slot="opinion" slot-scope="text,result">
|
<span slot="opinion" slot-scope="text,result">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('opinion')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('opinion')"
|
||||||
v-model="result.opinion"
|
v-model.trim="result.opinion"
|
||||||
|
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||||
:maxLength="300"
|
:maxLength="300"
|
||||||
:rows="2"/>
|
:rows="2"/>
|
||||||
</span>
|
</span>
|
||||||
@@ -75,7 +78,8 @@
|
|||||||
</span>
|
</span>
|
||||||
<span slot="sponsorFeedback" slot-scope="text,result">
|
<span slot="sponsorFeedback" slot-scope="text,result">
|
||||||
<a-textarea :placeholder="$t('pleaseEnter')+$t('sponsorFeedback')"
|
<a-textarea :placeholder="$t('pleaseEnter')+$t('sponsorFeedback')"
|
||||||
v-model="result.sponsorFeedback"
|
v-model.trim="result.sponsorFeedback"
|
||||||
|
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
|
||||||
:maxLength="300"
|
:maxLength="300"
|
||||||
:rows="2"/>
|
:rows="2"/>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -308,6 +308,8 @@
|
|||||||
},
|
},
|
||||||
completeTask() {
|
completeTask() {
|
||||||
let value = JSON.parse(JSON.stringify(this.queryProject))
|
let value = JSON.parse(JSON.stringify(this.queryProject))
|
||||||
|
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
|
value.operatorTime = handlingTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && value[res] instanceof String) {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
{
|
{
|
||||||
title: this.$t('taskDescription'),
|
title: this.$t('taskDescription'),
|
||||||
value: 'taskExplain',
|
value: 'taskExplain',
|
||||||
type:4,
|
type: 4
|
||||||
}
|
}
|
||||||
// {
|
// {
|
||||||
// title: this.$t('remarks'),
|
// title: this.$t('remarks'),
|
||||||
@@ -121,7 +121,8 @@
|
|||||||
lawsOpinionAssessmentResult() {
|
lawsOpinionAssessmentResult() {
|
||||||
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
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.feedbackDataList = res.result || []
|
this.feedbackDataList = res.result || []
|
||||||
|
|||||||
@@ -50,8 +50,8 @@
|
|||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
prcTypeName: {
|
prcTypeName: {
|
||||||
1: this.$t('taskConfirmationProcess'),
|
1: this.$t('taskConfirmationProcess'),
|
||||||
5:this.$t('collectionOfRegulatoryOpinionsProcess'),
|
5: this.$t('collectionOfRegulatoryOpinionsProcess'),
|
||||||
6:this.$t('regulatoryTechnologyAssessmentProcess')
|
6: this.$t('regulatoryTechnologyAssessmentProcess')
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@@ -92,13 +92,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('createTime'),
|
title: this.$t('createTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'creatTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
ellipsis: true,
|
ellipsis: true
|
||||||
customRender: function(t, r, index) {
|
|
||||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('cutoffTime'),
|
title: this.$t('cutoffTime'),
|
||||||
|
|||||||
Reference in New Issue
Block a user