| | |
| | | <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> |
| | |
| | | searchParams: { |
| | | key: "", |
| | | name: "", |
| | | latest: "true", |
| | | latest: true, |
| | | orderByColumn: "processSort", |
| | | isAsc: "asc", |
| | | pageNum: 1, |
| | |
| | | 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; |