|
|
@@ -33,7 +33,7 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
- <kt-common-table :showBatchDelete="false" :showSysUserAccountCardList="true" :showBatchPrint="false"
|
|
|
+ <kt-common-table :showBatchDelete="false" keyName="id" :isNotFixed="true" :showSysUserAccountCardList="false" :summation = 'summationData' :showSummation="true"
|
|
|
:showOperation="true" :data="pageResult" :columns="columns" @findPage="queryBalance" :isshowpagination="true"
|
|
|
button2Name="提现" button3Name="绑卡" button2Background="#409eff" button3Background="#409eff"
|
|
|
@handleButton2="withdrawButton" @handleButton3="withdrawButton2" @handleBreak="handleBreak"
|
|
|
@@ -109,6 +109,7 @@
|
|
|
import KtCommonTable from "@/views/Core/KtCommonTable.vue";
|
|
|
import tree from "@/components/ztree.vue"; // 机构树组件
|
|
|
import { withdraw } from "../../../http/moudules/dept";
|
|
|
+import {querySum} from "../../../http/moudules/task";
|
|
|
export default {
|
|
|
components: {
|
|
|
KtCommonTable,
|
|
|
@@ -116,6 +117,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ summationData: {}, // 合计
|
|
|
// 轨迹
|
|
|
dialogVisibleLine: false,
|
|
|
timeLine: [],
|
|
|
@@ -284,6 +286,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.changeTreeWidth(240); // 初始化树的宽度
|
|
|
+ this.queryCount()
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
@@ -415,6 +418,14 @@ export default {
|
|
|
this.pageRequest.deptId = "";
|
|
|
}
|
|
|
},
|
|
|
+ queryCount() {
|
|
|
+ this.$api.task.querySum({
|
|
|
+ ...this.pageRequest
|
|
|
+ }).then(res => {
|
|
|
+ console.log(123123123, res.data)
|
|
|
+ this.summationData = res.data
|
|
|
+ })
|
|
|
+ },
|
|
|
queryBalance(data) {
|
|
|
if (data && data.pageRequest) {
|
|
|
this.pageRequest.pageNum = data.pageRequest.pageNum;
|