| | |
| | | |
| | | <template> |
| | | <view class="content"> |
| | | |
| | | |
| | | <view class="v-area" v-for="(classattr,index) in classAttrList"> |
| | | <div class="class_attr_title"> |
| | | <div class="title_line"></div> |
| | |
| | | </div> |
| | | |
| | | |
| | | <button type="default" @tap="sava" class="btn_add">新增</button> |
| | | <button type="default" @tap="sava" class="btn_add">{{title}}</button> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | } |
| | | }, |
| | | onLoad(options) { |
| | | // console.log(options); |
| | | this.$data.title = options.titlename; //设置按钮文字 |
| | | uni.setNavigationBarTitle({ title: options.titlename}); //设置顶部标题 |
| | | var param = JSON.parse(options.param); |
| | | // console.log(param); |
| | | if(!param.EditDlgMode){ |
| | | uni.showModal({title:"提示",content:"该功能点未配置编辑窗口,请重新配置!",showCancel:false,confirmText:"取消"}); |
| | | return; |
| | | } |
| | | if(!param.Edit_dlg.Name){ |
| | | uni.showModal({title:"提示",content:"该功能点未配置窗口样式,请重新配置!",showCancel:false,confirmText:"取消"}); |
| | | return; |
| | | } |
| | | this.$data.param = param; |
| | | var edit_dlg = { |
| | | Model: param.EditDlgMode, |