|
|
@ -197,18 +197,18 @@
|
|
|
|
<script setup lang="ts">
|
|
|
|
<script setup lang="ts">
|
|
|
|
import {DICT_TYPE, getDictLabel, getStrDictOptions} from "@/utils/dict";
|
|
|
|
import {DICT_TYPE, getDictLabel, getStrDictOptions} from "@/utils/dict";
|
|
|
|
import {dateFormatter, formatDate} from "@/utils/formatTime";
|
|
|
|
import {dateFormatter, formatDate} from "@/utils/formatTime";
|
|
|
|
import {useCommonStateWithOut} from "@/store/modules/common";
|
|
|
|
|
|
|
|
import {ref} from "vue";
|
|
|
|
import {ref} from "vue";
|
|
|
|
import * as ProcessDesignApi from "@/api/heli/processdesign";
|
|
|
|
import * as ProcessDesignApi from "@/api/heli/processdesign";
|
|
|
|
import { inject } from 'vue'
|
|
|
|
import { inject } from 'vue'
|
|
|
|
import {useUserStore} from "@/store/modules/user";
|
|
|
|
import {useUserStore} from "@/store/modules/user";
|
|
|
|
|
|
|
|
import {useCommonStore} from "@/store/modules/common";
|
|
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'ProcessDesignDetail' })
|
|
|
|
defineOptions({ name: 'ProcessDesignDetail' })
|
|
|
|
|
|
|
|
|
|
|
|
const reload = inject('reload')
|
|
|
|
const reload = inject('reload')
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
const message = useMessage() // 消息弹窗
|
|
|
|
const message = useMessage() // 消息弹窗
|
|
|
|
const commonStore = useCommonStateWithOut()
|
|
|
|
const commonStore = useCommonStore()
|
|
|
|
const userStore = useUserStore()
|
|
|
|
const userStore = useUserStore()
|
|
|
|
const router = useRouter()
|
|
|
|
const router = useRouter()
|
|
|
|
|
|
|
|
|
|
|
@ -313,6 +313,7 @@ const goback = () => {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
onMounted(() => {
|
|
|
|
|
|
|
|
console.log(commonStore.getStore("active"))
|
|
|
|
dialogTitle.value = t('action.' + active.value)
|
|
|
|
dialogTitle.value = t('action.' + active.value)
|
|
|
|
if ('detail' == active.value) {
|
|
|
|
if ('detail' == active.value) {
|
|
|
|
detailDisabled.value = true
|
|
|
|
detailDisabled.value = true
|
|
|
|