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