缴费接口,视频仲裁接口联调完善

This commit is contained in:
Your Name
2023-09-22 13:50:23 +08:00
parent 24fcd4d10a
commit a4614b8b46
6 changed files with 90 additions and 24 deletions
@@ -37,7 +37,11 @@
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" v-if="flag == 0" class="endbutton"
<el-button
type="primary"
@click="submitForm"
v-if="flag == 0"
class="endbutton"
>确认已缴费</el-button
>
<el-button @click="cancel" class="endbutton1">取 消</el-button>
@@ -47,8 +51,9 @@
</template>
<script>
import { confirmPay } from "@/api/pay/pay";
export default {
props: ["openDialog", "title", "flag", "detailform"],
props: ["openDialog", "title", "flag", "detailform", "getList"],
data() {
return {
// key: value
@@ -68,7 +73,17 @@ export default {
},
},
methods: {
submitForm() {},
// 确认缴费
submitForm() {
confirmPay({ id: this.form.id }).then((res) => {
this.$message({
message: "确认成功",
type: "success",
});
});
this.cancel();
this.getList();
},
cancel() {
this.$emit("cancelpaymentdetails");
},
@@ -123,6 +123,7 @@
:detailform="detailform"
:title="title"
:flag="flag"
:getList="getList"
@cancelpaymentdetails="cancelpaymentdetails"
></paymentdetailsDialog>
</div>