xiangpei
2024-11-25 a68ba1749991285e226868922f90d80c30855f8b
模型、部署管理bug修改
3个文件已修改
17 ■■■■ 已修改文件
src/utils/common.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/process/deployManagement.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/process/modelManagement.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/common.js
@@ -18,7 +18,7 @@
    return queryStr.slice(1);
}
function openWindow(path) {
    const prefix = process.env.VUE_APP_TAB_URL_PREFIX;
    const prefix = process.env.VUE_APP_FLOWABLE_PREFIX;
    window.open(prefix + "" + path);
}
@@ -53,7 +53,7 @@
function normalizeDateTimeString(rawDatatimeStr) {
    function genNumStr(num) {
        return Number(num) < 10 ? "0" + num : ("" + num)
        return Number(num) < 10 ? "0" + num : ("" + num)
    }
    if (rawDatatimeStr) {
        const dateObj = new Date(rawDatatimeStr);
@@ -76,4 +76,4 @@
    openWindow,
    listToTree,
    normalizeDateTimeString
};
};
src/views/process/deployManagement.vue
@@ -203,15 +203,16 @@
            this.getListAndRenderByParams(this.searchParams)
        },
        handleDefinition(index, row) {
            const {deploymentId, resourceName} = row;
            const path = `/flow/manage/showProcessDefinition/${deploymentId}/${resourceName}`
            let {deploymentId, resourceName} = row;
            resourceName = encodeURIComponent(resourceName)
            const path = `/flow/manage/showProcessDefinition/${deploymentId}?resource=${resourceName}`
            commonHelper.openWindow(path);
        },
        handleProcess(index, row) {
            const {id} = row;
            console.log("id是多少", id);
            const path = `/flow/manage/showresource?pdid=${id}`;
            commonHelper.openWindow(path);
            const path = process.env.VUE_APP_FLOWABLE_PREFIX + `/flow/manage/showresource?pdid=${id}`;
            window.open(path)
        },
        handleExchange(index, row) {
            const {id} = row;
src/views/process/modelManagement.vue
@@ -171,7 +171,7 @@
    },
    handleDesign(index, row) {
      // flowable改变设计的路径
      const path = process.env.VUE_APP_FLOWABLE_PREFIX + "/designer/index.html#/editor/" + row.id;
      const path = process.env.VUE_APP_FLOWABLE_PREFIX  + "/designer/index.html#/editor/" + row.id;
      // const path = "/editor?modelId=" + row.id;
      window.open(path, '')
    },