增加流程配置 增加流程中心接口
This commit is contained in:
@@ -40,8 +40,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ProcessMixin from "../../../components/ProcessMixin";
|
||||
export default {
|
||||
name: "sentProcess",
|
||||
mixins: [ProcessMixin],
|
||||
data() {
|
||||
return {
|
||||
color: 'rgb(236, 128, 141)',
|
||||
@@ -51,33 +53,7 @@ export default {
|
||||
pageSize: 10
|
||||
},
|
||||
total: 0,
|
||||
tableData: [
|
||||
{
|
||||
processId: "2016-05-1",
|
||||
processName: "王小虎",
|
||||
processPerson: "上海市普陀区金沙江路 1518 弄",
|
||||
createTime: "2023-1-1",
|
||||
status: '已完成'
|
||||
},
|
||||
{
|
||||
processId: "2016-05-2",
|
||||
processName: "王小虎",
|
||||
processPerson: "上海市普陀区金沙江路 1518 弄",
|
||||
createTime: "2023-1-2",
|
||||
},
|
||||
{
|
||||
processId: "2016-05-3",
|
||||
processName: "王小虎",
|
||||
processPerson: "上海市普陀区金沙江路 1518 弄",
|
||||
createTime: "2023-1-3",
|
||||
},
|
||||
{
|
||||
processId: "2016-05-4",
|
||||
processName: "王小虎",
|
||||
processPerson: "上海市普陀区金沙江路 1518 弄",
|
||||
createTime: "2023-1-4",
|
||||
},
|
||||
],
|
||||
tableData: []
|
||||
};
|
||||
},
|
||||
props: {
|
||||
@@ -86,17 +62,17 @@ export default {
|
||||
default: [],
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
thirdData(newValue, oldValue) {
|
||||
this.tableData = newValue
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$bus.$on('getSearchItem', (data) => {
|
||||
console.log('33', data)
|
||||
});
|
||||
mounted () {
|
||||
this.search()
|
||||
this.loadData()
|
||||
},
|
||||
methods: {
|
||||
loadData() {
|
||||
this.$api.processCenter.sentProcessPage({...this.q,...this.searchForm}).then(res=>{
|
||||
this.tableData = res.data.list
|
||||
this.total = res.count
|
||||
})
|
||||
},
|
||||
// 单页数据量
|
||||
handleSizeChange(val) {
|
||||
this.q.pageSize = val;
|
||||
|
||||
Reference in New Issue
Block a user