Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -380,3 +380,8 @@ ALTER TABLE `laws_weilai`.`params_report_detail`
|
|||||||
-- 法规技术评估 反馈评估表中,增加符合性结果表id关联 2022-07-14
|
-- 法规技术评估 反馈评估表中,增加符合性结果表id关联 2022-07-14
|
||||||
ALTER TABLE `laws_technology_evaluation_result`
|
ALTER TABLE `laws_technology_evaluation_result`
|
||||||
ADD COLUMN `compliance_result_id` varchar(64) NULL COMMENT '符合性结果id' AFTER `acti_proc_inst_id`;
|
ADD COLUMN `compliance_result_id` varchar(64) NULL COMMENT '符合性结果id' AFTER `acti_proc_inst_id`;
|
||||||
|
|
||||||
|
-- 用户表 删除索引 2022-07-14 已同步
|
||||||
|
ALTER TABLE `laws_weilai`.`sys_user`
|
||||||
|
DROP INDEX `uniq_sys_user_phone`,
|
||||||
|
DROP INDEX `uniq_sys_user_email`;
|
||||||
+9
-1
@@ -450,7 +450,13 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fieldList = fieldList.stream().filter(e -> YesOrNoEnum.YES.getValue().equals(StringUtils.valueOf(e.getIsQuery()))).collect(Collectors.toList());
|
fieldList = fieldList.stream().filter(e -> {
|
||||||
|
boolean showFlag = false;
|
||||||
|
if(YesOrNoEnum.YES.getValue().equals(StringUtils.valueOf(e.getIsQuery())) || e.getDbFieldName().equals("id")){
|
||||||
|
showFlag = true;
|
||||||
|
}
|
||||||
|
return showFlag;
|
||||||
|
}).collect(Collectors.toList());
|
||||||
if(CutEnum.CN.getValue().equals(cut)){
|
if(CutEnum.CN.getValue().equals(cut)){
|
||||||
fieldList = fieldList.stream().filter(e->!"title_en".equals(e.getDbFieldName())).collect(Collectors.toList());
|
fieldList = fieldList.stream().filter(e->!"title_en".equals(e.getDbFieldName())).collect(Collectors.toList());
|
||||||
}else{
|
}else{
|
||||||
@@ -3631,6 +3637,8 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
}
|
}
|
||||||
conditionSb.append(" and " + key + " like concat(concat('%','" + value + "'),'%') ESCAPE '/'");
|
conditionSb.append(" and " + key + " like concat(concat('%','" + value + "'),'%') ESCAPE '/'");
|
||||||
// conditionSb.append(" and " + key + " like concat(concat('%','" + value + "'),'%')");
|
// conditionSb.append(" and " + key + " like concat(concat('%','" + value + "'),'%')");
|
||||||
|
} else if (StringUtils.equals(fieldName,"id")){
|
||||||
|
conditionSb.append(" and " + key + " ='" + value + "'");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-2
@@ -165,8 +165,10 @@
|
|||||||
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++) {
|
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].lawsTechnologyEvaluationId = this.getUUID
|
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
||||||
|
}
|
||||||
|
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
||||||
if (!dataList[i].evaluationMethods || !dataList[i].evaluatorIds) {
|
if (!dataList[i].evaluationMethods || !dataList[i].evaluatorIds) {
|
||||||
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
||||||
return
|
return
|
||||||
|
|||||||
+6
-1
@@ -226,13 +226,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
document.title = this.$route.query.serialNumber + ' ' + this.$t('regulatoryTechnicalEvaluationResults')
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
CurrentStandard() {
|
CurrentStandard() {
|
||||||
let query = {
|
let query = {
|
||||||
firstInitiation: '2',
|
firstInitiation: '2',
|
||||||
whetherTobring: '1'
|
whetherTobring: '1',
|
||||||
|
processBackground: this.$route.query.processBackground || '',
|
||||||
|
remark: this.$route.query.remark || '',
|
||||||
|
standId: this.$route.query.standId,
|
||||||
|
lawsTechnologyEvaluationId:this.$route.query.lawsTechnologyEvaluationId
|
||||||
}
|
}
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/evaluationInitiationProcess',
|
path: '/evaluationInitiationProcess',
|
||||||
|
|||||||
+6
-1
@@ -110,13 +110,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
document.title = this.$route.query.serialNumber +' '+this.$t('regulatoryTechnicalEvaluationResults')
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
CurrentStandard() {
|
CurrentStandard() {
|
||||||
let query = {
|
let query = {
|
||||||
firstInitiation: '2',
|
firstInitiation: '2',
|
||||||
whetherTobring: '2'
|
whetherTobring: '2',
|
||||||
|
processBackground:this.$route.query.processBackground || '',
|
||||||
|
remark:this.$route.query.remark || '',
|
||||||
|
standId:this.$route.query.standId,
|
||||||
|
lawsTechnologyEvaluationId:this.$route.query.lawsTechnologyEvaluationId
|
||||||
}
|
}
|
||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/evaluationInitiationProcess',
|
path: '/evaluationInitiationProcess',
|
||||||
|
|||||||
+44
-3
@@ -99,6 +99,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="taskExplain">
|
<a-form-model-item class="itemModel" prop="taskExplain">
|
||||||
<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>
|
||||||
@@ -113,6 +114,7 @@
|
|||||||
<a-form-model-item class="itemModel" prop="remarks">
|
<a-form-model-item class="itemModel" prop="remarks">
|
||||||
<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>
|
||||||
@@ -290,7 +292,6 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
document.title = this.$t('regulatoryEngineer') + this.$t('initiatingProcess')
|
document.title = this.$t('regulatoryEngineer') + this.$t('initiatingProcess')
|
||||||
this.getList()
|
|
||||||
this.getEvaluationMethodTree()
|
this.getEvaluationMethodTree()
|
||||||
if (this.$route.query.whetherTobring == '1') {
|
if (this.$route.query.whetherTobring == '1') {
|
||||||
this.isTrue = true
|
this.isTrue = true
|
||||||
@@ -299,8 +300,14 @@
|
|||||||
}
|
}
|
||||||
if (this.$route.query.firstInitiation == '1') {
|
if (this.$route.query.firstInitiation == '1') {
|
||||||
this.whetherDisplay = true
|
this.whetherDisplay = true
|
||||||
|
this.getList()
|
||||||
} else {
|
} else {
|
||||||
this.whetherDisplay = false
|
this.whetherDisplay = false
|
||||||
|
this.formInline.processBackground = this.$route.query.processBackground
|
||||||
|
this.formInline.lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId
|
||||||
|
this.formInline.remark = this.$route.query.remark
|
||||||
|
this.formInline.standId = this.$route.query.standId
|
||||||
|
this.getListOne()
|
||||||
}
|
}
|
||||||
eventBUs.$on('searchQuery', search => {
|
eventBUs.$on('searchQuery', search => {
|
||||||
Object.keys(search).forEach(res => {
|
Object.keys(search).forEach(res => {
|
||||||
@@ -333,6 +340,36 @@
|
|||||||
this.pageSize = pageSize
|
this.pageSize = pageSize
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
getListOne() {
|
||||||
|
let query = {
|
||||||
|
pageNo: this.pageNo,
|
||||||
|
pageSize: this.pageSize,
|
||||||
|
id: this.formInline.standId
|
||||||
|
}
|
||||||
|
this.loading = true
|
||||||
|
let url = ''
|
||||||
|
if (this.isTrue) {
|
||||||
|
url = this.url.addModelListOne
|
||||||
|
} else {
|
||||||
|
url = this.url.addModelList
|
||||||
|
}
|
||||||
|
postAction(url, query).then((res) => {
|
||||||
|
if (res.success) {
|
||||||
|
let content = res.result.records || []
|
||||||
|
this.selectedRowKeysRecord.push({
|
||||||
|
standId: content[0].id,
|
||||||
|
serialNumber: content[0].serial_number,
|
||||||
|
title: content[0].title,
|
||||||
|
technologyTerritory: content[0].technology_territory_id
|
||||||
|
})
|
||||||
|
this.standardDecomposition = content
|
||||||
|
this.loading = false
|
||||||
|
} else {
|
||||||
|
this.dataSource = []
|
||||||
|
this.loading = false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
let query = {
|
let query = {
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
@@ -463,7 +500,7 @@
|
|||||||
value.startTime = startTime
|
value.startTime = startTime
|
||||||
value.flowStatus = 'Underway'
|
value.flowStatus = 'Underway'
|
||||||
value.taskAffirmDueDate = value.endTime
|
value.taskAffirmDueDate = value.endTime
|
||||||
if (!value.lawsTechnologyEvaluationId){
|
if (!value.lawsTechnologyEvaluationId) {
|
||||||
value.lawsTechnologyEvaluationId = this.getUUID()
|
value.lawsTechnologyEvaluationId = this.getUUID()
|
||||||
}
|
}
|
||||||
value.regulationOwnerId = this.userInfo().id
|
value.regulationOwnerId = this.userInfo().id
|
||||||
@@ -532,7 +569,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.ant-input-disabled {
|
||||||
|
color: rgba(0, 0, 0, 0.65) !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.detail-box {
|
.detail-box {
|
||||||
padding: 67px 0 0 0;
|
padding: 67px 0 0 0;
|
||||||
|
|||||||
@@ -369,9 +369,9 @@
|
|||||||
id: row.id,
|
id: row.id,
|
||||||
processBackground: row.processBackground,
|
processBackground: row.processBackground,
|
||||||
serialNumber: row.serialNumber,
|
serialNumber: row.serialNumber,
|
||||||
title: row.title,
|
lawsTechnologyEvaluationId:row.id,
|
||||||
technologyTerritory: row.technologyTerritory,
|
standId: row.standId,
|
||||||
standId: row.standId
|
remark:row.remark
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
@@ -382,9 +382,8 @@
|
|||||||
id: row.id,
|
id: row.id,
|
||||||
processBackground: row.processBackground,
|
processBackground: row.processBackground,
|
||||||
serialNumber: row.serialNumber,
|
serialNumber: row.serialNumber,
|
||||||
title: row.title,
|
standId: row.standId,
|
||||||
technologyTerritory: row.technologyTerritory,
|
remark:row.remark
|
||||||
standId: row.standId
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
Reference in New Issue
Block a user