| | |
| | | <template> |
| | | <template> |
| | | <basic-container> |
| | | <avue-tabs :option="Taboption" @change="handleChange"></avue-tabs> |
| | | <span v-if="type.prop==='tab1'"> |
| | | <attrCrud :ProData="ProData" :btnAuthList="btnAuthList" :crudOid="crudOid" :checkStatus="checkStatus" :crudLCStatus="crudLCStatus" :crudArray="crudArray" :Formlist="Formlist" :codeClassifyOid="codeClassifyOid"></attrCrud> |
| | | <attrCrud :Formlist="Formlist" :ProData="ProData" :btnAuthList="btnAuthList" :checkStatus="checkStatus" |
| | | :codeClassifyOid="codeClassifyOid" :crudArray="crudArray" :crudLCStatus="crudLCStatus" |
| | | :crudOid="crudOid"></attrCrud> |
| | | </span> |
| | | <span v-else-if="type.prop==='tab2'"> |
| | | <FlowPath ref="FlowPath" :code="this.crudOid" :checkStatus="checkStatus" :crudLCStatus="crudLCStatus" :Formlist="Formlist"></FlowPath> |
| | | <FlowPath ref="FlowPath" :Formlist="Formlist" :checkStatus="checkStatus" :code="this.crudOid" |
| | | :crudLCStatus="crudLCStatus"></FlowPath> |
| | | </span> |
| | | <span v-else-if="type.prop==='tab3'"> |
| | | <stage ref="stage" :code="this.crudOid" :Formlist="Formlist"></stage> |
| | | <stage ref="stage" :Formlist="Formlist" :code="this.crudOid"></stage> |
| | | </span> |
| | | </basic-container> |
| | | |
| | |
| | | <script> |
| | | export default { |
| | | name: "TemplatePro.vue", |
| | | props: ['ProData','crudOid','crudLCStatus','crudArray','Formlist','codeClassifyOid','rowIndex','crudArrayFlag','btnAuthList'], |
| | | props: ['ProData', 'crudOid', 'crudLCStatus', 'crudArray', 'Formlist', 'codeClassifyOid', 'rowIndex', 'crudArrayFlag', 'btnAuthList'], |
| | | data: function () { |
| | | return { |
| | | type: {}, |
| | |
| | | prop: 'tab3', |
| | | }] |
| | | }, |
| | | checkStatus:false,//是否需要验证模板状态,false为关闭权限 |
| | | checkStatus: false,//是否需要验证模板状态,false为关闭权限 |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | this.type = this.Taboption.column[0]; |
| | | this.type.prop = "tab1"; |
| | | }, |
| | | watch:{ |
| | | }, |
| | | watch: {}, |
| | | methods: { |
| | | // Tab栏切换 |
| | | handleChange(column) { |