| | |
| | | }, |
| | | stopLose: { |
| | | tip: "模板只有发布状态才能被使用,是否确定停用?", |
| | | typeText: "停用/失效", |
| | | typeText: "停用", |
| | | funAPi: stopLose, |
| | | load: 'stopLoseLoad' |
| | | }, |
| | | startRelease: { |
| | | tip: "是否确定启用/发布这个模板,模板只有发布状态才能被使用,是否继续?", |
| | | typeText: "启用/发布", |
| | | typeText: "启用", |
| | | funAPi: startRelease, |
| | | load: 'startReleaseLoad' |
| | | } |
| | |
| | | const masterParameter={ |
| | | 'conditionMap[name]':this.SelectFInd |
| | | } |
| | | this.btmdefaultRend(masterParameter) |
| | | this.SelectValue="" |
| | | this.SelectFInd="" |
| | | this.btmdefaultRend(masterParameter); |
| | | this.SelectValue=""; |
| | | this.SelectFInd=""; |
| | | } |
| | | }, |
| | | //业务类型多选 |
| | |
| | | //业务类型接口 |
| | | btmdefaultRend(masterParameter){ |
| | | referDataGrid({valueField:'id',isMuti:'false',...masterParameter}).then(res=>{ |
| | | // console.log(res) |
| | | this.BtmData=res.data.data.records |
| | | }) |
| | | }, |
| | | //子传父 |
| | | MasterHandler(val){ |
| | | this.TreeList=val |
| | | this.TreeList=val; |
| | | }, |
| | | //行单选事件 |
| | | selectHandle(selection,row){ |
| | | this.crudOid=row.oid; |
| | | this.crudLCStatus=row.lcStatus; |
| | | this.crudArray=selection; |
| | | gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': this.Formlist[0].oid}).then(res => { |
| | | gridCodeClassifyTemplateAttr({'conditionMap[classifyTemplateOid]': row.oid}).then(res => { |
| | | this.ProData = res.data.data; |
| | | }).catch(res => { |
| | | this.$message.error(res) |