|
@@ -6,7 +6,7 @@
|
|
|
</BasicTable>
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
-import { defineComponent, onMounted, ref, h, computed } from 'vue';
|
|
|
+import { defineComponent, onMounted, ref, h, onActivated, computed } from 'vue';
|
|
|
import { PageWrapper } from '/@/components/Page';
|
|
|
import {
|
|
|
BasicTable,
|
|
@@ -98,7 +98,7 @@ export default defineComponent({
|
|
|
dataIndex: 'payStatus',
|
|
|
width: 100,
|
|
|
customRender: ({ record }) => {
|
|
|
- return record.payType == 0 ? '未支付' : record.payType == 1 ? '已支付' : '支付失败';
|
|
|
+ return record.payStatus == 0 ? '未支付' : record.payStatus == 1 ? '已支付' : '支付失败';
|
|
|
},
|
|
|
},
|
|
|
];
|
|
@@ -170,6 +170,9 @@ export default defineComponent({
|
|
|
...record,
|
|
|
});
|
|
|
}
|
|
|
+ onActivated(()=>{
|
|
|
+ reload();
|
|
|
+ })
|
|
|
function handleExport() {
|
|
|
createConfirm({
|
|
|
iconType: 'warning',
|