对接握手流程
修改文档库详情的标注分解单的显隐
This commit is contained in:
@@ -245,7 +245,7 @@
|
|||||||
<a class="text" @click="download(record)">
|
<a class="text" @click="download(record)">
|
||||||
{{$t('download')}}
|
{{$t('download')}}
|
||||||
</a>
|
</a>
|
||||||
<a class="text" @click="breakdown(record)">
|
<a class="text" @click="breakdown(record)" v-if="record.splitFlag == 1">
|
||||||
{{$t('StandardBreakdown')}}
|
{{$t('StandardBreakdown')}}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -348,7 +348,7 @@
|
|||||||
clickButtonToUpload(item) {
|
clickButtonToUpload(item) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.visibleFile = true
|
this.visibleFile = true
|
||||||
getAction('sys/common/getFileInfos', { id: item.join(',') }).then((res) => {
|
getAction('document/bussDocumentLibraryEO/getFileInfos', { id: item.join(',') }).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.dataSourceFile = res.result
|
this.dataSourceFile = res.result
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|||||||
@@ -46,14 +46,15 @@
|
|||||||
title: this.$t('monitoringProcess'),
|
title: this.$t('monitoringProcess'),
|
||||||
name: 'MonitorProcess'
|
name: 'MonitorProcess'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: this.$t('draft'),
|
// title: this.$t('draft'),
|
||||||
name: 'TaskDraft'
|
// name: 'TaskDraft'
|
||||||
},
|
// },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
callback(key) {
|
callback(key) {
|
||||||
|
|||||||
@@ -85,7 +85,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('ProcessingTime'),
|
title: this.$t('ProcessingTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'ProcessingTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
@@ -143,10 +143,10 @@
|
|||||||
},
|
},
|
||||||
// 打开查看
|
// 打开查看
|
||||||
classAdd(row) {
|
classAdd(row) {
|
||||||
this.$router.push({
|
// this.$router.push({
|
||||||
path: '/handshakeProcess',
|
// path: '/handshakeProcess',
|
||||||
query: row
|
// query: row
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
@@ -11,6 +11,12 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
|
<span slot="prcType" slot-scope="text,record">
|
||||||
|
{{prcTypeName[text]}}
|
||||||
|
</span>
|
||||||
|
<span slot="isEnd" slot-scope="text,record">
|
||||||
|
{{text && text == 0 ? '未完成':'已完成'}}
|
||||||
|
</span>
|
||||||
<span slot="operation" slot-scope="record">
|
<span slot="operation" slot-scope="record">
|
||||||
<a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a>
|
<a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -43,12 +49,16 @@
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
prcTypeName: {
|
||||||
|
1: '任务确认流程'
|
||||||
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('ProcessType'),
|
title: this.$t('ProcessType'),
|
||||||
dataIndex: 'prcType',
|
dataIndex: 'prcType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'prcType' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Sponsor'),
|
title: this.$t('Sponsor'),
|
||||||
@@ -79,7 +89,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('CompletionTime'),
|
title: this.$t('CompletionTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'CompletionTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: function(t, r, index) {
|
customRender: function(t, r, index) {
|
||||||
@@ -90,7 +100,8 @@
|
|||||||
title: this.$t('ProcessStatus'),
|
title: this.$t('ProcessStatus'),
|
||||||
dataIndex: 'isEnd',
|
dataIndex: 'isEnd',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'isEnd' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('cutoffTime'),
|
title: this.$t('cutoffTime'),
|
||||||
|
|||||||
@@ -11,6 +11,9 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
|
<span slot="prcType" slot-scope="text,record">
|
||||||
|
{{prcTypeName[text]}}
|
||||||
|
</span>
|
||||||
<span slot="operation" slot-scope="record">
|
<span slot="operation" slot-scope="record">
|
||||||
<a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a>
|
<a @click="classAdd(record)" style="margin-right:8px">{{$t('See')}}</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -43,12 +46,16 @@
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
prcTypeName: {
|
||||||
|
1: '任务确认流程'
|
||||||
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('ProcessType'),
|
title: this.$t('ProcessType'),
|
||||||
dataIndex: 'prcType',
|
dataIndex: 'prcType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'prcType' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Sponsor'),
|
title: this.$t('Sponsor'),
|
||||||
@@ -79,7 +86,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('CompletionTime'),
|
title: this.$t('CompletionTime'),
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'CompletionTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
customRender: function(t, r, index) {
|
customRender: function(t, r, index) {
|
||||||
|
|||||||
@@ -11,6 +11,9 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
>
|
>
|
||||||
|
<span slot="prcType" slot-scope="text,record">
|
||||||
|
{{prcTypeName[text]}}
|
||||||
|
</span>
|
||||||
<span slot="operation" slot-scope="record">
|
<span slot="operation" slot-scope="record">
|
||||||
<a @click="dealWith(record)" style="margin-right:8px">{{$t('Processing')}}</a>
|
<a @click="dealWith(record)" style="margin-right:8px">{{$t('Processing')}}</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -43,6 +46,9 @@
|
|||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
prcTypeName: {
|
||||||
|
1: '任务确认流程'
|
||||||
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('RelatedItems'),
|
title: this.$t('RelatedItems'),
|
||||||
@@ -66,7 +72,8 @@
|
|||||||
title: this.$t('ProcessType'),
|
title: this.$t('ProcessType'),
|
||||||
dataIndex: 'prcType',
|
dataIndex: 'prcType',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true
|
ellipsis: true,
|
||||||
|
scopedSlots: { customRender: 'prcType' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('Sponsor'),
|
title: this.$t('Sponsor'),
|
||||||
|
|||||||
Reference in New Issue
Block a user