ea2e8d29 by lihua

修改刷新的可能问题

1 parent c1971ca8
1 const useDataProductStore = defineStore(
2 /** 产品上架 */
3 'isRefresh',
4 () => {
5 const isRefresh = ref<boolean>(false)
6 const isRefreshDamCatalog = ref<boolean>(false)
7 function set(v: boolean) {
8 isRefresh.value = v;
9 }
10
11 function setDamCatalogRefresh(v: boolean) {
12 isRefreshDamCatalog.value = v;
13 }
14
15 return {
16 isRefreshDamCatalog,
17 isRefresh,
18 set,
19 setDamCatalogRefresh,
20 }
21 },
22 )
23
24 export default useDataProductStore
25
...\ No newline at end of file ...\ No newline at end of file
...@@ -8,7 +8,7 @@ import { useRouter, useRoute } from "vue-router"; ...@@ -8,7 +8,7 @@ import { useRouter, useRoute } from "vue-router";
8 import useUserStore from "@/store/modules/user"; 8 import useUserStore from "@/store/modules/user";
9 import { ElMessage, ElMessageBox } from "element-plus"; 9 import { ElMessage, ElMessageBox } from "element-plus";
10 10
11 import useDataAssetStore from "@/store/modules/dataAsset"; 11 import useDataProductStore from "@/store/modules/dataProductListing";
12 import { getListingList, listingDelete, listingUpdateStatus, getListingCount, productRejectFlowData } from "@/api/modules/dataProduct"; 12 import { getListingList, listingDelete, listingUpdateStatus, getListingCount, productRejectFlowData } from "@/api/modules/dataProduct";
13 import { TableColumnWidth } from '@/utils/enum'; 13 import { TableColumnWidth } from '@/utils/enum';
14 import DialogApproval from '@/components/ApprovalProcess/dialog_approval.vue'; 14 import DialogApproval from '@/components/ApprovalProcess/dialog_approval.vue';
...@@ -27,7 +27,7 @@ const { proxy } = getCurrentInstance() as any; ...@@ -27,7 +27,7 @@ const { proxy } = getCurrentInstance() as any;
27 const router = useRouter(); 27 const router = useRouter();
28 const userStore = useUserStore(); 28 const userStore = useUserStore();
29 const userData = JSON.parse(userStore.userData); 29 const userData = JSON.parse(userStore.userData);
30 const assetStore = useDataAssetStore(); 30 const assetStore = useDataProductStore();
31 31
32 const sjsLogo = new URL('@/assets/images/sjs-logo.png', import.meta.url).href 32 const sjsLogo = new URL('@/assets/images/sjs-logo.png', import.meta.url).href
33 33
......
...@@ -10,7 +10,7 @@ import { useRoute } from "vue-router"; ...@@ -10,7 +10,7 @@ import { useRoute } from "vue-router";
10 import Form from "@/components/Form/index.vue"; 10 import Form from "@/components/Form/index.vue";
11 import Dialog from "@/components/Dialog/index.vue"; 11 import Dialog from "@/components/Dialog/index.vue";
12 import useUserStore from "@/store/modules/user"; 12 import useUserStore from "@/store/modules/user";
13 import useDataAssetStore from "@/store/modules/dataAsset"; 13 import useDataProductStore from "@/store/modules/dataProductListing";
14 import { changeNum } from '@/utils/common'; 14 import { changeNum } from '@/utils/common';
15 import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common'; 15 import { onUploadFilePreview, onUploadFileDownload } from '@/api/modules/common';
16 import { getAreaData, getSingleList, getParamsList } from "@/api/modules/queryService"; 16 import { getAreaData, getSingleList, getParamsList } from "@/api/modules/queryService";
...@@ -28,7 +28,7 @@ const route = useRoute(); ...@@ -28,7 +28,7 @@ const route = useRoute();
28 const userStore = useUserStore(); 28 const userStore = useUserStore();
29 const userData = JSON.parse(localStorage.userData); 29 const userData = JSON.parse(localStorage.userData);
30 const fullPath = route.fullPath; 30 const fullPath = route.fullPath;
31 const assetStore = useDataAssetStore(); 31 const assetStore = useDataProductStore();
32 const guid = route.query.guid as string; 32 const guid = route.query.guid as string;
33 const dGuid = route.query.dGuid as string; 33 const dGuid = route.query.dGuid as string;
34 const damName = route.query.name as string || ''; 34 const damName = route.query.name as string || '';
......
...@@ -64,6 +64,7 @@ const tableFields = ref([ ...@@ -64,6 +64,7 @@ const tableFields = ref([
64 { label: "签署方式", field: "signModeName", width: 120 }, 64 { label: "签署方式", field: "signModeName", width: 120 },
65 { label: "产品名称", field: "productName", width: 180 }, 65 { label: "产品名称", field: "productName", width: 180 },
66 { label: "合约编号", field: "contractId", width: 355 }, 66 { label: "合约编号", field: "contractId", width: 355 },
67 { label: "合约状态", field: "contractStatus", type: "tag", width: 96, align: 'center' },
67 { label: "发起主体", field: "tenantName", width: 205 }, 68 { label: "发起主体", field: "tenantName", width: 205 },
68 { label: "签署时间", field: "signatureTime", width: 170 } 69 { label: "签署时间", field: "signatureTime", width: 170 }
69 ]); 70 ]);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!