预告警单工作流基础版本
This commit is contained in:
@@ -35,11 +35,11 @@
|
||||
</template>
|
||||
<script setup lang='ts'>
|
||||
import { onMounted, ref } from 'vue'
|
||||
|
||||
defineOptions({ name: 'QuitRunningDeviceDetail' })
|
||||
import { useRoute } from 'vue-router'
|
||||
import { propTypes } from '@/utils/propTypes'
|
||||
import { getRunningDeviceById } from '@/api/supervision-boot/device/quitRunningDev'
|
||||
|
||||
defineOptions({ name: 'QuitRunningDeviceDetail' })
|
||||
const { query } = useRoute() // 查询参数
|
||||
|
||||
const props = defineProps({
|
||||
@@ -90,7 +90,7 @@ const getDeviceStatusType = (status: number) => {
|
||||
const getInfo = async () => {
|
||||
detailLoading.value = true
|
||||
try {
|
||||
// detailData.value = await LeaveApi.getLeave()
|
||||
|
||||
await getRunningDeviceById(props.id || queryId).then(res => {
|
||||
detailData.value = res.data
|
||||
})
|
||||
|
||||
@@ -165,7 +165,7 @@ const add = () => {
|
||||
deviceQuitPopup.value.open('新增退运')
|
||||
}
|
||||
|
||||
/** 处理审批按钮 */
|
||||
/** 流程实例详情 */
|
||||
const handleAudit = (instanceId: any) => {
|
||||
push({
|
||||
name: 'BpmProcessInstanceDetail',
|
||||
|
||||
Reference in New Issue
Block a user