开庭方式接口联调,书面审理页面开发
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
>
|
||||
<div class="radiobox">
|
||||
<el-radio-group v-model="radio">
|
||||
<el-radio :label="1">书面审理</el-radio>
|
||||
<el-radio :label="2">开庭审理</el-radio>
|
||||
<el-radio :label="2">书面审理</el-radio>
|
||||
<el-radio :label="1">开庭审理</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
|
||||
@@ -24,18 +24,32 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { arbitrateMethod } from "@/api/caseManagement/caseManagement.js";
|
||||
export default {
|
||||
name: "showchoosetrialmethodDialog",
|
||||
props: ["showchoosetrialmethod"],
|
||||
props: ["showchoosetrialmethod", "choosetrialmethodata"],
|
||||
data() {
|
||||
return {
|
||||
// key: value
|
||||
radio: 1,
|
||||
radio: 2,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
// 提交开庭方式
|
||||
submitForm() {},
|
||||
// 提交开庭方式 arbitrateMethod
|
||||
submitForm() {
|
||||
let paramsdata = {
|
||||
arbitratMethod: this.radio,
|
||||
};
|
||||
let id = {
|
||||
id: this.choosetrialmethodata.id,
|
||||
};
|
||||
arbitrateMethod(paramsdata, id)
|
||||
.then((res) => {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.cancel();
|
||||
this.$emit("getcaseApply");
|
||||
})
|
||||
.catch((err) => {});
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelshowchoosetrialMethod");
|
||||
},
|
||||
@@ -44,7 +58,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.radiobox{
|
||||
margin-left: 5%;
|
||||
.radiobox {
|
||||
margin-left: 5%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user