|
@@ -2202,7 +2202,7 @@ export default {
|
|
|
},
|
|
|
async setParameterName () {//设置参数名称中添加节点参数按钮
|
|
|
// wbsId: this.jiedianId
|
|
|
- this.namelists.unshift({ name: '', remark: '', k: '', type: 0, })
|
|
|
+ this.namelists.unshift({ name: '', remark: '', k: '', type: 0, })
|
|
|
},
|
|
|
async nodeInfoSave () {//节点参数弹框保存按钮
|
|
|
if (this.nodeInfoTable) {
|
|
@@ -2284,10 +2284,10 @@ export default {
|
|
|
//#region 调整表单
|
|
|
adjustExcel (pkeyId, excelId) {//调整表单
|
|
|
this.GLExcelFrom.id = pkeyId
|
|
|
- this.getExcelHtml(excelId)
|
|
|
+ this.getExcelHtml(pkeyId)
|
|
|
},
|
|
|
- async getExcelHtml (excelId) {
|
|
|
- const { data: res } = await getExcelHtml({ excelId })
|
|
|
+ async getExcelHtml (pkeyId) {
|
|
|
+ const { data: res } = await getExcelHtml({ pkeyId })
|
|
|
console.log(res);
|
|
|
if (res.code === 200) {
|
|
|
localStorage.setItem('excelHtml', res.data)
|
|
@@ -2302,7 +2302,7 @@ export default {
|
|
|
|
|
|
//#region 编辑元素
|
|
|
async rightClick (pkeyId, excelId, id, initTableName) {
|
|
|
- await this.getExcelHtml2(excelId)
|
|
|
+ await this.getExcelHtml2(pkeyId)
|
|
|
this.$router.push({
|
|
|
path: '/project/editElement',
|
|
|
query: {
|
|
@@ -2313,8 +2313,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- async getExcelHtml2 (excelId) {
|
|
|
- const { data: res } = await getExcelHtml({ excelId })
|
|
|
+ async getExcelHtml2 (pkeyId) {
|
|
|
+ const { data: res } = await getExcelHtml({ pkeyId })
|
|
|
console.log(res);
|
|
|
if (res.code === 200) {
|
|
|
localStorage.setItem('editElement', res.data)
|