无人机管理后台前端(已迁走)
张含笑
2025-05-14 061065346bff7f41183637870b020fa457630f53
feat:智飞工单权限管理
1 files modified
27 ■■■■ changed files
src/views/wel/components/backlog.vue 27 ●●●● patch | view | raw | blame | history
src/views/wel/components/backlog.vue
@@ -94,19 +94,6 @@
    return statusMapColor[statusIndex]?.color || '#999';
  }
};
const isDataReady = computed(() => {
  return userInfo.value.detail?.areaCode && permission.value.o_and_m_p_jump;
});
const autoFetchData = () => {
  if (isDataReady.value) {
    getListMatter();
  }
};
watch(
  () => [userInfo.value.detail?.areaCode, permission.value.o_and_m_p_jump],
  () => autoFetchData(),
  { immediate: true }
);
const getListMatter = async () => {
  loading.value = true;
  try {
@@ -121,6 +108,20 @@
    }
  } catch (error) {}
};
const isDataReady = computed(() => {
  return userInfo.value.detail?.areaCode && permission.value.o_and_m_p_jump;
});
const autoFetchData = () => {
  if (isDataReady.value) {
    getListMatter();
  }
};
watch(
  () => [userInfo.value.detail?.areaCode, permission.value.o_and_m_p_jump],
  () => autoFetchData(),
  { immediate: true }
);
const jumporder = val => {
  if (permission.value.o_and_m_p_jump === true) {
    const id = val.id;