|
@@ -11,15 +11,16 @@
|
|
|
:buttonType="false"
|
|
|
@formChange="formChange"
|
|
|
></FormItemComponent>
|
|
|
- <StandardTable
|
|
|
- class="table"
|
|
|
+ <StandardTabletwo
|
|
|
+ class="table tabgeu"
|
|
|
:currentPage="searchData.page"
|
|
|
:pageSize="searchData.pageSize"
|
|
|
:total="total"
|
|
|
:columns="columns"
|
|
|
:data="data"
|
|
|
:standardTableEvent="standardTableEvent"
|
|
|
- ></StandardTable>
|
|
|
+ style="height: 400px;"
|
|
|
+ ></StandardTabletwo>
|
|
|
<Modal
|
|
|
v-model="openControl"
|
|
|
:title="modaltitle"
|
|
@@ -58,9 +59,11 @@
|
|
|
<script>
|
|
|
import FormItemComponent from "../FormItemComponent";
|
|
|
import ItemComponent from "../ItemComponent";
|
|
|
-import StandardTable from "../StandardTable";
|
|
|
+import StandardTabletwo from "../StandardTabletwo";
|
|
|
import mutipleSelectPop from "../MutipleSelectPop/index.vue";
|
|
|
import FlowChartShow from "../FlowChartShow";
|
|
|
+// import { mapState } from "vuex";
|
|
|
+// import { mapMutations } from "vuex";
|
|
|
import {
|
|
|
addGendefini,
|
|
|
addGendefiniqur,
|
|
@@ -70,7 +73,7 @@ export default {
|
|
|
name: "TodoProcess",
|
|
|
components: {
|
|
|
FormItemComponent,
|
|
|
- StandardTable,
|
|
|
+ StandardTabletwo,
|
|
|
mutipleSelectPop,
|
|
|
FlowChartShow,
|
|
|
|
|
@@ -258,6 +261,7 @@ export default {
|
|
|
},
|
|
|
on: {
|
|
|
click: () => {
|
|
|
+ console.log(params.row.instanceId)
|
|
|
this.modalShow = true;
|
|
|
this.instanceId = params.row.instanceId;
|
|
|
}
|
|
@@ -351,6 +355,7 @@ export default {
|
|
|
},
|
|
|
////查询
|
|
|
queryLists() {
|
|
|
+ var that = this
|
|
|
if (
|
|
|
this.searchData.createTime &&
|
|
|
this.searchData.createTime[0] &&
|
|
@@ -368,12 +373,19 @@ export default {
|
|
|
}
|
|
|
let obj = Object.assign({}, this.searchData);
|
|
|
delete obj.createTime;
|
|
|
+ var that = this
|
|
|
addGendefiniqur(obj).then(res => {
|
|
|
- if (res.data.resultCode === 0) {
|
|
|
- let data = res.data.data;
|
|
|
- this.total = data.total;
|
|
|
- this.data = data.records;
|
|
|
+ console.log(res.resultCode)
|
|
|
+ // that.data = res.data.records
|
|
|
+ if (res.resultCode === 0) {
|
|
|
+ console.log(1)
|
|
|
+ // let data = res.data.data;
|
|
|
+ this.total = res.total;
|
|
|
+ this.data = res.data.records;
|
|
|
+ console.log(res.data.records,23456)
|
|
|
+ // console.log(this.data,2345)
|
|
|
}
|
|
|
+ console.log(this.data,2345)
|
|
|
});
|
|
|
},
|
|
|
formChange(data) {
|
|
@@ -476,7 +488,11 @@ export default {
|
|
|
this.getselectOption();
|
|
|
this.queryLists();
|
|
|
},
|
|
|
- mounted() {}
|
|
|
+ mounted() {
|
|
|
+ // this.getselectOption();
|
|
|
+ // this.queryLists();
|
|
|
+ console.log(this.searchData,8765)
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss">
|
|
@@ -499,6 +515,9 @@ export default {
|
|
|
.table {
|
|
|
flex: 1;
|
|
|
}
|
|
|
+ .tabgeu{
|
|
|
+ height: 400px !important;
|
|
|
+ }
|
|
|
}
|
|
|
.modalCotent {
|
|
|
.burgeon-tree {
|