修改三期优化点
This commit is contained in:
+2
-2
@@ -379,7 +379,7 @@
|
||||
let index1 = fileName.lastIndexOf('.')
|
||||
let index2 = fileName.length
|
||||
let fileSuffix = fileName.substring(index1, index2)
|
||||
quill.insertEmbed(length, 'image', window._CONFIG['domianPreviewURL'] + '/sys/common/download/' + res.data.result.id + fileSuffix)
|
||||
quill.insertEmbed(length, 'image', window._CONFIG['domianWebImgURL'] + '/sys/common/download/' + res.data.result.id + fileSuffix)
|
||||
quill.setSelection(length + 1)
|
||||
}
|
||||
})
|
||||
@@ -511,7 +511,7 @@
|
||||
let index1 = fileName.lastIndexOf('.')
|
||||
let index2 = fileName.length
|
||||
let fileSuffix = fileName.substring(index1, index2)
|
||||
quill.insertEmbed(length, 'image', window._CONFIG['domianPreviewURL'] + '/sys/common/download/' + file.response.result.id + fileSuffix)
|
||||
quill.insertEmbed(length, 'image', window._CONFIG['domianWebImgURL'] + '/sys/common/download/' + file.response.result.id + fileSuffix)
|
||||
quill.setSelection(length + 1)
|
||||
this.quillUpdateImg = false
|
||||
} else if (status === 'uploading') {
|
||||
|
||||
@@ -17,18 +17,18 @@
|
||||
</div>
|
||||
<!-- :label="$t('FilterMatching')" :labelCol="{md: 6,xs:24}" :wrapperCol="{md: 18,xs:24}" style="width: 100%;"-->
|
||||
<a-form-model-item class='box-input'>
|
||||
<a-select v-model="formData.dutyTerritory"
|
||||
style='width: 148%'
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')">
|
||||
<a-select-option v-for="(element,index) in dutyTerritory" :key="element.value" :value="element.value">
|
||||
{{element.text}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<!-- <j-dict-select-tag class="box-input" v-model="formData.dutyTerritory"-->
|
||||
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- :type="'select'"-->
|
||||
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
||||
</a-form-model-item>
|
||||
<a-select v-model="formData.dutyTerritory"
|
||||
style='width: 148%'
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')">
|
||||
<a-select-option v-for="(element,index) in dutyTerritory" :key="element.value" :value="element.value">
|
||||
{{element.text}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
<!-- <j-dict-select-tag class="box-input" v-model="formData.dutyTerritory"-->
|
||||
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||
<!-- :type="'select'"-->
|
||||
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
|
||||
</a-col>
|
||||
@@ -60,7 +60,7 @@
|
||||
<div class="table-operator" style='float: right;margin-top: -20px'>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls()">{{ $t('export') }}</a-button>
|
||||
</div>
|
||||
<!-- :rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'-->
|
||||
<!-- :rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'-->
|
||||
<a-table
|
||||
class='table-area'
|
||||
ref='table'
|
||||
@@ -72,50 +72,80 @@
|
||||
:loading='loading'
|
||||
:scroll="{x: '100%',y:370}"
|
||||
@change='handleTableChange'>
|
||||
<span slot="status" slot-scope="text,record" :title="text" >
|
||||
<a v-if="record.designFlowTaskStatus == 'Compliance'" style='color: #26BD4B'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'Non-Compliance'" style='color: #E83030'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'To be tracked'" style='color: #FDA71C'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'NA'" style='color: #707486'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'No rating'" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'Termination of task'" style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
||||
<span slot="status" slot-scope="text,record" :title="text">
|
||||
<a v-if="record.designFlowTaskStatus == 'Compliance'"
|
||||
@click="verifyTaskClick(record,1,false)"
|
||||
style='color: #26BD4B'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'Non-Compliance'"
|
||||
@click="verifyTaskClick(record,1,false)"
|
||||
style='color: #E83030'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'To be tracked'"
|
||||
@click="verifyTaskClick(record,1,false)"
|
||||
style='color: #FDA71C'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'NA'"
|
||||
@click="verifyTaskClick(record,1,false)"
|
||||
style='color: #707486'>{{ text }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'No rating'" style='color: #00B3BE'
|
||||
@click="verifyTaskClick(record,1,true)">{{ $t('toBeConfirmed') }}</a>
|
||||
<a v-if="record.designFlowTaskStatus == 'Termination of task'"
|
||||
@click="verifyTaskClick(record,1,false)"
|
||||
style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
||||
</span>
|
||||
<span slot="statusprehomo" slot-scope="text,record" :title="text" >
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'Compliance'" style='color: #26BD4B'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'Non-Compliance'" style='color: #E83030'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'To be tracked'" style='color: #FDA71C'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'NA'" style='color: #707486'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'No rating'" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'Termination of task'" style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
||||
<span slot="statusprehomo" slot-scope="text,record" :title="text">
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'Compliance'"
|
||||
@click="verifyTaskClick(record,2,false)"
|
||||
style='color: #26BD4B'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'Non-Compliance'"
|
||||
@click="verifyTaskClick(record,2,false)" style='color: #E83030'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'To be tracked'"
|
||||
@click="verifyTaskClick(record,2,false)" style='color: #FDA71C'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'NA'"
|
||||
@click="verifyTaskClick(record,2,false)" style='color: #707486'>{{ text }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'No rating'"
|
||||
@click="verifyTaskClick(record,2,true)" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
||||
<a v-if="record.prehomoFlowTaskStatus == 'Termination of task'"
|
||||
@click="verifyTaskClick(record,2,false)"
|
||||
style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
||||
</span>
|
||||
<span slot="filstatuse" slot-scope="text,record" :title="text" >
|
||||
<a v-if="record.verifyFlowTaskStatus == 'Compliance'" style='color: #26BD4B'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'Non-Compliance'" style='color: #E83030'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'To be tracked'" style='color: #FDA71C'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'NA'" style='color: #707486'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'No rating'" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'Termination of task'" style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
||||
<span slot="filstatuse" slot-scope="text,record" :title="text">
|
||||
<a v-if="record.verifyFlowTaskStatus == 'Compliance'"
|
||||
@click="verifyTaskClick(record,3,false)"
|
||||
style='color: #26BD4B'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'Non-Compliance'"
|
||||
@click="verifyTaskClick(record,3,false)" style='color: #E83030'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'To be tracked'"
|
||||
@click="verifyTaskClick(record,3,false)" style='color: #FDA71C'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'NA'"
|
||||
@click="verifyTaskClick(record,3,false)" style='color: #707486'>{{ text }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'No rating'"
|
||||
@click="verifyTaskClick(record,3,true)" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
||||
<a v-if="record.verifyFlowTaskStatus == 'Termination of task'"
|
||||
@click="verifyTaskClick(record,3,false)" style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
||||
</span>
|
||||
|
||||
<!-- <template slot="file" slot-scope="text, record">-->
|
||||
<!-- <a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>-->
|
||||
<!-- </template>-->
|
||||
<!-- <template slot="file" slot-scope="text, record">-->
|
||||
<!-- <a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>-->
|
||||
<!-- </template>-->
|
||||
</a-table>
|
||||
<!-- <div class="page" style='display: flex;justify-content: flex-end;'>-->
|
||||
<!-- <a-pagination-->
|
||||
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
||||
<!-- show-quick-jumper-->
|
||||
<!-- show-size-changer-->
|
||||
<!-- :page-size.sync="pageSize"-->
|
||||
<!-- :total="total"-->
|
||||
<!-- :current="pageNo"-->
|
||||
<!-- @change="pageOnChange"-->
|
||||
<!-- @showSizeChange="SizeChange"-->
|
||||
<!-- />-->
|
||||
<!-- </div>-->
|
||||
<div class="table-operator" >
|
||||
<a-button type="primary" v-if='this.opinionGather > 0' @click="handlecomments()">{{ $t('CommentsCollectionResultsForReference') }}</a-button>
|
||||
<a-button type="primary" v-if='this.technologyEvaluation > 0' @click="handletechnical()">{{ $t('TechnicalEvaluationResultsForReference') }}</a-button>
|
||||
<!-- <div class="page" style='display: flex;justify-content: flex-end;'>-->
|
||||
<!-- <a-pagination-->
|
||||
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
||||
<!-- show-quick-jumper-->
|
||||
<!-- show-size-changer-->
|
||||
<!-- :page-size.sync="pageSize"-->
|
||||
<!-- :total="total"-->
|
||||
<!-- :current="pageNo"-->
|
||||
<!-- @change="pageOnChange"-->
|
||||
<!-- @showSizeChange="SizeChange"-->
|
||||
<!-- />-->
|
||||
<!-- </div>-->
|
||||
<div class="table-operator">
|
||||
<a-button type="primary" v-if='this.opinionGather > 0' @click="handlecomments()">{{
|
||||
$t('CommentsCollectionResultsForReference') }}
|
||||
</a-button>
|
||||
<a-button type="primary" v-if='this.technologyEvaluation > 0' @click="handletechnical()">{{
|
||||
$t('TechnicalEvaluationResultsForReference') }}
|
||||
</a-button>
|
||||
</div>
|
||||
<!-- <div class='drawer-bootom-button'>-->
|
||||
<!-- <a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>-->
|
||||
@@ -125,282 +155,370 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { putAction, postAction, getAction, deleteAction ,downloadFile } from '@/api/manage'
|
||||
import axios from 'axios'
|
||||
import Vue from 'vue'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import { putAction, postAction, getAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
import axios from 'axios'
|
||||
import Vue from 'vue'
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
|
||||
export default {
|
||||
name: 'diolagArea',
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
token:Vue.ls.get(ACCESS_TOKEN),
|
||||
title: this.$t('add'),
|
||||
total: 0,
|
||||
selectedRowKeysDate: {},
|
||||
opinionGather:'',
|
||||
technologyEvaluation:'',
|
||||
loading: false,
|
||||
editId: '',
|
||||
RelatedItemList:[],
|
||||
dutyTerritory:[],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
dataIndex: 'dutyTerritory_dicText',
|
||||
width: 120,
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
export default {
|
||||
name: 'diolagArea',
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
token: Vue.ls.get(ACCESS_TOKEN),
|
||||
title: this.$t('add'),
|
||||
total: 0,
|
||||
selectedRowKeysDate: {},
|
||||
opinionGather: '',
|
||||
technologyEvaluation: '',
|
||||
loading: false,
|
||||
editId: '',
|
||||
RelatedItemList: [],
|
||||
dutyTerritory: [],
|
||||
columns: [
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
dataIndex: 'dutyTerritory_dicText',
|
||||
width: 120,
|
||||
align: 'center',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('RelatedItems'),
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'projectName',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('designComplianceReview'),
|
||||
align: 'center',
|
||||
width: 250,
|
||||
dataIndex: 'designFlowTaskStatus_dicText',
|
||||
scopedSlots: { customRender: 'status' },
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('preHomeConfirmation'),
|
||||
align: 'center',
|
||||
width: 270,
|
||||
dataIndex: 'prehomoFlowTaskStatus_dicText',
|
||||
scopedSlots: { customRender: 'statusprehomo' },
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('verificationComplianceReview'),
|
||||
align: 'center',
|
||||
width: 270,
|
||||
dataIndex: 'verifyFlowTaskStatus_dicText',
|
||||
scopedSlots: { customRender: 'filstatuse' },
|
||||
ellipsis: true
|
||||
}
|
||||
],
|
||||
newVisible: false,
|
||||
labelCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 7 }
|
||||
},
|
||||
{
|
||||
title: this.$t('RelatedItems'),
|
||||
align: 'center',
|
||||
width: 120,
|
||||
dataIndex: 'projectName',
|
||||
ellipsis: true
|
||||
wrapperCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 14 }
|
||||
},
|
||||
{
|
||||
title: this.$t('designComplianceReview'),
|
||||
align: 'center',
|
||||
width: 250,
|
||||
dataIndex: 'designFlowTaskStatus_dicText',
|
||||
scopedSlots: { customRender: 'status' },
|
||||
ellipsis: true
|
||||
form: {},
|
||||
formData: {
|
||||
projectName: ''
|
||||
},
|
||||
{
|
||||
title: this.$t('preHomeConfirmation'),
|
||||
align: 'center',
|
||||
width: 270,
|
||||
dataIndex: 'prehomoFlowTaskStatus_dicText',
|
||||
scopedSlots: { customRender: 'statusprehomo' },
|
||||
ellipsis: true
|
||||
rules: {
|
||||
title: [
|
||||
{ required: true, message: this.$t('enterTitle'), trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: this.$t('verificationComplianceReview'),
|
||||
align: 'center',
|
||||
width: 270,
|
||||
dataIndex: 'verifyFlowTaskStatus_dicText',
|
||||
scopedSlots: { customRender: 'filstatuse' },
|
||||
ellipsis: true
|
||||
}
|
||||
],
|
||||
newVisible: false,
|
||||
labelCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 7 }
|
||||
},
|
||||
wrapperCol: {
|
||||
xs: { span: 24 },
|
||||
sm: { span: 14 }
|
||||
},
|
||||
form: {},
|
||||
formData: {
|
||||
projectName:'',
|
||||
},
|
||||
rules: {
|
||||
title: [
|
||||
{ required: true, message: this.$t('enterTitle'), trigger: 'blur' }
|
||||
]
|
||||
},
|
||||
areaTable: [],
|
||||
flag: false, //表单提交标识
|
||||
spinLoading: false,
|
||||
confirmLoading: false,
|
||||
selectedRowKeys: [],
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
listVisible: false,
|
||||
}
|
||||
},
|
||||
props: {
|
||||
item: {
|
||||
type: Object,
|
||||
default: '',
|
||||
require: true
|
||||
areaTable: [],
|
||||
flag: false, //表单提交标识
|
||||
spinLoading: false,
|
||||
confirmLoading: false,
|
||||
selectedRowKeys: [],
|
||||
pageNo: 1,
|
||||
pageSize: 10,
|
||||
listVisible: false
|
||||
}
|
||||
},
|
||||
paramsManifestId: {
|
||||
type: String,
|
||||
default: '',
|
||||
require: true
|
||||
props: {
|
||||
item: {
|
||||
type: Object,
|
||||
default: '',
|
||||
require: true
|
||||
},
|
||||
paramsManifestId: {
|
||||
type: String,
|
||||
default: '',
|
||||
require: true
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.loadData()
|
||||
this.getRelatedItemList()
|
||||
this.getdutyTerritory()
|
||||
},
|
||||
methods: {
|
||||
getRelatedItemList(){
|
||||
getAction('/project/projectNameInfoEO/list', {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.RelatedItemList = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
pageOnChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
mounted() {
|
||||
this.loadData()
|
||||
this.getRelatedItemList()
|
||||
this.getdutyTerritory()
|
||||
},
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
this.loadData()
|
||||
},
|
||||
// 法规意见收集列表
|
||||
handlecomments(){
|
||||
this.$router.push({
|
||||
path: '/collectionOfRegulatoryOpinions',
|
||||
query:{
|
||||
serialNumber:this.item.serialNumber,
|
||||
gatherResult:'Completed'
|
||||
methods: {
|
||||
getRelatedItemList() {
|
||||
getAction('/project/projectNameInfoEO/list', {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.RelatedItemList = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
pageOnChange(page, pageSize) {
|
||||
this.pageNo = page
|
||||
this.loadData()
|
||||
},
|
||||
SizeChange(page, pageSize) {
|
||||
this.pageNo = 1
|
||||
this.pageSize = pageSize
|
||||
this.loadData()
|
||||
},
|
||||
// 法规意见收集列表
|
||||
handlecomments() {
|
||||
this.$router.push({
|
||||
path: '/collectionOfRegulatoryOpinions',
|
||||
query: {
|
||||
serialNumber: this.item.serialNumber,
|
||||
gatherResult: 'Completed'
|
||||
}
|
||||
})
|
||||
},
|
||||
getdutyTerritory() {
|
||||
getAction('sys/dict/getDictItems/duty_territory', {}).then((res) => {
|
||||
if (res.success) {
|
||||
this.dutyTerritory = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
verifyTaskClick(val, num, isTrue) {
|
||||
let query = {}
|
||||
switch (num) {
|
||||
case 1:
|
||||
query = {
|
||||
taskIds: val.designTaskId,
|
||||
actiProcInstId: val.designPId,
|
||||
projectTaskInventoryId: val.projectLawsInventoryId,
|
||||
projectLibraryId: val.projectLibraryId,
|
||||
id: val.projectLibraryId,
|
||||
studioEngineer: val.studioEngineer,
|
||||
serialNumber: val.serialNumber,
|
||||
TaskKey: val.designTaskDefinitionKey,
|
||||
isDisplay: isTrue,
|
||||
flowType: 2,
|
||||
Sponsor: 'designInitiatorName',
|
||||
personLiable: 'designDutyName',
|
||||
typeOfDeliverables: 'designDeliverableTypeName',
|
||||
deliverableTemplate: 'designDeliverableTemplate',
|
||||
DueDate: 'designDueDate',
|
||||
remarks: 'designRemark',
|
||||
projectName: val.projectName,
|
||||
targetMarket: val.targetMarket,
|
||||
projectNameId: val.projectNameId,
|
||||
primaryKeyId: val.designTaskDetailId,
|
||||
PersonChargeFeedback: val.designPersonChargeFeedback
|
||||
}
|
||||
break
|
||||
case 2:
|
||||
query = {
|
||||
taskIds: val.prehomoTaskId,
|
||||
actiProcInstId: val.prehomoPId,
|
||||
projectTaskInventoryId: val.projectLawsInventoryId,
|
||||
studioEngineer: val.studioEngineer,
|
||||
projectLibraryId: val.projectLibraryId,
|
||||
serialNumber: val.serialNumber,
|
||||
TaskKey: val.prehomoTaskDefinitionKey,
|
||||
flowType: 3,
|
||||
isDisplay: isTrue,
|
||||
id: val.projectLibraryId,
|
||||
Sponsor: 'prehomoInitiatorName',
|
||||
personLiable: 'prehomoDutyName',
|
||||
typeOfDeliverables: 'prehomoDeliverableTypeName',
|
||||
deliverableTemplate: 'prehomoDeliverableTemplate',
|
||||
DueDate: 'prehomoDueDate',
|
||||
remarks: 'prehomoRemark',
|
||||
projectName: val.projectName,
|
||||
targetMarket: val.targetMarket,
|
||||
projectNameId: val.projectNameId,
|
||||
primaryKeyId: val.prehomoTaskDetailId,
|
||||
PersonChargeFeedback: val.prehomoPersonChargeFeedback
|
||||
}
|
||||
break
|
||||
case 3:
|
||||
query = {
|
||||
taskIds: val.verifyTaskId,
|
||||
actiProcInstId: val.verifyPId,
|
||||
id: val.projectLibraryId,
|
||||
projectLibraryId: val.projectLibraryId,
|
||||
studioEngineer: val.studioEngineer,
|
||||
serialNumber: val.serialNumber,
|
||||
projectTaskInventoryId: val.projectLawsInventoryId,
|
||||
TaskKey: val.verifyTaskDefinitionKey,
|
||||
flowType: 4,
|
||||
isDisplay: isTrue,
|
||||
Sponsor: 'verifyInitiatorName',
|
||||
personLiable: 'verifyDutyName',
|
||||
typeOfDeliverables: 'verifyDeliverableTypeName',
|
||||
deliverableTemplate: 'verifyDeliverableTemplate',
|
||||
DueDate: 'verifyDueDate',
|
||||
remarks: 'verifyRemark',
|
||||
projectName: val.projectName,
|
||||
targetMarket: val.targetMarket,
|
||||
projectNameId: val.projectNameId,
|
||||
primaryKeyId: val.verifyTaskDetailId,
|
||||
PersonChargeFeedback: val.verifyPersonChargeFeedback
|
||||
}
|
||||
break
|
||||
}
|
||||
})
|
||||
},
|
||||
getdutyTerritory(){
|
||||
getAction('sys/dict/getDictItems/duty_territory', { }).then((res) => {
|
||||
if (res.success) {
|
||||
this.dutyTerritory = res.result
|
||||
}
|
||||
})
|
||||
},
|
||||
// 法规技术评估列表
|
||||
handletechnical(){
|
||||
let newUrl = this.$router.resolve({
|
||||
path: '/taskListProcess',
|
||||
query: query
|
||||
})
|
||||
window.open(newUrl.href, '_blank')
|
||||
},
|
||||
// 法规技术评估列表
|
||||
handletechnical() {
|
||||
|
||||
this.$router.push({
|
||||
path: '/technologyAssessment',
|
||||
query:{
|
||||
serialNumber:this.item.serialNumber,
|
||||
flowStatus:'Completed'
|
||||
this.$router.push({
|
||||
path: '/technologyAssessment',
|
||||
query: {
|
||||
serialNumber: this.item.serialNumber,
|
||||
flowStatus: 'Completed'
|
||||
}
|
||||
})
|
||||
},
|
||||
loadData() {
|
||||
let params = {
|
||||
id: this.paramsManifestId,
|
||||
dutyTerritory: this.formData.dutyTerritory ? this.formData.dutyTerritory : '',
|
||||
projectName: this.formData.projectName ? this.formData.projectName : '',
|
||||
projectNameId: this.formData.projectNameId ? this.formData.projectNameId : ''
|
||||
// pageNo: this.pageNo,
|
||||
// pageSize: this.pageSize,
|
||||
}
|
||||
})
|
||||
},
|
||||
loadData() {
|
||||
let params = {
|
||||
id:this.paramsManifestId,
|
||||
dutyTerritory:this.formData.dutyTerritory?this.formData.dutyTerritory:'',
|
||||
projectName:this.formData.projectName?this.formData.projectName:'',
|
||||
projectNameId:this.formData.projectNameId?this.formData.projectNameId:'',
|
||||
// pageNo: this.pageNo,
|
||||
// pageSize: this.pageSize,
|
||||
}
|
||||
this.loading = true
|
||||
getAction('project/lawsComplianceBoard/queryComplianceResultList', params).then((res) => {
|
||||
if (res.success) {
|
||||
this.areaTable = res.result.complianceResultList
|
||||
this.opinionGather = res.result.opinionGather
|
||||
this.technologyEvaluation = res.result.technologyEvaluation
|
||||
// this.total = res.result.total
|
||||
this.loading = false
|
||||
}else{
|
||||
this.loading = false
|
||||
this.loading = true
|
||||
getAction('project/lawsComplianceBoard/queryComplianceResultList', params).then((res) => {
|
||||
if (res.success) {
|
||||
this.areaTable = res.result.complianceResultList
|
||||
this.opinionGather = res.result.opinionGather
|
||||
this.technologyEvaluation = res.result.technologyEvaluation
|
||||
// this.total = res.result.total
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
},
|
||||
//导出
|
||||
handleExportXls() {
|
||||
let query = {
|
||||
id: this.paramsManifestId,
|
||||
...this.formData
|
||||
}
|
||||
})
|
||||
},
|
||||
//导出
|
||||
handleExportXls(){
|
||||
let query = {
|
||||
id:this.paramsManifestId,
|
||||
...this.formData
|
||||
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.item.serialNumber + '.xls', query, this.Deselect)
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.loadData()
|
||||
},
|
||||
searchReset() {
|
||||
this.formData = {}
|
||||
this.pageNo = 1
|
||||
this.loadData()
|
||||
},
|
||||
handleCancel() {
|
||||
this.$emit('areaVisible', false)
|
||||
},
|
||||
onSelectChange(selectedRowKeys, selectedRowKeysDate) {
|
||||
this.selectedRowKeysDate = selectedRowKeysDate
|
||||
this.selectedRowKeys = selectedRowKeys
|
||||
},
|
||||
handleTableChange(val) {
|
||||
console.log(',,,')
|
||||
},
|
||||
showModal() {
|
||||
this.title = this.$t('add')
|
||||
this.newVisible = true
|
||||
this.form = {}
|
||||
}
|
||||
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.item.serialNumber +'.xls', query, this.Deselect)
|
||||
},
|
||||
searchQuery() {
|
||||
this.pageNo = 1
|
||||
this.loadData()
|
||||
},
|
||||
searchReset() {
|
||||
this.formData = {}
|
||||
this.pageNo = 1
|
||||
this.loadData()
|
||||
},
|
||||
handleCancel() {
|
||||
this.$emit('areaVisible', false)
|
||||
},
|
||||
onSelectChange(selectedRowKeys, selectedRowKeysDate) {
|
||||
this.selectedRowKeysDate = selectedRowKeysDate
|
||||
this.selectedRowKeys = selectedRowKeys
|
||||
},
|
||||
handleTableChange(val) {
|
||||
console.log(',,,')
|
||||
},
|
||||
showModal() {
|
||||
this.title = this.$t('add')
|
||||
this.newVisible = true
|
||||
this.form = {}
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
selectedRowKeyS(val) {
|
||||
this.selectedRowKeys = val
|
||||
watch: {
|
||||
selectedRowKeyS(val) {
|
||||
this.selectedRowKeys = val
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='less' scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@import '~@assets/less/common.less';
|
||||
|
||||
.title-text {
|
||||
width: 110px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
margin-top: -15px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.box-title-text {
|
||||
line-height: 1.4;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
width: 70%;
|
||||
height: 38px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.title-text {
|
||||
width: 110px;
|
||||
color: #000F16;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
margin-right: 16px;
|
||||
margin-top: -15px;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.diolag-area {
|
||||
.table-area {
|
||||
margin: 20px 0;
|
||||
.box-input {
|
||||
display: inline-block;
|
||||
width: 70%;
|
||||
height: 38px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.action-edit {
|
||||
margin-right: 10px;
|
||||
.diolag-area {
|
||||
.table-area {
|
||||
margin: 20px 0;
|
||||
|
||||
.action-edit {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.table-del {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
.table-del {
|
||||
.drawer-bootom-button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.Required {
|
||||
color: red;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
.drawer-bootom-button{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.Required {
|
||||
color: red;
|
||||
margin-right: 4px;
|
||||
}
|
||||
</style>
|
||||
<style lang='less'>
|
||||
.area-module {
|
||||
.ant-modal-wrap {
|
||||
.ant-modal {
|
||||
.ant-modal-content {
|
||||
.ant-modal-footer {
|
||||
text-align: center;
|
||||
.area-module {
|
||||
.ant-modal-wrap {
|
||||
.ant-modal {
|
||||
.ant-modal-content {
|
||||
.ant-modal-footer {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user