修改三期优化点
This commit is contained in:
@@ -44,10 +44,6 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'index',
|
name: 'index',
|
||||||
props: {
|
props: {
|
||||||
url: {
|
|
||||||
type: Object,
|
|
||||||
default: {}
|
|
||||||
},
|
|
||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
Vue.ls.set(USER_INFO, res.result.userInfo, 7 * 24 * 60 * 60 * 1000)
|
Vue.ls.set(USER_INFO, res.result.userInfo, 7 * 24 * 60 * 60 * 1000)
|
||||||
Vue.ls.set(UI_CACHE_DB_DICT_DATA, res.result.sysAllDictItems, 7 * 24 * 60 * 60 * 1000)
|
Vue.ls.set(UI_CACHE_DB_DICT_DATA, res.result.sysAllDictItems, 7 * 24 * 60 * 60 * 1000)
|
||||||
Vue.ls.set('domianWebSocketURL', res.result.domianWebSocketURL)
|
Vue.ls.set('domianWebSocketURL', res.result.domianWebSocketURL)
|
||||||
|
Vue.ls.set('domianWebImgURL', res.result.domianWebImgURL)
|
||||||
Vue.ls.set('onlinePreviewDomainURL', res.result.onlinePreviewDomainURL)
|
Vue.ls.set('onlinePreviewDomainURL', res.result.onlinePreviewDomainURL)
|
||||||
Vue.ls.set('httpsOnlinePreviewDomainURL', res.result.httpsOnlinePreviewDomainURL)
|
Vue.ls.set('httpsOnlinePreviewDomainURL', res.result.httpsOnlinePreviewDomainURL)
|
||||||
Vue.ls.set('domianPreviewURL', res.result.domianPreviewURL)
|
Vue.ls.set('domianPreviewURL', res.result.domianPreviewURL)
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ const user = {
|
|||||||
Vue.ls.set(USER_NAME, userInfo.username, 7 * 24 * 60 * 60 * 1000)
|
Vue.ls.set(USER_NAME, userInfo.username, 7 * 24 * 60 * 60 * 1000)
|
||||||
Vue.ls.set(USER_INFO, userInfo, 7 * 24 * 60 * 60 * 1000)
|
Vue.ls.set(USER_INFO, userInfo, 7 * 24 * 60 * 60 * 1000)
|
||||||
Vue.ls.set('domianWebSocketURL', result.domianWebSocketURL)
|
Vue.ls.set('domianWebSocketURL', result.domianWebSocketURL)
|
||||||
|
Vue.ls.set('domianWebImgURL', result.domianWebImgURL)
|
||||||
Vue.ls.set('onlinePreviewDomainURL', result.onlinePreviewDomainURL)
|
Vue.ls.set('onlinePreviewDomainURL', result.onlinePreviewDomainURL)
|
||||||
Vue.ls.set('httpsOnlinePreviewDomainURL', result.httpsOnlinePreviewDomainURL)
|
Vue.ls.set('httpsOnlinePreviewDomainURL', result.httpsOnlinePreviewDomainURL)
|
||||||
Vue.ls.set('domianPreviewURL', result.domianPreviewURL)
|
Vue.ls.set('domianPreviewURL', result.domianPreviewURL)
|
||||||
@@ -136,6 +137,7 @@ const user = {
|
|||||||
window._CONFIG['domianPreviewURL'] = Vue.ls.get('domianPreviewURL') + '/jero-boot'
|
window._CONFIG['domianPreviewURL'] = Vue.ls.get('domianPreviewURL') + '/jero-boot'
|
||||||
window._CONFIG['domianWebSocketURL'] = Vue.ls.get('domianWebSocketURL') + '/jero-boot'
|
window._CONFIG['domianWebSocketURL'] = Vue.ls.get('domianWebSocketURL') + '/jero-boot'
|
||||||
window._CONFIG['onlinePreviewDomainURL'] = Vue.ls.get('onlinePreviewDomainURL') + '/onlinePreview'
|
window._CONFIG['onlinePreviewDomainURL'] = Vue.ls.get('onlinePreviewDomainURL') + '/onlinePreview'
|
||||||
|
window._CONFIG['domianWebImgURL'] = Vue.ls.get('domianWebImgURL') + '/jero-boot'
|
||||||
window._CONFIG['httpsOnlinePreviewDomainURL'] = Vue.ls.get('httpsOnlinePreviewDomainURL') + '/onlinePreview'
|
window._CONFIG['httpsOnlinePreviewDomainURL'] = Vue.ls.get('httpsOnlinePreviewDomainURL') + '/onlinePreview'
|
||||||
//Vue.ls.set(USER_AUTH,authData);
|
//Vue.ls.set(USER_AUTH,authData);
|
||||||
sessionStorage.setItem(USER_AUTH, JSON.stringify(authData))
|
sessionStorage.setItem(USER_AUTH, JSON.stringify(authData))
|
||||||
|
|||||||
+2
-2
@@ -379,7 +379,7 @@
|
|||||||
let index1 = fileName.lastIndexOf('.')
|
let index1 = fileName.lastIndexOf('.')
|
||||||
let index2 = fileName.length
|
let index2 = fileName.length
|
||||||
let fileSuffix = fileName.substring(index1, index2)
|
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)
|
quill.setSelection(length + 1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -511,7 +511,7 @@
|
|||||||
let index1 = fileName.lastIndexOf('.')
|
let index1 = fileName.lastIndexOf('.')
|
||||||
let index2 = fileName.length
|
let index2 = fileName.length
|
||||||
let fileSuffix = fileName.substring(index1, index2)
|
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)
|
quill.setSelection(length + 1)
|
||||||
this.quillUpdateImg = false
|
this.quillUpdateImg = false
|
||||||
} else if (status === 'uploading') {
|
} else if (status === 'uploading') {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<div class="table-operator" style='float: right;margin-top: -20px'>
|
<div class="table-operator" style='float: right;margin-top: -20px'>
|
||||||
<a-button type="primary" icon="download" @click="handleExportXls()">{{ $t('export') }}</a-button>
|
<a-button type="primary" icon="download" @click="handleExportXls()">{{ $t('export') }}</a-button>
|
||||||
</div>
|
</div>
|
||||||
<!-- :rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'-->
|
<!-- :rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'-->
|
||||||
<a-table
|
<a-table
|
||||||
class='table-area'
|
class='table-area'
|
||||||
ref='table'
|
ref='table'
|
||||||
@@ -72,50 +72,80 @@
|
|||||||
:loading='loading'
|
:loading='loading'
|
||||||
:scroll="{x: '100%',y:370}"
|
:scroll="{x: '100%',y:370}"
|
||||||
@change='handleTableChange'>
|
@change='handleTableChange'>
|
||||||
<span slot="status" slot-scope="text,record" :title="text" >
|
<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 == 'Compliance'"
|
||||||
<a v-if="record.designFlowTaskStatus == 'Non-Compliance'" style='color: #E83030'>{{ text }}</a>
|
@click="verifyTaskClick(record,1,false)"
|
||||||
<a v-if="record.designFlowTaskStatus == 'To be tracked'" style='color: #FDA71C'>{{ text }}</a>
|
style='color: #26BD4B'>{{ text }}</a>
|
||||||
<a v-if="record.designFlowTaskStatus == 'NA'" style='color: #707486'>{{ text }}</a>
|
<a v-if="record.designFlowTaskStatus == 'Non-Compliance'"
|
||||||
<a v-if="record.designFlowTaskStatus == 'No rating'" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
@click="verifyTaskClick(record,1,false)"
|
||||||
<a v-if="record.designFlowTaskStatus == 'Termination of task'" style='color: #E83030'>{{ $t('taskTermination') }}</a>
|
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>
|
||||||
<span slot="statusprehomo" slot-scope="text,record" :title="text" >
|
<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 == 'Compliance'"
|
||||||
<a v-if="record.prehomoFlowTaskStatus == 'Non-Compliance'" style='color: #E83030'>{{ text }}</a>
|
@click="verifyTaskClick(record,2,false)"
|
||||||
<a v-if="record.prehomoFlowTaskStatus == 'To be tracked'" style='color: #FDA71C'>{{ text }}</a>
|
style='color: #26BD4B'>{{ text }}</a>
|
||||||
<a v-if="record.prehomoFlowTaskStatus == 'NA'" style='color: #707486'>{{ text }}</a>
|
<a v-if="record.prehomoFlowTaskStatus == 'Non-Compliance'"
|
||||||
<a v-if="record.prehomoFlowTaskStatus == 'No rating'" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
@click="verifyTaskClick(record,2,false)" style='color: #E83030'>{{ text }}</a>
|
||||||
<a v-if="record.prehomoFlowTaskStatus == 'Termination of task'" style='color: #E83030'>{{ $t('taskTermination') }}</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>
|
||||||
<span slot="filstatuse" slot-scope="text,record" :title="text" >
|
<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 == 'Compliance'"
|
||||||
<a v-if="record.verifyFlowTaskStatus == 'Non-Compliance'" style='color: #E83030'>{{ text }}</a>
|
@click="verifyTaskClick(record,3,false)"
|
||||||
<a v-if="record.verifyFlowTaskStatus == 'To be tracked'" style='color: #FDA71C'>{{ text }}</a>
|
style='color: #26BD4B'>{{ text }}</a>
|
||||||
<a v-if="record.verifyFlowTaskStatus == 'NA'" style='color: #707486'>{{ text }}</a>
|
<a v-if="record.verifyFlowTaskStatus == 'Non-Compliance'"
|
||||||
<a v-if="record.verifyFlowTaskStatus == 'No rating'" style='color: #00B3BE'>{{ $t('toBeConfirmed') }}</a>
|
@click="verifyTaskClick(record,3,false)" style='color: #E83030'>{{ text }}</a>
|
||||||
<a v-if="record.verifyFlowTaskStatus == 'Termination of task'" style='color: #E83030'>{{ $t('taskTermination') }}</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>
|
</span>
|
||||||
|
|
||||||
<!-- <template slot="file" slot-scope="text, record">-->
|
<!-- <template slot="file" slot-scope="text, record">-->
|
||||||
<!-- <a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>-->
|
<!-- <a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>-->
|
||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
</a-table>
|
</a-table>
|
||||||
<!-- <div class="page" style='display: flex;justify-content: flex-end;'>-->
|
<!-- <div class="page" style='display: flex;justify-content: flex-end;'>-->
|
||||||
<!-- <a-pagination-->
|
<!-- <a-pagination-->
|
||||||
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
<!-- :show-total="total => $t('total')+` ${total} `+$t('strip')"-->
|
||||||
<!-- show-quick-jumper-->
|
<!-- show-quick-jumper-->
|
||||||
<!-- show-size-changer-->
|
<!-- show-size-changer-->
|
||||||
<!-- :page-size.sync="pageSize"-->
|
<!-- :page-size.sync="pageSize"-->
|
||||||
<!-- :total="total"-->
|
<!-- :total="total"-->
|
||||||
<!-- :current="pageNo"-->
|
<!-- :current="pageNo"-->
|
||||||
<!-- @change="pageOnChange"-->
|
<!-- @change="pageOnChange"-->
|
||||||
<!-- @showSizeChange="SizeChange"-->
|
<!-- @showSizeChange="SizeChange"-->
|
||||||
<!-- />-->
|
<!-- />-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
<div class="table-operator" >
|
<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.opinionGather > 0' @click="handlecomments()">{{
|
||||||
<a-button type="primary" v-if='this.technologyEvaluation > 0' @click="handletechnical()">{{ $t('TechnicalEvaluationResultsForReference') }}</a-button>
|
$t('CommentsCollectionResultsForReference') }}
|
||||||
|
</a-button>
|
||||||
|
<a-button type="primary" v-if='this.technologyEvaluation > 0' @click="handletechnical()">{{
|
||||||
|
$t('TechnicalEvaluationResultsForReference') }}
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class='drawer-bootom-button'>-->
|
<!-- <div class='drawer-bootom-button'>-->
|
||||||
<!-- <a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>-->
|
<!-- <a-button style='margin-right: .8rem' @click='handleCancel'>{{ $t('cancel') }}</a-button>-->
|
||||||
@@ -125,26 +155,26 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { putAction, postAction, getAction, deleteAction ,downloadFile } from '@/api/manage'
|
import { putAction, postAction, getAction, deleteAction, downloadFile } from '@/api/manage'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'diolagArea',
|
name: 'diolagArea',
|
||||||
components: {},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
token:Vue.ls.get(ACCESS_TOKEN),
|
token: Vue.ls.get(ACCESS_TOKEN),
|
||||||
title: this.$t('add'),
|
title: this.$t('add'),
|
||||||
total: 0,
|
total: 0,
|
||||||
selectedRowKeysDate: {},
|
selectedRowKeysDate: {},
|
||||||
opinionGather:'',
|
opinionGather: '',
|
||||||
technologyEvaluation:'',
|
technologyEvaluation: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
editId: '',
|
editId: '',
|
||||||
RelatedItemList:[],
|
RelatedItemList: [],
|
||||||
dutyTerritory:[],
|
dutyTerritory: [],
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('areaOfResponsibility'),
|
title: this.$t('areaOfResponsibility'),
|
||||||
@@ -196,7 +226,7 @@ export default {
|
|||||||
},
|
},
|
||||||
form: {},
|
form: {},
|
||||||
formData: {
|
formData: {
|
||||||
projectName:'',
|
projectName: ''
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
title: [
|
title: [
|
||||||
@@ -210,7 +240,7 @@ export default {
|
|||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
listVisible: false,
|
listVisible: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
@@ -223,7 +253,7 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
require: true
|
require: true
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.loadData()
|
this.loadData()
|
||||||
@@ -231,7 +261,7 @@ export default {
|
|||||||
this.getdutyTerritory()
|
this.getdutyTerritory()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getRelatedItemList(){
|
getRelatedItemList() {
|
||||||
getAction('/project/projectNameInfoEO/list', {}).then((res) => {
|
getAction('/project/projectNameInfoEO/list', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.RelatedItemList = res.result
|
this.RelatedItemList = res.result
|
||||||
@@ -248,39 +278,124 @@ export default {
|
|||||||
this.loadData()
|
this.loadData()
|
||||||
},
|
},
|
||||||
// 法规意见收集列表
|
// 法规意见收集列表
|
||||||
handlecomments(){
|
handlecomments() {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/collectionOfRegulatoryOpinions',
|
path: '/collectionOfRegulatoryOpinions',
|
||||||
query:{
|
query: {
|
||||||
serialNumber:this.item.serialNumber,
|
serialNumber: this.item.serialNumber,
|
||||||
gatherResult:'Completed'
|
gatherResult: 'Completed'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getdutyTerritory(){
|
getdutyTerritory() {
|
||||||
getAction('sys/dict/getDictItems/duty_territory', { }).then((res) => {
|
getAction('sys/dict/getDictItems/duty_territory', {}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dutyTerritory = res.result
|
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
|
||||||
|
}
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/taskListProcess',
|
||||||
|
query: query
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
|
},
|
||||||
// 法规技术评估列表
|
// 法规技术评估列表
|
||||||
handletechnical(){
|
handletechnical() {
|
||||||
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/technologyAssessment',
|
path: '/technologyAssessment',
|
||||||
query:{
|
query: {
|
||||||
serialNumber:this.item.serialNumber,
|
serialNumber: this.item.serialNumber,
|
||||||
flowStatus:'Completed'
|
flowStatus: 'Completed'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
loadData() {
|
loadData() {
|
||||||
let params = {
|
let params = {
|
||||||
id:this.paramsManifestId,
|
id: this.paramsManifestId,
|
||||||
dutyTerritory:this.formData.dutyTerritory?this.formData.dutyTerritory:'',
|
dutyTerritory: this.formData.dutyTerritory ? this.formData.dutyTerritory : '',
|
||||||
projectName:this.formData.projectName?this.formData.projectName:'',
|
projectName: this.formData.projectName ? this.formData.projectName : '',
|
||||||
projectNameId:this.formData.projectNameId?this.formData.projectNameId:'',
|
projectNameId: this.formData.projectNameId ? this.formData.projectNameId : ''
|
||||||
// pageNo: this.pageNo,
|
// pageNo: this.pageNo,
|
||||||
// pageSize: this.pageSize,
|
// pageSize: this.pageSize,
|
||||||
}
|
}
|
||||||
@@ -292,18 +407,18 @@ export default {
|
|||||||
this.technologyEvaluation = res.result.technologyEvaluation
|
this.technologyEvaluation = res.result.technologyEvaluation
|
||||||
// this.total = res.result.total
|
// this.total = res.result.total
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}else{
|
} else {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//导出
|
//导出
|
||||||
handleExportXls(){
|
handleExportXls() {
|
||||||
let query = {
|
let query = {
|
||||||
id:this.paramsManifestId,
|
id: this.paramsManifestId,
|
||||||
...this.formData
|
...this.formData
|
||||||
}
|
}
|
||||||
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.item.serialNumber +'.xls', query, this.Deselect)
|
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.item.serialNumber + '.xls', query, this.Deselect)
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
@@ -328,7 +443,7 @@ export default {
|
|||||||
this.title = this.$t('add')
|
this.title = this.$t('add')
|
||||||
this.newVisible = true
|
this.newVisible = true
|
||||||
this.form = {}
|
this.form = {}
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
selectedRowKeyS(val) {
|
selectedRowKeyS(val) {
|
||||||
@@ -336,19 +451,20 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
.box-title-text {
|
|
||||||
|
.box-title-text {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
width: 110px;
|
width: 110px;
|
||||||
color: #000F16;
|
color: #000F16;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -360,16 +476,16 @@ export default {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-input {
|
.box-input {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.diolag-area {
|
.diolag-area {
|
||||||
.table-area {
|
.table-area {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
|
||||||
@@ -381,18 +497,20 @@ export default {
|
|||||||
.table-del {
|
.table-del {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.drawer-bootom-button{
|
|
||||||
|
.drawer-bootom-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.Required {
|
|
||||||
|
.Required {
|
||||||
color: red;
|
color: red;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang='less'>
|
<style lang='less'>
|
||||||
.area-module {
|
.area-module {
|
||||||
.ant-modal-wrap {
|
.ant-modal-wrap {
|
||||||
.ant-modal {
|
.ant-modal {
|
||||||
.ant-modal-content {
|
.ant-modal-content {
|
||||||
@@ -402,5 +520,5 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user