|
@@ -229,9 +229,15 @@
|
|
<div class="line">
|
|
<div class="line">
|
|
<span>变动原因: </span>
|
|
<span>变动原因: </span>
|
|
<el-checkbox-group v-model="data.changeReason">
|
|
<el-checkbox-group v-model="data.changeReason">
|
|
- <el-checkbox :value="0" label="事主进入" />
|
|
|
|
|
|
+ <el-checkbox
|
|
|
|
+ v-for="reason in ChangeReasonType"
|
|
|
|
+ :value="reason.id"
|
|
|
|
+ :label="reason.name"
|
|
|
|
+ >
|
|
|
|
+ </el-checkbox>
|
|
|
|
+ <!-- <el-checkbox :value="0" label="事主进入" />
|
|
<el-checkbox :value="1" label="报案人进入" />
|
|
<el-checkbox :value="1" label="报案人进入" />
|
|
- <el-checkbox :value="2" label="其他" />
|
|
|
|
|
|
+ <el-checkbox :value="2" label="其他" /> -->
|
|
</el-checkbox-group>
|
|
</el-checkbox-group>
|
|
<el-input
|
|
<el-input
|
|
class="input"
|
|
class="input"
|
|
@@ -541,7 +547,7 @@ import {
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
import saveAs from "@/util/file-serve";
|
|
import saveAs from "@/util/file-serve";
|
|
import { CirclePlus, CircleClose } from "@element-plus/icons-vue";
|
|
import { CirclePlus, CircleClose } from "@element-plus/icons-vue";
|
|
-import { recorderInfoType } from "./formData.ts";
|
|
|
|
|
|
+import { recorderInfoType, ChangeReasonType } from "./formData.ts";
|
|
import { confirm } from "@/helper/message";
|
|
import { confirm } from "@/helper/message";
|
|
const props = defineProps({ caseId: Number, title: String });
|
|
const props = defineProps({ caseId: Number, title: String });
|
|
|
|
|
|
@@ -591,7 +597,7 @@ const data = reactive({
|
|
|
|
|
|
witnessInfo: [],
|
|
witnessInfo: [],
|
|
|
|
|
|
- remark: [],
|
|
|
|
|
|
+ remark: '',
|
|
});
|
|
});
|
|
const signatureInfoNum = 4;
|
|
const signatureInfoNum = 4;
|
|
const witnessInfoNum = 2;
|
|
const witnessInfoNum = 2;
|
|
@@ -681,6 +687,8 @@ const removeWitnessInfo = async (index) => {
|
|
|
|
|
|
const handleSave = async () => {
|
|
const handleSave = async () => {
|
|
console.log("data", data);
|
|
console.log("data", data);
|
|
|
|
+
|
|
|
|
+
|
|
const res = await saveCaseInquestInfo(props.caseId, data);
|
|
const res = await saveCaseInquestInfo(props.caseId, data);
|
|
// if (res.code === 0) {
|
|
// if (res.code === 0) {
|
|
// ElMessage.success("保存成功!");
|
|
// ElMessage.success("保存成功!");
|