对接法规意见收集
This commit is contained in:
+1
-2
@@ -313,6 +313,7 @@
|
|||||||
this.JLoading = true
|
this.JLoading = true
|
||||||
let value = Object.assign(this.formInline, this.selectedRowKeysRecord[0])
|
let value = Object.assign(this.formInline, this.selectedRowKeysRecord[0])
|
||||||
value.standId = value.id
|
value.standId = value.id
|
||||||
|
value.taskAffirmDueDate = value.endTime
|
||||||
delete value.id
|
delete value.id
|
||||||
value.id = this.getUUID()
|
value.id = this.getUUID()
|
||||||
value.currentUserName = this.userInfo().username
|
value.currentUserName = this.userInfo().username
|
||||||
@@ -341,8 +342,6 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
completeTask(value, taskId) {
|
completeTask(value, taskId) {
|
||||||
let operatorTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
|
||||||
value.operatorTime = operatorTime
|
|
||||||
let query = {
|
let query = {
|
||||||
userid: this.userInfo().id,
|
userid: this.userInfo().id,
|
||||||
taskId: taskId,
|
taskId: taskId,
|
||||||
|
|||||||
@@ -74,7 +74,8 @@
|
|||||||
>
|
>
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>
|
<a class="text-operation" @click="viewProcessClick(record)">{{$t('viewProcess')}}</a>
|
||||||
<a class="text-operation" @click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a>
|
<a class="text-operation" v-if="record.gatherResult == 'Completed'"
|
||||||
|
@click="evaluationResultsClick(record)">{{$t('evaluationResults')}}</a>
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" v-if="dataSource && dataSource.length > 0">
|
<div class="page" v-if="dataSource && dataSource.length > 0">
|
||||||
@@ -223,8 +224,16 @@
|
|||||||
// })
|
// })
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
viewProcessClick() {
|
viewProcessClick(row) {
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/processDetails',
|
||||||
|
query: {
|
||||||
|
prcNum: row.prcNum,
|
||||||
|
prcType: 5,
|
||||||
|
prcId: row.actiProcInstId
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
evaluationResultsClick(row) {
|
evaluationResultsClick(row) {
|
||||||
this.$refs.evaluationResultsListRef.getData(JSON.parse(JSON.stringify(row)))
|
this.$refs.evaluationResultsListRef.getData(JSON.parse(JSON.stringify(row)))
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
this.$refs.uploadFile.visible = true
|
this.$refs.uploadFile.visible = true
|
||||||
this.uploadName = item
|
this.uploadName = item
|
||||||
this.uploadIndex = index
|
this.uploadIndex = index
|
||||||
getAction('sys/common/getFileInfos', { id: this.formInline[item] }).then((res) => {
|
getAction('sys/common/getFileInfos', { id: this.dataList[this.uploadIndex][this.uploadName] }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$refs.uploadFile.perentHandleFunc(res.result)
|
this.$refs.uploadFile.perentHandleFunc(res.result)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -33,27 +33,27 @@
|
|||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('operationContent'),
|
title: this.$t('operationContent'),
|
||||||
dataIndex: 'name',
|
dataIndex: 'taskDefinitionKeyName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '20%'
|
width: '25%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Operator'),
|
title: this.$t('Operator'),
|
||||||
dataIndex: 'assignee',
|
dataIndex: 'createBy',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '20%'
|
width: '25%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('role'),
|
title: this.$t('role'),
|
||||||
dataIndex: 'approvalOpinion',
|
dataIndex: 'operatorRoleName',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '20%'
|
width: '25%'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('operationTime'),
|
title: this.$t('operationTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '20%',
|
width: '25%',
|
||||||
customRender: function(t, r, index) {
|
customRender: function(t, r, index) {
|
||||||
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
return moment(t).format('YYYY-MM-DD HH:mm:ss')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,12 +13,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="action-bar">
|
<div class="action-bar">
|
||||||
</div>
|
</div>
|
||||||
<circulationHistory/>
|
<regulatoryCirculationHistory v-if="$route.query.prcType == '5'"/>
|
||||||
|
<circulationHistory v-else/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import circulationHistory from '../../components/circulationHistory'
|
import circulationHistory from '../../components/circulationHistory'
|
||||||
|
import regulatoryCirculationHistory from '../../components/regulatoryCirculationHistory'
|
||||||
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'
|
||||||
@@ -26,7 +28,8 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'processDetails',
|
name: 'processDetails',
|
||||||
components: {
|
components: {
|
||||||
circulationHistory
|
circulationHistory,
|
||||||
|
regulatoryCirculationHistory
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -45,6 +48,16 @@
|
|||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum() {
|
processNum() {
|
||||||
|
let params = {}
|
||||||
|
if (this.$route.query.prcType == 5){
|
||||||
|
params = {
|
||||||
|
prcId: this.$route.query.prcId
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
params = {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}
|
||||||
axios.request({
|
axios.request({
|
||||||
url: '/jero-boot/workFlow/getImg?_t=' + new Date().getTime(),
|
url: '/jero-boot/workFlow/getImg?_t=' + new Date().getTime(),
|
||||||
responseType: 'blob',
|
responseType: 'blob',
|
||||||
@@ -52,9 +65,7 @@
|
|||||||
headers: {
|
headers: {
|
||||||
'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)
|
'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)
|
||||||
},
|
},
|
||||||
params: {
|
params: params
|
||||||
prcNum: this.$route.query.prcNum
|
|
||||||
}
|
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.processStep = window.URL.createObjectURL(res.data)
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -146,10 +146,10 @@
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (num == 1) {
|
if (num == 1) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.loading = false
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/collectionOfRegulatoryOpinions'
|
path: '/collectionOfRegulatoryOpinions'
|
||||||
})
|
})
|
||||||
|
this.loading = false
|
||||||
} else {
|
} else {
|
||||||
this.completeTask()
|
this.completeTask()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -157,7 +157,8 @@
|
|||||||
path: '/processDetails',
|
path: '/processDetails',
|
||||||
query: {
|
query: {
|
||||||
prcNum: row.prcNum,
|
prcNum: row.prcNum,
|
||||||
prcType:row.prcType
|
prcType:row.prcType,
|
||||||
|
prcId:row.prcId,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
@@ -165,7 +165,8 @@
|
|||||||
path: '/processDetails',
|
path: '/processDetails',
|
||||||
query: {
|
query: {
|
||||||
prcNum: row.prcNum,
|
prcNum: row.prcNum,
|
||||||
prcType:row.prcType
|
prcType:row.prcType,
|
||||||
|
prcId:row.prcId,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
@@ -163,7 +163,8 @@
|
|||||||
path: '/processDetails',
|
path: '/processDetails',
|
||||||
query: {
|
query: {
|
||||||
prcNum: row.prcNum,
|
prcNum: row.prcNum,
|
||||||
prcType:row.prcType
|
prcType:row.prcType,
|
||||||
|
prcId:row.prcId,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(newUrl.href, '_blank')
|
window.open(newUrl.href, '_blank')
|
||||||
|
|||||||
Reference in New Issue
Block a user