|
@@ -174,6 +174,7 @@
|
|
|
>
|
|
|
</div>
|
|
|
<shdialog ref="shdiaRef"></shdialog>
|
|
|
+ <hgxdialog ref="hgxdiaRef"></hgxdialog>
|
|
|
<tjdialog ref="tjdiaRef"></tjdialog>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -181,6 +182,7 @@
|
|
|
<script setup name="details">
|
|
|
import Hcxx from "./hcxx.vue";
|
|
|
import shdialog from "./components/shdialog.vue";
|
|
|
+import hgxdialog from "./components/hgxdialog.vue";
|
|
|
import tjdialog from "./components/tjdialog.vue";
|
|
|
import { getDetailsDk } from "@/api/rsmonitoring/dataEntry";
|
|
|
import { getDkjbxx, getAuditflow, getStep } from "@/api/rsmonitoring/dkjbxx";
|
|
@@ -202,6 +204,7 @@ const formde = ref(route.query.form == "dataEntry");
|
|
|
const props = defineProps({});
|
|
|
let nowObj = {};
|
|
|
const shdiaRef = ref(null);
|
|
|
+const hgxdiaRef = ref(null);
|
|
|
const tjdiaRef = ref(null);
|
|
|
|
|
|
const data = reactive({
|
|
@@ -243,7 +246,7 @@ function getDetails({ pcsjid, id }) {
|
|
|
}
|
|
|
function moreAct(actitem) {
|
|
|
if (actitem.auditflowOperateType == "001")
|
|
|
- shdiaRef.value.moreAct(actitem, infoObj.value);
|
|
|
+ hgxdiaRef.value.moreAct(actitem, infoObj.value);
|
|
|
else if (actitem.auditflowOperateType == "002")
|
|
|
shdiaRef.value.moreAct(actitem, infoObj.value);
|
|
|
else if (actitem.auditflowOperateType == "003")
|
|
@@ -252,12 +255,8 @@ function moreAct(actitem) {
|
|
|
|
|
|
function operate(oname) {
|
|
|
let aStep = route.query.dataType + oname;
|
|
|
- if (oname == "SH") {
|
|
|
- shdiaRef.value.operate(infoObj.value, aStep);
|
|
|
- } else if (oname == "HGX")
|
|
|
- scDkjbxx(pram).then((res) => {
|
|
|
- resultform.value = res.data || {};
|
|
|
- });
|
|
|
+ if (oname == "SH") shdiaRef.value.operate(infoObj.value, aStep);
|
|
|
+ else if (oname == "HGX") hgxdiaRef.value.operate(infoObj.value, aStep);
|
|
|
else if (oname == "TJ") tjdiaRef.value.operate(infoObj.value, aStep);
|
|
|
}
|
|
|
|