修改三期优化点
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') {
|
||||||
|
|||||||
@@ -17,18 +17,18 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- :label="$t('FilterMatching')" :labelCol="{md: 6,xs:24}" :wrapperCol="{md: 18,xs:24}" style="width: 100%;"-->
|
<!-- :label="$t('FilterMatching')" :labelCol="{md: 6,xs:24}" :wrapperCol="{md: 18,xs:24}" style="width: 100%;"-->
|
||||||
<a-form-model-item class='box-input'>
|
<a-form-model-item class='box-input'>
|
||||||
<a-select v-model="formData.dutyTerritory"
|
<a-select v-model="formData.dutyTerritory"
|
||||||
style='width: 148%'
|
style='width: 148%'
|
||||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')">
|
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')">
|
||||||
<a-select-option v-for="(element,index) in dutyTerritory" :key="element.value" :value="element.value">
|
<a-select-option v-for="(element,index) in dutyTerritory" :key="element.value" :value="element.value">
|
||||||
{{element.text}}
|
{{element.text}}
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
<!-- <j-dict-select-tag class="box-input" v-model="formData.dutyTerritory"-->
|
<!-- <j-dict-select-tag class="box-input" v-model="formData.dutyTerritory"-->
|
||||||
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
<!-- :placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"-->
|
||||||
<!-- :type="'select'"-->
|
<!-- :type="'select'"-->
|
||||||
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
<!-- :triggerChange="false" :dictCode="'duty_territory'"/>-->
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -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,282 +155,370 @@
|
|||||||
</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'),
|
||||||
dataIndex: 'dutyTerritory_dicText',
|
dataIndex: 'dutyTerritory_dicText',
|
||||||
width: 120,
|
width: 120,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
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 }
|
||||||
},
|
},
|
||||||
{
|
wrapperCol: {
|
||||||
title: this.$t('RelatedItems'),
|
xs: { span: 24 },
|
||||||
align: 'center',
|
sm: { span: 14 }
|
||||||
width: 120,
|
|
||||||
dataIndex: 'projectName',
|
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
form: {},
|
||||||
title: this.$t('designComplianceReview'),
|
formData: {
|
||||||
align: 'center',
|
projectName: ''
|
||||||
width: 250,
|
|
||||||
dataIndex: 'designFlowTaskStatus_dicText',
|
|
||||||
scopedSlots: { customRender: 'status' },
|
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
rules: {
|
||||||
title: this.$t('preHomeConfirmation'),
|
title: [
|
||||||
align: 'center',
|
{ required: true, message: this.$t('enterTitle'), trigger: 'blur' }
|
||||||
width: 270,
|
]
|
||||||
dataIndex: 'prehomoFlowTaskStatus_dicText',
|
|
||||||
scopedSlots: { customRender: 'statusprehomo' },
|
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
areaTable: [],
|
||||||
title: this.$t('verificationComplianceReview'),
|
flag: false, //表单提交标识
|
||||||
align: 'center',
|
spinLoading: false,
|
||||||
width: 270,
|
confirmLoading: false,
|
||||||
dataIndex: 'verifyFlowTaskStatus_dicText',
|
selectedRowKeys: [],
|
||||||
scopedSlots: { customRender: 'filstatuse' },
|
pageNo: 1,
|
||||||
ellipsis: true
|
pageSize: 10,
|
||||||
}
|
listVisible: false
|
||||||
],
|
}
|
||||||
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
|
|
||||||
},
|
},
|
||||||
paramsManifestId: {
|
props: {
|
||||||
type: String,
|
item: {
|
||||||
default: '',
|
type: Object,
|
||||||
require: true
|
default: '',
|
||||||
|
require: true
|
||||||
|
},
|
||||||
|
paramsManifestId: {
|
||||||
|
type: String,
|
||||||
|
default: '',
|
||||||
|
require: true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
mounted() {
|
||||||
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
|
|
||||||
this.loadData()
|
this.loadData()
|
||||||
|
this.getRelatedItemList()
|
||||||
|
this.getdutyTerritory()
|
||||||
},
|
},
|
||||||
SizeChange(page, pageSize) {
|
methods: {
|
||||||
this.pageNo = 1
|
getRelatedItemList() {
|
||||||
this.pageSize = pageSize
|
getAction('/project/projectNameInfoEO/list', {}).then((res) => {
|
||||||
this.loadData()
|
if (res.success) {
|
||||||
},
|
this.RelatedItemList = res.result
|
||||||
// 法规意见收集列表
|
}
|
||||||
handlecomments(){
|
})
|
||||||
this.$router.push({
|
},
|
||||||
path: '/collectionOfRegulatoryOpinions',
|
pageOnChange(page, pageSize) {
|
||||||
query:{
|
this.pageNo = page
|
||||||
serialNumber:this.item.serialNumber,
|
this.loadData()
|
||||||
gatherResult:'Completed'
|
},
|
||||||
|
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
|
||||||
}
|
}
|
||||||
})
|
let newUrl = this.$router.resolve({
|
||||||
},
|
path: '/taskListProcess',
|
||||||
getdutyTerritory(){
|
query: query
|
||||||
getAction('sys/dict/getDictItems/duty_territory', { }).then((res) => {
|
})
|
||||||
if (res.success) {
|
window.open(newUrl.href, '_blank')
|
||||||
this.dutyTerritory = res.result
|
},
|
||||||
}
|
// 法规技术评估列表
|
||||||
})
|
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() {
|
||||||
|
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) => {
|
||||||
loadData() {
|
if (res.success) {
|
||||||
let params = {
|
this.areaTable = res.result.complianceResultList
|
||||||
id:this.paramsManifestId,
|
this.opinionGather = res.result.opinionGather
|
||||||
dutyTerritory:this.formData.dutyTerritory?this.formData.dutyTerritory:'',
|
this.technologyEvaluation = res.result.technologyEvaluation
|
||||||
projectName:this.formData.projectName?this.formData.projectName:'',
|
// this.total = res.result.total
|
||||||
projectNameId:this.formData.projectNameId?this.formData.projectNameId:'',
|
this.loading = false
|
||||||
// pageNo: this.pageNo,
|
} else {
|
||||||
// pageSize: this.pageSize,
|
this.loading = false
|
||||||
}
|
}
|
||||||
this.loading = true
|
})
|
||||||
getAction('project/lawsComplianceBoard/queryComplianceResultList', params).then((res) => {
|
},
|
||||||
if (res.success) {
|
//导出
|
||||||
this.areaTable = res.result.complianceResultList
|
handleExportXls() {
|
||||||
this.opinionGather = res.result.opinionGather
|
let query = {
|
||||||
this.technologyEvaluation = res.result.technologyEvaluation
|
id: this.paramsManifestId,
|
||||||
// this.total = res.result.total
|
...this.formData
|
||||||
this.loading = false
|
|
||||||
}else{
|
|
||||||
this.loading = false
|
|
||||||
}
|
}
|
||||||
})
|
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.item.serialNumber + '.xls', query, this.Deselect)
|
||||||
},
|
},
|
||||||
//导出
|
searchQuery() {
|
||||||
handleExportXls(){
|
this.pageNo = 1
|
||||||
let query = {
|
this.loadData()
|
||||||
id:this.paramsManifestId,
|
},
|
||||||
...this.formData
|
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() {
|
watch: {
|
||||||
this.pageNo = 1
|
selectedRowKeyS(val) {
|
||||||
this.loadData()
|
this.selectedRowKeys = val
|
||||||
},
|
}
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='less' scoped>
|
<style lang='less' scoped>
|
||||||
@import '~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
.box-title-text {
|
|
||||||
line-height: 1.4;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title-text {
|
.box-title-text {
|
||||||
width: 110px;
|
line-height: 1.4;
|
||||||
color: #000F16;
|
display: flex;
|
||||||
display: inline-block;
|
align-items: center;
|
||||||
font-weight: 500;
|
margin-bottom: 10px;
|
||||||
font-size: 14px;
|
}
|
||||||
margin-right: 16px;
|
|
||||||
margin-top: -15px;
|
|
||||||
text-align: right;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box-input {
|
.title-text {
|
||||||
display: inline-block;
|
width: 110px;
|
||||||
width: 70%;
|
color: #000F16;
|
||||||
height: 38px;
|
display: inline-block;
|
||||||
margin-top: 2px;
|
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 {
|
.box-input {
|
||||||
.table-area {
|
display: inline-block;
|
||||||
margin: 20px 0;
|
width: 70%;
|
||||||
|
height: 38px;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.action-edit {
|
.diolag-area {
|
||||||
margin-right: 10px;
|
.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;
|
color: red;
|
||||||
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
.drawer-bootom-button{
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
.Required {
|
|
||||||
color: red;
|
|
||||||
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 {
|
||||||
.ant-modal-footer {
|
.ant-modal-footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user