|
@@ -18,26 +18,34 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-form-item label="是否拆分:" prop="splitType">
|
|
|
- <el-radio-group v-model="hgxform.splitType" :disabled="!action">
|
|
|
- <el-radio label="0" size="large">是</el-radio>
|
|
|
- <el-radio label="1" size="large">否</el-radio>
|
|
|
+ <el-radio-group
|
|
|
+ v-model="hgxform.splitType"
|
|
|
+ :disabled="!action"
|
|
|
+ @change="radioChange"
|
|
|
+ >
|
|
|
+ <el-radio :label="0" size="large">是</el-radio>
|
|
|
+ <el-radio :label="1" size="large">否</el-radio>
|
|
|
</el-radio-group>
|
|
|
- <div class="splitbtns" v-if="!hgxform.splitType">
|
|
|
+ <div class="splitbtns" v-if="!hgxform.splitType && action">
|
|
|
<el-button type="primary">上传拆分数据</el-button>
|
|
|
<el-button type="primary">在线拆分</el-button>
|
|
|
<el-button type="primary">清除</el-button>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
+ <!-- v-if="!hgxform.splitType" -->
|
|
|
<tablePage
|
|
|
- v-if="!hgxform.splitType"
|
|
|
:cloumn="VoHeader"
|
|
|
:table="{ total: 20, data: hgxform.hgxVoList }"
|
|
|
:indexed="false"
|
|
|
:check="false"
|
|
|
layout=""
|
|
|
>
|
|
|
- <template #action="{ row, $index }">
|
|
|
- <el-select v-model="row.decide" placeholder="请选择">
|
|
|
+ <template #decide="{ row }">
|
|
|
+ <el-select
|
|
|
+ v-model="row.decide"
|
|
|
+ placeholder="请选择"
|
|
|
+ :disabled="!action"
|
|
|
+ >
|
|
|
<el-option
|
|
|
v-for="dict in hgx_decide"
|
|
|
:key="dict.value"
|
|
@@ -57,26 +65,35 @@
|
|
|
}"
|
|
|
value-key="deptId"
|
|
|
check-strictly
|
|
|
+ :disabled="!action"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <template #vnotes="{ row }">
|
|
|
+ <el-input
|
|
|
+ v-model="row.notes"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ :disabled="!action"
|
|
|
/>
|
|
|
</template>
|
|
|
<template #vaction="{ row }">
|
|
|
<span class="usable" @click="fly(row)">定位</span>
|
|
|
</template>
|
|
|
</tablePage>
|
|
|
- <el-form-item label="判定结论:" prop="decide" :disabled="!action">
|
|
|
+ <!-- <el-form-item label="判定结论:" prop="decide" :disabled="!action">
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
label="违法类型/合法情形:"
|
|
|
prop="decideType"
|
|
|
:disabled="!action"
|
|
|
>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> t-->
|
|
|
<el-form-item label=""> </el-form-item>
|
|
|
- <el-form-item label="其他说明:" prop="notes" :disabled="!action">
|
|
|
+ <el-form-item label="其他说明:" prop="notes">
|
|
|
<el-input
|
|
|
v-model="hgxform.notes"
|
|
|
- type="textarea"
|
|
|
+ ype="textarea"
|
|
|
placeholder="请输入内容"
|
|
|
+ :disabled="!action"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="附件材料:">
|
|
@@ -120,21 +137,21 @@
|
|
|
|
|
|
<script setup name="details">
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
-
|
|
|
import { hgxinfo, hgxDkjbxx } from "@/api/rsmonitoring/dkjbxx";
|
|
|
-const emit = defineEmits(["reset"]);
|
|
|
+
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
+const { hgx_decide } = proxy.useDict("hgx_decide");
|
|
|
const uploadFileUrl = ref(
|
|
|
import.meta.env.VITE_APP_BASE_API + "/file/upload/v1"
|
|
|
);
|
|
|
const headers = ref({ Authorization: "Bearer " + getToken() });
|
|
|
const VoHeader = ref([
|
|
|
- { label: "图斑支号", prop: "sort", align: "center" },
|
|
|
+ { label: "图斑支号", prop: "sort", align: "center", width: "80px" },
|
|
|
{ label: "面积(亩)", prop: "area", width: "80px" },
|
|
|
{ label: "合法性判定", slot: "decide", width: "120px" },
|
|
|
- { label: "违法类型/合法情形", slot: "decideType", width: "120px" },
|
|
|
- { label: "说明", prop: "notes", width: "120px" },
|
|
|
- { label: "操作", slot: "vaction", width: "120px", align: "center" },
|
|
|
+ { label: "违法类型/合法情形", slot: "decideType", width: "150px" },
|
|
|
+ { label: "说明", slot: "vnotes" },
|
|
|
+ { label: "操作", slot: "vaction", width: "80px", align: "center" },
|
|
|
]);
|
|
|
const fileHeader = ref([
|
|
|
{ label: "文件名称", prop: "fjName", align: "center" },
|
|
@@ -150,6 +167,7 @@ const resultdata = reactive({
|
|
|
});
|
|
|
|
|
|
const { open, action, diatitle, hgxform } = toRefs(resultdata);
|
|
|
+const emit = defineEmits(["reset"]);
|
|
|
function moreAct(actitem, infoObj) {
|
|
|
diatitle.value = `合法性判定结果`;
|
|
|
open.value = true;
|
|
@@ -181,7 +199,10 @@ function operate(infoObj, aStep) {
|
|
|
// hgxform.value = res.data || {};
|
|
|
// });
|
|
|
}
|
|
|
-
|
|
|
+function radioChange(val) {
|
|
|
+ hgxform.value.hgxVoList = [];
|
|
|
+ if (val == "1") hgxform.value.hgxVoList = [{ decide: "", decideType: "" }];
|
|
|
+}
|
|
|
// 审核;
|
|
|
function submitForm() {
|
|
|
if (!action.value) {
|