|
@@ -66,16 +66,39 @@
|
|
|
</el-tabs>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="核查信息" name="hcxx" v-if="!formde">
|
|
|
- 共3次外业核查
|
|
|
+ 共{{ hcxxList.length }}次外业核查
|
|
|
<el-collapse v-model="hcxxtab" @change="handleChange">
|
|
|
<el-collapse-item v-for="(hcit, hi) in hcxxList" :key="hi" name="1">
|
|
|
<template #title>
|
|
|
- 核查时间:{{ hcit.time }} 核查人员:{{ hcit.name }}
|
|
|
+ 核查时间:{{ hcit.createTime }} 核查人员:{{ hcit.createBy }}
|
|
|
</template>
|
|
|
<div></div>
|
|
|
<div>
|
|
|
- <Hcxx @updateParent="changeData" :jcbh="11"></Hcxx>
|
|
|
+ <Hcxx ref="hcxxRef" @updateParent="changeData" :jcbh="11"></Hcxx>
|
|
|
</div>
|
|
|
+ <el-descriptions :column="1">
|
|
|
+ <el-descriptions-item label="实际地类">
|
|
|
+ {{ hcit.dlmc }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="核查初判">
|
|
|
+ {{ hgx_decide.find((h) => h.value == hcit.decide).label }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="其它材料">
|
|
|
+ <div class="imgList">
|
|
|
+ <div class="imgDiv" v-for="(item, i) in hcit.fjs" :key="i">
|
|
|
+ <span>{{ i + 1 }}</span>
|
|
|
+ <img :src="item.fjPreview" />
|
|
|
+ <p>{{ item.fjDatetime }}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="其它说明">
|
|
|
+ {{ hcit.notes }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item label="数字签名">
|
|
|
+ <img :src="hcit.fjPreview" />
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
</el-collapse-item>
|
|
|
</el-collapse>
|
|
|
</el-tab-pane>
|
|
@@ -168,6 +191,7 @@ import {
|
|
|
getDkjbywy,
|
|
|
getAuditflow,
|
|
|
getStep,
|
|
|
+ getHcInfo,
|
|
|
} from "@/api/rsmonitoring/dkjbxx";
|
|
|
|
|
|
import {
|
|
@@ -179,6 +203,7 @@ import {
|
|
|
stbhTable,
|
|
|
audiText,
|
|
|
} from "./config";
|
|
|
+import { nextTick } from "vue";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const route = useRoute();
|
|
@@ -189,16 +214,18 @@ let nowObj = {};
|
|
|
const shdiaRef = ref(null);
|
|
|
const hgxdiaRef = ref(null);
|
|
|
const tjdiaRef = ref(null);
|
|
|
+const hcxxRef = ref(null);
|
|
|
|
|
|
const data = reactive({
|
|
|
activeName: "jbxx",
|
|
|
infoObj: { name: "swed" },
|
|
|
- hcxxList: [{}],
|
|
|
+ hcxxtab: 0,
|
|
|
+ hcxxList: [],
|
|
|
activities: [],
|
|
|
});
|
|
|
const steps = ref([]);
|
|
|
-
|
|
|
-const { activeName, infoObj, hcxxList, activities } = toRefs(data);
|
|
|
+const { hgx_decide } = proxy.useDict("hgx_decide");
|
|
|
+const { activeName, infoObj, hcxxtab, hcxxList, activities } = toRefs(data);
|
|
|
const sheetdata = reactive({
|
|
|
ywyptab: "1",
|
|
|
sheets: [],
|
|
@@ -209,7 +236,7 @@ const sheetdata = reactive({
|
|
|
|
|
|
const { ywyptab, sheets, open, diatitle, sheetinfos } = toRefs(sheetdata);
|
|
|
|
|
|
-function handleClick({ id }) {
|
|
|
+function handleClick({ id, auditflowId }) {
|
|
|
if (formde.value) {
|
|
|
getDetailsDk(id).then((res) => {
|
|
|
infoObj.value = res.data;
|
|
@@ -228,6 +255,12 @@ function handleClick({ id }) {
|
|
|
getAuditflow({ dkjdxxId: id }).then((res) => {
|
|
|
activities.value = res.data;
|
|
|
});
|
|
|
+ getHcInfo({ dkid: id, auditflowStep: "WYDC", auditflowId }).then((res) => {
|
|
|
+ hcxxList.value = res.data;
|
|
|
+ nextTick(() => {
|
|
|
+ hcxxRef.value[0].init(hcxxList.value[0].sdfjs);
|
|
|
+ });
|
|
|
+ });
|
|
|
}
|
|
|
getStep({ dkjdxxId: id }).then((res) => {
|
|
|
steps.value = res.data;
|
|
@@ -238,12 +271,12 @@ function todetails(row) {
|
|
|
diatitle.value = row.swid + "详情";
|
|
|
sheetinfos.value = JSON.parse(row.sheetJson);
|
|
|
}
|
|
|
-function getDetails({ pcsjid, id }) {
|
|
|
+function getDetails({ pcsjid, id, auditflowId }) {
|
|
|
activeName.value = "jbxx";
|
|
|
infoObj.value = {};
|
|
|
activities.value = [];
|
|
|
// nowObj = { pcsjid, id };
|
|
|
- handleClick({ pcsjid, id });
|
|
|
+ handleClick({ pcsjid, id, auditflowId });
|
|
|
}
|
|
|
function moreAct(actitem) {
|
|
|
if (actitem.auditflowOperateType == "001")
|
|
@@ -277,6 +310,41 @@ defineExpose({ getDetails });
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .imgList {
|
|
|
+ .imgDiv {
|
|
|
+ width: 126px;
|
|
|
+ height: 83px;
|
|
|
+ margin-right: 10px;
|
|
|
+ // background-color: rgba(0, 255, 255, 0.413);
|
|
|
+ position: relative;
|
|
|
+ margin: 4px 4px;
|
|
|
+ img {
|
|
|
+ width: 126px;
|
|
|
+ height: 83px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ width: 26px;
|
|
|
+ height: 26px;
|
|
|
+ display: inline-block;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ background: #dbad70;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 26px;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ font-size: 10px;
|
|
|
+ color: #33ccff;
|
|
|
+ text-align: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
.timelinediv {
|
|
|
.name {
|
|
|
color: #95f204;
|