lcw
This commit is contained in:
@ -61,18 +61,11 @@ import FeedbackDialog from "./components/FeedbackDialog.vue";
|
||||
import { getItem } from '@//utils/storage.js'
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { D_BZ_YPFS, D_BZ_YPLX } = proxy.$dict("D_BZ_YPFS", "D_BZ_YPLX")
|
||||
const detailDiloag = ref();
|
||||
const searchBox = ref(); //搜索框
|
||||
const userInfo = ref()
|
||||
onMounted(() => {
|
||||
userInfo.value = getItem('deptId')[0]
|
||||
tabHeightFn()
|
||||
if (route.query.id) {
|
||||
detailDiloag.value.init('edit', {
|
||||
id: route.query.id
|
||||
});
|
||||
return
|
||||
}
|
||||
getList()
|
||||
});
|
||||
|
||||
@ -149,8 +142,13 @@ const tabHeightFn = () => {
|
||||
};
|
||||
};
|
||||
const route = useRoute()
|
||||
|
||||
const addForm = ref(null)
|
||||
watch(() => route.query.id, (val) => {
|
||||
console.log('val: ', val);
|
||||
if (val) {
|
||||
addForm.value.init('detail', {id:val}, '01');
|
||||
}
|
||||
},{deep:true});
|
||||
const feedbackDialog = ref(false)
|
||||
const currentFeedbackRow = ref({})
|
||||
const getDataById = (type, row) => {
|
||||
|
||||
Reference in New Issue
Block a user