gaoluyang
18 小时以前 f0485e3c276ccdfb5aad33b19a00406a55d5d075
src/pages/cooperativeOffice/collaborativeApproval/detail.vue
@@ -182,11 +182,8 @@
      form.value.approveUserName = userStore.nickName
      form.value.approveTime = getCurrentDate();
      
      // 获取URL参数
      const pages = getCurrentPages();
      const currentPage = pages[pages.length - 1];
      const options = currentPage && currentPage.options ? currentPage.options : {};
      operationType.value = options.operationType || 'add';
      // 从本地存储获取参数
      operationType.value = uni.getStorageSync('operationType') || 'add';
      
      // 如果是编辑模式,从本地存储获取数据
      if (operationType.value === 'edit') {
@@ -251,6 +248,7 @@
const goBack = () => {
   // 清除本地存储的数据
  uni.removeStorageSync('operationType');
   uni.removeStorageSync('invoiceLedgerEditRow');
  uni.navigateBack();
};
@@ -329,8 +327,9 @@
const addApprover = (stepIndex) => {
  // 跳转到联系人选择页面
  uni.setStorageSync('stepIndex', stepIndex);
  uni.navigateTo({
    url: `/pages/cooperativeOffice/collaborativeApproval/contactSelect?stepIndex=${stepIndex}`
    url: "/pages/cooperativeOffice/collaborativeApproval/contactSelect"
  });
};