This commit is contained in:
2026-01-14 17:37:48 +08:00
parent 6994b66692
commit 50835f8a9c
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,40 @@
<template>
<div>
<el-dialog class="steps-dialog" title="上报分局" @close="dialogForm = false" :close-on-click-modal="false" v-model="dialogForm" width="420px">
<el-form ref="formRef" :model="formdata" :rules="rules">
<el-form-item label="上报分局">
<MOSTY.Department width="100%" clearable v-model="formdata.ssbmdm" />
</el-form-item>
<div class="flex just-center">
<el-button @click="dialogForm = false">取消</el-button>
<el-button type="primary" @click="submitForm">上报</el-button>
</div>
</el-form>
</el-dialog>
</div>
</template>
<script setup>
import { ElMessage } from "element-plus";
import * as MOSTY from "@/components/MyComponents/index";
import { ref, defineExpose } from 'vue';
const dialogForm = ref(false);
const formdata = ref({})
const init = (row) => {
formdata.value.id = row.id;
dialogForm.value = true;
}
const submitForm = () => {
dialogForm.value = false;
formdata.value = {}
ElMessage({ message: '开发中', type: 'info', })
}
defineExpose({
init
})
</script>
<style scoped lang="scss">
</style>

View File

@ -19,6 +19,7 @@
</template> </template>
<!-- 操作 --> <!-- 操作 -->
<template #controls="{ row }"> <template #controls="{ row }">
<el-link type="primary" link @click="dendDep(row)">上报分局</el-link>
<el-link type="primary" link @click="onBatchAudit('detail', row)">详情</el-link> <el-link type="primary" link @click="onBatchAudit('detail', row)">详情</el-link>
</template> </template>
</MyTable> </MyTable>
@ -29,6 +30,8 @@
</div> </div>
<!-- 新增 --> <!-- 新增 -->
<AddForm ref="addFormRef" @refresh="getList" :dic="{D_BZ_WHCD}"></AddForm> <AddForm ref="addFormRef" @refresh="getList" :dic="{D_BZ_WHCD}"></AddForm>
<!-- 审核流程 -->
<Steps ref="RefSteap" ></Steps>
</div> </div>
</template> </template>
@ -38,13 +41,16 @@ import MyTable from "@/components/aboutTable/MyTable.vue";
import Pages from "@/components/aboutTable/Pages.vue"; import Pages from "@/components/aboutTable/Pages.vue";
import Search from "@/components/aboutTable/Search.vue"; import Search from "@/components/aboutTable/Search.vue";
import AddForm from "./components/addForm.vue"; import AddForm from "./components/addForm.vue";
import Steps from "./components/steps.vue";
import {getItem} from '@/utils/storage.js' import {getItem} from '@/utils/storage.js'
import { qcckPost } from "@/api/qcckApi.js"; import { qcckPost } from "@/api/qcckApi.js";
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue"; import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const { D_BZ_WHCD,D_BA_SPZT } = proxy.$dict("D_BZ_WHCD",'D_BA_SPZT'); const { D_BZ_WHCD,D_BA_SPZT } = proxy.$dict("D_BZ_WHCD",'D_BA_SPZT');
const RefSteap = ref();
const addFormRef = ref(); const addFormRef = ref();
const shForm = ref();
const searchBox = ref(); //搜索框 const searchBox = ref(); //搜索框
const selectedRows = ref([]); const selectedRows = ref([]);
const searchConfiger = ref([ const searchConfiger = ref([
@ -132,6 +138,10 @@ const onBatchAudit = (type, row) => {
}; };
// 详情
const dendDep = (row) => {
RefSteap.value.init(row);
};
// 表格高度计算 // 表格高度计算