Skip to content

Commit

Permalink
wedpr-web增加mpc,sql文档跳转 (WeBankBlockchain#202)
Browse files Browse the repository at this point in the history
* wedpr-web更新结果获取

* wedpr-web增加mpc,sql文档跳转

---------

Co-authored-by: flyhuang <[email protected]>
  • Loading branch information
huangfei1994 and flyhuang authored Dec 13, 2024
1 parent 816d344 commit 98c3fd4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions wedpr-web/src/views/leadMode/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
<formCard style="width: 870px" key="SQL" class="sql-card" title="编写SQL语句" v-if="selectedAlg.value === jobEnum.SQL">
<el-form-item label="" prop="sql" label-width="0">
<div class="sql-container">
<div class="lead"><img src="~Assets/images/icon_guide.png" /> 语法指引及示例下载</div>
<div class="lead" @click="goLead"><img src="~Assets/images/icon_guide.png" /> 语法指引及示例下载</div>
<div class="modify-container">
<editorCom v-model="jobSettingForm.sql" lang="sql" />
</div>
Expand All @@ -274,7 +274,7 @@
<formCard style="width: 870px" key="Python" class="sql-card" title="编写Python语句" v-if="selectedAlg.value === jobEnum.MPC">
<el-form-item label="" prop="python" label-width="0">
<div class="sql-container">
<div class="lead"><img src="~Assets/images/icon_guide.png" /> 语法指引及示例下载</div>
<div class="lead" @click="goLead"><img src="~Assets/images/icon_guide.png" /> 语法指引及示例下载</div>
<div class="modify-container">
<editorCom v-model="jobSettingForm.python" lang="python" />
</div>
Expand Down Expand Up @@ -621,6 +621,9 @@ export default {
}
},
methods: {
goLead() {
window.open('https://wedpr-document.readthedocs.io/zh-cn/latest/docs/manual/wepdr_mpc_dev.html')
},
// 根据ids获取数据集详情 来回显
async getListDetail(params) {
const datasetIdList = params.map((v) => v.datasetID)
Expand Down

0 comments on commit 98c3fd4

Please sign in to comment.