手机端审批历史使用公共组件
This commit is contained in:
@@ -145,65 +145,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="detailData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
@@ -358,19 +300,6 @@ export default {
|
|||||||
})
|
})
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
// loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
//tab发生变化
|
//tab发生变化
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name;
|
this.active = name;
|
||||||
@@ -562,7 +491,6 @@ export default {
|
|||||||
this.setMap(this.standStateOptions);
|
this.setMap(this.standStateOptions);
|
||||||
});
|
});
|
||||||
this.getData();
|
this.getData();
|
||||||
this.processTable();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -165,65 +165,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="histortData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
@@ -333,7 +275,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData();
|
this.getData();
|
||||||
this.processTable();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
@@ -361,19 +302,6 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//审批历史信息
|
//审批历史信息
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handleTabs(type) {
|
handleTabs(type) {
|
||||||
this.active = type;
|
this.active = type;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -165,65 +165,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="detailData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
@@ -333,7 +275,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData();
|
this.getData();
|
||||||
this.processTable();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
@@ -361,19 +302,6 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//审批历史信息
|
//审批历史信息
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handleTabs(type) {
|
handleTabs(type) {
|
||||||
this.active = type;
|
this.active = type;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -165,65 +165,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="histortData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
@@ -333,7 +275,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData();
|
this.getData();
|
||||||
this.processTable();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData() {
|
getData() {
|
||||||
@@ -361,19 +302,6 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//审批历史信息
|
//审批历史信息
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
handleTabs(type) {
|
handleTabs(type) {
|
||||||
this.active = type;
|
this.active = type;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -212,65 +212,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="detailData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
@@ -412,19 +354,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
choiceZRRS(row, index) {
|
choiceZRRS(row, index) {
|
||||||
this.selectedId = index;
|
this.selectedId = index;
|
||||||
@@ -637,7 +566,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData()
|
this.getData()
|
||||||
this.processTable()
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -212,65 +212,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="detailData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
@@ -413,19 +355,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
choiceZRRS(row, index) {
|
choiceZRRS(row, index) {
|
||||||
this.selectedId = index;
|
this.selectedId = index;
|
||||||
@@ -619,7 +548,6 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getData()
|
this.getData()
|
||||||
this.processTable()
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listNoDataText() {
|
listNoDataText() {
|
||||||
|
|||||||
@@ -179,65 +179,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<el-table
|
<Phone-histort-table :prc-num="$route.query.prcNum"></Phone-histort-table>
|
||||||
height="100%"
|
|
||||||
ref="selection"
|
|
||||||
:data="detailData"
|
|
||||||
tooltip-effect="dark"
|
|
||||||
style="width: 100%"
|
|
||||||
border
|
|
||||||
row-key="id"
|
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
|
||||||
<el-table-column
|
|
||||||
prop="name"
|
|
||||||
label="任务步骤"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="assignee"
|
|
||||||
label="任务受理人"
|
|
||||||
align="center"
|
|
||||||
width="130"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="createTime"
|
|
||||||
label="创建时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="endTime"
|
|
||||||
label="完成时间"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="comment"
|
|
||||||
label="流程信息"
|
|
||||||
width="130"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.commentText }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="completeFlag"
|
|
||||||
label="状态"
|
|
||||||
align="center">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ scope.row.endTime ? '已完成' : '未完成'}}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-transfer
|
show-transfer
|
||||||
@@ -323,23 +265,9 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.processTable();
|
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
processTable() {
|
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
|
||||||
prcNum: this.$route.query.prcNum,
|
|
||||||
sortWord: this.shunxu ? this.paixu : "",
|
|
||||||
shunxu: this.shunxu
|
|
||||||
}, {
|
|
||||||
loading: "loading",
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
this.detailData = res;
|
|
||||||
}, e => {
|
|
||||||
});
|
|
||||||
},
|
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
|
|||||||
Reference in New Issue
Block a user