增加流程配置 增加流程中心接口

This commit is contained in:
zhoulingpo
2023-04-20 14:07:09 +08:00
parent 56714eaa95
commit 812e7bc8fb
12 changed files with 210 additions and 190 deletions
@@ -29,8 +29,10 @@
</template>
<script>
import ProcessMixin from "../../../components/ProcessMixin";
export default {
name: "gencyProcess",
mixins:[ProcessMixin],
data() {
return {
q:{
@@ -38,32 +40,7 @@ export default {
pageSize:10
},
total: 0,
tableData: [
{
processId: "2016-05-1",
processName: "王小虎",
processPerson: "上海市普陀区金沙江路 1518 弄",
createTime: "2023-1-1",
},
{
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:{
@@ -74,16 +51,18 @@ export default {
},
watch: {
firstData(newValue, oldValue) {
this.tableData=newValue
}
},
mounted () {
this.$bus.$on('getSearchItem',(data)=>{
console.log('11',data)
});
this.search()
this.loadData()
},
methods: {
methods: {
loadData() {
this.$api.processCenter.gencyProcessPage({...this.q,...this.searchForm}).then(res=>{
this.tableData = res.data.list
this.total = res.count
})
},
// 单页数据量
handleSizeChange(val) {
this.q.pageSize = val;