1.参数收集清单-数据导出增加弹框
2.法规清单-流程状态多选 3.代办-办理-角色标识
This commit is contained in:
@@ -1528,6 +1528,7 @@ module.exports = {
|
|||||||
Taskresponsibilityrecognition:'Responsibility Confirm',
|
Taskresponsibilityrecognition:'Responsibility Confirm',
|
||||||
uploadattachment:'Upload',
|
uploadattachment:'Upload',
|
||||||
Processhistory:'Process history',
|
Processhistory:'Process history',
|
||||||
|
historyData:'1. Regulatory Engineer, 2. Responsible person, 3. Responsible person, 4. Regulatory Engineer',
|
||||||
resultofhandling:'Result of handling',
|
resultofhandling:'Result of handling',
|
||||||
cause:'cause',
|
cause:'cause',
|
||||||
networksecurityrequirements:'Network security requirements',
|
networksecurityrequirements:'Network security requirements',
|
||||||
@@ -1897,4 +1898,7 @@ module.exports = {
|
|||||||
pleaseViewOnPc:'Please view on PC',
|
pleaseViewOnPc:'Please view on PC',
|
||||||
taskHandling:'Task Handling',
|
taskHandling:'Task Handling',
|
||||||
pleaseEnterUserAccountSearchFor:'Please enter a user account to search for',
|
pleaseEnterUserAccountSearchFor:'Please enter a user account to search for',
|
||||||
|
exportOption:'Export Option',
|
||||||
|
includeTitle:'Include title',
|
||||||
|
Notitleincluded:'No title included',
|
||||||
}
|
}
|
||||||
@@ -3538,6 +3538,7 @@ module.exports = {
|
|||||||
Taskresponsibilityrecognition: '任务责任确认',
|
Taskresponsibilityrecognition: '任务责任确认',
|
||||||
uploadattachment: '上传附件',
|
uploadattachment: '上传附件',
|
||||||
Processhistory: '流程历史',
|
Processhistory: '流程历史',
|
||||||
|
historyData: '1.法规工程师,2.责任人,3.责任人,4.法规工程师',
|
||||||
resultofhandling: '处理结果',
|
resultofhandling: '处理结果',
|
||||||
Listoftreatableregulations: '可处理法规列表',
|
Listoftreatableregulations: '可处理法规列表',
|
||||||
Listofuntractableregulations: '不可处理法规列表',
|
Listofuntractableregulations: '不可处理法规列表',
|
||||||
@@ -3860,4 +3861,7 @@ module.exports = {
|
|||||||
copyLink:'复制链接',
|
copyLink:'复制链接',
|
||||||
successfulReplication:'复制成功',
|
successfulReplication:'复制成功',
|
||||||
pleaseEnterUserAccountSearchFor:'请输入用户账号搜索',
|
pleaseEnterUserAccountSearchFor:'请输入用户账号搜索',
|
||||||
|
exportOption:'导出选项',
|
||||||
|
includeTitle:'包含标题',
|
||||||
|
Notitleincluded:'不包含标题',
|
||||||
}
|
}
|
||||||
@@ -583,6 +583,46 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
<!-- 数据导出弹框-->
|
||||||
|
<a-modal
|
||||||
|
:title="$t('dataExport')"
|
||||||
|
:width="500"
|
||||||
|
:visible="dataExportFailed"
|
||||||
|
:maskClosable="false"
|
||||||
|
@ok="handleExportSubmit"
|
||||||
|
@cancel="handleCancel"
|
||||||
|
>
|
||||||
|
<a-form-model
|
||||||
|
class='formAdd'
|
||||||
|
ref='dataExportruleForm'
|
||||||
|
:model='dataExportformInline'
|
||||||
|
:rules='dataExportrules'
|
||||||
|
:label-col='labelCol'
|
||||||
|
:wrapper-col='wrapperCol'
|
||||||
|
>
|
||||||
|
<a-row :gutter="24">
|
||||||
|
<a-col :span="24">
|
||||||
|
<div class="box-title-text" >
|
||||||
|
<div class="title-text" :title="$t('exportOption')" style='margin-top: -17px;'>
|
||||||
|
<span class="Required">*</span>
|
||||||
|
<span class="title-text-text" :title="$t('exportOption')">
|
||||||
|
{{$t('exportOption')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-form-model-item class="itemModel" prop="exportOption">
|
||||||
|
<a-select class="box-input" allowClear v-model="dataExportformInline.exportOption" :placeholder="$t('PleaseSelect')+$t('exportOption')">
|
||||||
|
<a-select-option :value="'1'">
|
||||||
|
{{$t('includeTitle')}}
|
||||||
|
</a-select-option>
|
||||||
|
<a-select-option :value="'0'">
|
||||||
|
{{$t('Notitleincluded')}}
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</a-form-model-item>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
|
</a-row>
|
||||||
|
</a-form-model>
|
||||||
|
</a-modal>
|
||||||
<JLoading :loading="textLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
<JLoading :loading="textLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
<batchUpdateDeadline ref="batchUpdateDeadlineRef" @batchUpdateDeadlineForm="batchUpdateDeadlineForm"/>
|
<batchUpdateDeadline ref="batchUpdateDeadlineRef" @batchUpdateDeadlineForm="batchUpdateDeadlineForm"/>
|
||||||
|
|
||||||
@@ -877,6 +917,7 @@
|
|||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
textLoading: false,
|
textLoading: false,
|
||||||
formInline: {},
|
formInline: {},
|
||||||
|
dataExportformInline: {},
|
||||||
queryParamQuery: {},
|
queryParamQuery: {},
|
||||||
url: {
|
url: {
|
||||||
tableHeader: 'params/collectManifest/getHeader',
|
tableHeader: 'params/collectManifest/getHeader',
|
||||||
@@ -919,6 +960,7 @@
|
|||||||
areaVisiblereferenceparameter: false, // 引用参数弹框
|
areaVisiblereferenceparameter: false, // 引用参数弹框
|
||||||
areaVisibsynchronous: false, // 同步上报库弹框
|
areaVisibsynchronous: false, // 同步上报库弹框
|
||||||
visibleoperationFailed: false, // 数据失败的弹框
|
visibleoperationFailed: false, // 数据失败的弹框
|
||||||
|
dataExportFailed: false, // 数据失败的弹框
|
||||||
currentPersonRole: '', // 当前人角色
|
currentPersonRole: '', // 当前人角色
|
||||||
jurisdiction: '',
|
jurisdiction: '',
|
||||||
wrapperCol: {
|
wrapperCol: {
|
||||||
@@ -930,6 +972,11 @@
|
|||||||
sm: { span: 7 }
|
sm: { span: 7 }
|
||||||
},
|
},
|
||||||
rules: {},
|
rules: {},
|
||||||
|
dataExportrules: {
|
||||||
|
exportOption:[
|
||||||
|
{ required: true, message: this.$t('PleaseSelect')+this.$t('exportOption'), trigger: 'change' }
|
||||||
|
]
|
||||||
|
},
|
||||||
FreezeList: [], // 冻结字段
|
FreezeList: [], // 冻结字段
|
||||||
roleSwitchingList: [],
|
roleSwitchingList: [],
|
||||||
JTextLoading: false,
|
JTextLoading: false,
|
||||||
@@ -1329,24 +1376,56 @@
|
|||||||
},
|
},
|
||||||
//导出
|
//导出
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.$message.success(this.$t('Intheexport'))
|
this.dataExportFailed = true
|
||||||
let long = localStorage.getItem('language')
|
// this.$message.success(this.$t('Intheexport'))
|
||||||
this.cut = ''
|
// let long = localStorage.getItem('language')
|
||||||
if (long && long === 'zh-cn') {
|
// this.cut = ''
|
||||||
this.cut = 'cn'
|
// if (long && long === 'zh-cn') {
|
||||||
} else if (long && long === 'en-us') {
|
// this.cut = 'cn'
|
||||||
this.cut = 'en'
|
// } else if (long && long === 'en-us') {
|
||||||
}
|
// this.cut = 'en'
|
||||||
let query = {
|
// }
|
||||||
paramsManifestId: this.paramsManifest.id,
|
// let query = {
|
||||||
paramsTemplateId: this.$route.query.paramsTemplateId,
|
// paramsManifestId: this.paramsManifest.id,
|
||||||
paramsTemplatePublishVersion: 1,
|
// paramsTemplateId: this.$route.query.paramsTemplateId,
|
||||||
cut: this.cut,
|
// paramsTemplatePublishVersion: 1,
|
||||||
userTypes: this.currentPersonRole,
|
// cut: this.cut,
|
||||||
exportName: this.$route.query.projectName + '(' + this.$route.query.title + ')'
|
// userTypes: this.currentPersonRole,
|
||||||
}
|
// exportName: this.$route.query.projectName + '(' + this.$route.query.title + ')'
|
||||||
let name = this.$route.query.projectName + '(' + this.$route.query.title + ')' + '.zip'
|
// }
|
||||||
downloadFile('/params/collectManifest/exportAll', name, query, this.selectClear)
|
// let name = this.$route.query.projectName + '(' + this.$route.query.title + ')' + '.zip'
|
||||||
|
// downloadFile('/params/collectManifest/exportAll', name, query, this.selectClear)
|
||||||
|
},
|
||||||
|
// 导出确定
|
||||||
|
handleExportSubmit(){
|
||||||
|
this.$refs.dataExportruleForm.validate(valid => {
|
||||||
|
if(valid){
|
||||||
|
this.$message.success(this.$t('Intheexport'))
|
||||||
|
let long = localStorage.getItem('language')
|
||||||
|
this.cut = ''
|
||||||
|
if (long && long === 'zh-cn') {
|
||||||
|
this.cut = 'cn'
|
||||||
|
} else if (long && long === 'en-us') {
|
||||||
|
this.cut = 'en'
|
||||||
|
}
|
||||||
|
let query = {
|
||||||
|
paramsManifestId: this.paramsManifest.id,
|
||||||
|
paramsTemplateId: this.$route.query.paramsTemplateId,
|
||||||
|
exportOption:this.dataExportformInline.exportOption,
|
||||||
|
paramsTemplatePublishVersion: 1,
|
||||||
|
cut: this.cut,
|
||||||
|
userTypes: this.currentPersonRole,
|
||||||
|
exportName: this.$route.query.projectName + '(' + this.$route.query.title + ')'
|
||||||
|
}
|
||||||
|
let name = this.$route.query.projectName + '(' + this.$route.query.title + ')' + '.zip'
|
||||||
|
downloadFile('/params/collectManifest/exportAll', name, query, this.selectClear)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleCancel() {
|
||||||
|
this.dataExportformInline = {}
|
||||||
|
this.$refs.dataExportruleForm.clearValidate()
|
||||||
|
this.dataExportFailed = false
|
||||||
},
|
},
|
||||||
//填写人导出
|
//填写人导出
|
||||||
handleExportDre() {
|
handleExportDre() {
|
||||||
@@ -2631,7 +2710,11 @@
|
|||||||
height: 42px;
|
height: 42px;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
}
|
}
|
||||||
|
.itemModel {
|
||||||
|
width: 100%;
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
.box-input .ant-select-selection {
|
.box-input .ant-select-selection {
|
||||||
height: 38px !important;
|
height: 38px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<a-select :placeholder="$t('PleaseSelect')+$t('ProcessStatus')"
|
<a-select :placeholder="$t('PleaseSelect')+$t('ProcessStatus')"
|
||||||
class="box-input"
|
class="box-input"
|
||||||
|
mode="multiple"
|
||||||
allowClear
|
allowClear
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
v-model="queryParam.flowStatus">
|
v-model="queryParam.flowStatus">
|
||||||
|
|||||||
@@ -53,6 +53,7 @@
|
|||||||
allowClear
|
allowClear
|
||||||
show-search
|
show-search
|
||||||
style="width: calc(100% - 80px);"
|
style="width: calc(100% - 80px);"
|
||||||
|
mode="multiple"
|
||||||
optionFilterProp="label"
|
optionFilterProp="label"
|
||||||
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
:getPopupContainer="triggerNode=> triggerNode.parentNode"
|
||||||
v-model="queryParam[selectModel]">
|
v-model="queryParam[selectModel]">
|
||||||
|
|||||||
+30
@@ -22,6 +22,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<div class="process-content-right">
|
<div class="process-content-right">
|
||||||
<div class="process-content-right-top" :title="item.name">{{item.name}}</div>
|
<div class="process-content-right-top" :title="item.name">{{item.name}}</div>
|
||||||
|
<div class="process-content-right-top-user" :title="item.userName">{{item.userName}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -303,6 +304,23 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.regulatoryCertificationTaskPlanList.forEach(val => {
|
||||||
|
if (val.name == this.$t('initiatingProcess')) {
|
||||||
|
val.userName = this.$t('regulatoryEngineer')
|
||||||
|
} else if (val.name == this.$t('Taskresponsibilityrecognition')) {
|
||||||
|
val.userName = this.$t('personLiable')
|
||||||
|
} else if (val.name == this.$t('designComplianceReview')) {
|
||||||
|
val.userName = this.$t('personLiable')
|
||||||
|
} else if (val.name == this.$t('verificationComplianceReview')) {
|
||||||
|
val.userName = this.$t('personLiable')
|
||||||
|
} else if (val.name == this.$t('designComplianceReviewAdmin')) {
|
||||||
|
val.userName = this.$t('regulatoryEngineer')
|
||||||
|
} else if (val.name == this.$t('verificationComplianceExamine')) {
|
||||||
|
val.userName = this.$t('regulatoryEngineer')
|
||||||
|
} else {
|
||||||
|
val.userName = ''
|
||||||
|
}
|
||||||
|
})
|
||||||
this.regulatoryCertificationTaskPlanList = [...this.regulatoryCertificationTaskPlanList]
|
this.regulatoryCertificationTaskPlanList = [...this.regulatoryCertificationTaskPlanList]
|
||||||
}
|
}
|
||||||
this.loading = false
|
this.loading = false
|
||||||
@@ -403,6 +421,18 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.process-content-right-top-user{
|
||||||
|
//background: #E6FAFA;
|
||||||
|
//padding: 5px;
|
||||||
|
color: #00B3BE;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: lighter;
|
||||||
|
margin-top: 5px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user