zhanghua
2024-11-25 efa31c94b13ec01c7ba4de8535b3c11a1f51a4a2
src/views/process/deployManagement.vue
@@ -12,8 +12,8 @@
            <div>
                <label>版本</label>
                <el-select v-model="searchParams.latest" size="small">
                    <el-option label="只看新版本" value="true"></el-option>
                    <el-option label="全部版本" value="false"></el-option>
                    <el-option label="只看新版本" :value="true"></el-option>
                    <el-option label="全部版本" :value="false"></el-option>
                </el-select>
            </div>
            <div>
@@ -153,7 +153,7 @@
            searchParams: {
                key: "",
                name: "",
                latest: "true",
                latest: true,
                orderByColumn: "processSort",
                isAsc: "asc",
                pageNum: 1,
@@ -199,19 +199,20 @@
        reset() {
            this.searchParams.key = "";
            this.searchParams.name = "";
            this.searchParams.latest = "true";
            this.searchParams.latest = true;
            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;