| | |
| | | <a @tap="classAttr_extButton(index,iindex)"><i |
| | | class="ace-icon fa fa-plus-circle"></i></a> |
| | | </div> |
| | | <input |
| | | <input |
| | | :type="attr.Type=='整数' || attr.Type=='浮点数' || attr.Type=='int' || attr.Type=='float'?'number':'text'" |
| | | :value="attr.Value" @focus="ontap" @blur="onevent" v-if="attr.Height=='1'" |
| | | :class="attr.edit?'':'input-disabled'" :value="attr.Value" @focus="ontap" @blur="onevent" v-if="attr.Height=='1'" |
| | | :data-index="index" :data-iindex="iindex" :style="{'width':attr.Width}" |
| | | :disabled="attr.edit?false:true"> |
| | | <!-- =='flase'?true:false --> |
| | | <textarea :value="attr.Value" @focus="ontap" @blur="onevent" v-else-if="attr.Height=='2'" |
| | | :data-index="index" :data-iindex="iindex" style="height:60px;" |
| | | :class="attr.edit?'':'input-disabled'" :data-index="index" :data-iindex="iindex" style="height:60px;" |
| | | :style="{'width':attr.Width}" :disabled="attr.edit?false:true"></textarea> |
| | | <textarea :value="attr.Value" @focus="ontap" @blur="onevent" v-else-if="attr.Height=='3'" |
| | | :data-index="index" :data-iindex="iindex" style="height:90px;" |
| | | :class="attr.edit?'':'input-disabled'" :data-index="index" :data-iindex="iindex" style="height:90px;" |
| | | :style="{'width':attr.Width}" :disabled="attr.edit?false:true"></textarea> |
| | | <!-- 扫码后事件返回 --> |
| | | <div class="input_vallist"> |
| | |
| | | <p class="tx_title2" :style="{'width':classattr.title_p_wdith+'%'}">{{attr.DispName}}:</p> |
| | | <input |
| | | :type="attr.Type=='整数' || attr.Type=='浮点数' || attr.Type=='int' || attr.Type=='float' ?'number':'text'" |
| | | class="attr_field" :value="attr.Value" @focus="ontap" @blur="onevent" |
| | | class="attr_field" :class="attr.edit?'':'input-disabled'" :value="attr.Value" @focus="ontap" @blur="onevent" |
| | | v-if="attr.Height=='1'" :data-index="index" :data-iindex="iindex" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) - (attr.ext_button==true?9:0) +'%'}" |
| | | :disabled="attr.edit?false:true"> |
| | | <textarea class="attr_field" :value="attr.Value" @focus="ontap" @blur="onevent" |
| | | <textarea class="attr_field" :class="attr.edit?'':'input-disabled'" :value="attr.Value" @focus="ontap" @blur="onevent" |
| | | v-else-if="attr.Height=='2'" :data-index="index" :data-iindex="iindex" |
| | | style="height:60px;" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) - (attr.ext_button==true?9:0) +'%'}" |
| | | :disabled="attr.edit?false:true"></textarea> |
| | | <textarea class="attr_field" :value="attr.Value" @focus="ontap" @blur="onevent" |
| | | <textarea class="attr_field" :class="attr.edit?'':'input-disabled'" :value="attr.Value" @focus="ontap" @blur="onevent" |
| | | v-else-if="attr.Height=='3'" :data-index="index" :data-iindex="iindex" |
| | | style="height:90px;" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) - (attr.ext_button==true?9:0) +'%'}" |
| | |
| | | </view> |
| | | <view v-if="classattr.control_style=='左右布局'"> |
| | | <p class="tx_title2" :style="{'width':classattr.title_p_wdith+'%'}">{{attr.DispName}}:</p> |
| | | <input type="text" class="attr_field" :data-index="index" :data-iindex="iindex" |
| | | <input type="text" class="attr_field" :class="attr.edit?'':'input-disabled'" :data-index="index" :data-iindex="iindex" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) - 9 +'%'}" |
| | | disabled="true" :maxlength="-1"> |
| | | <div class="text-right2" v-if="attr.Type=='引用对象(单个)'|| attr.Type=='obj-ref'"> |
| | |
| | | <a class="class_attr_add_per" @tap="classAttr_AddPer(index,iindex)"><i |
| | | class="ace-icon fa fa-plus-circle"></i></a> |
| | | </div> |
| | | <input type="text" :value="attr.Value" :style="{'width':attr.Width}" disabled="true" |
| | | <input type="text" :class="attr.edit?'':'input-disabled'" :value="attr.Value" :style="{'width':attr.Width}" disabled="true" |
| | | :maxlength="-1"> |
| | | </view> |
| | | <view v-if="classattr.control_style=='左右布局'"> |
| | | <p class="tx_title2" :style="{'width':classattr.title_p_wdith+'%'}">{{attr.DispName}}:</p> |
| | | <input type="text" class="attr_field" :value="attr.Value" |
| | | <input type="text" class="attr_field" :class="attr.edit?'':'input-disabled'" :value="attr.Value" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) - 9 +'%'}" |
| | | disabled="true" :maxlength="-1"> |
| | | <div class="text-right2"> |
| | |
| | | <a href="#" class="class_attr_add_prj" @tap="classAttr_AddPrj(index,iindex)"><i |
| | | class="ace-icon fa fa-plus-circle"></i></a> |
| | | </div> |
| | | <input type="text" :value="attr.Value" :style="{'width':attr.Width}" disabled="true" |
| | | <input type="text" :class="attr.edit?'':'input-disabled'" :value="attr.Value" :style="{'width':attr.Width}" disabled="true" |
| | | :maxlength="-1"> |
| | | </view> |
| | | <view v-if="classattr.control_style=='左右布局'"> |
| | | <p class="tx_title2" :style="{'width':classattr.title_p_wdith+'%'}">{{attr.DispName}}:</p> |
| | | <input type="text" class="attr_field" :value="attr.Value" |
| | | <input type="text" class="attr_field" :class="attr.edit?'':'input-disabled'" :value="attr.Value" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) - 9 +'%'}" |
| | | disabled="true" :maxlength="-1"> |
| | | <div class="text-right2"> |
| | |
| | | <view v-if="classattr.control_style=='上下布局'"> |
| | | <text class="tx_title">{{attr.DispName}}:<i class="i_tishi" |
| | | v-if="attr.notempty==true">*</i></text> |
| | | <input type="text" :data-index="index" :data-iindex="iindex" :style="{'width':attr.Width}" |
| | | <input type="text" :class="attr.edit?'':'input-disabled'" :data-index="index" :data-iindex="iindex" :style="{'width':attr.Width}" |
| | | :disabled="attr.edit?false:true" :maxlength="-1"> |
| | | </view> |
| | | <view v-if="classattr.control_style=='左右布局'"> |
| | | <p class="tx_title2" :style="{'width':classattr.title_p_wdith+'%'}">{{attr.DispName}}:</p> |
| | | <input type="text" class="attr_field" :data-index="index" :data-iindex="iindex" |
| | | <input type="text" class="attr_field" :class="attr.edit?'':'input-disabled'" :data-index="index" :data-iindex="iindex" |
| | | :style="{'width': attr.Width.split('%')[0] - classattr.title_p_wdith - (attr.notempty==true?10:5) +'%'}" |
| | | :disabled="attr.edit?false:true" :maxlength="-1"> |
| | | <i class="i_tishi" v-if="attr.notempty==true">*</i> |
| | |
| | | |
| | | </view> |
| | | |
| | | <view class="v-bottom"><button type="primary" @tap="ok" class="btn_add">{{title}}</button> |
| | | <view class="v-bottom"><button type="default" @tap="ok" class="btn_add">{{title}}</button> |
| | | <button type="default" @tap="cancel" class="btn_cancel">{{translateSys('cancel')}}</button> |
| | | |
| | | </view> |
| | |
| | | <uni-popup class="view-popup" ref="popup" background-color="#fff" @change="popupChange"> |
| | | <view class="popup-header">{{check_list.title}}</view> |
| | | <view class="popup-content" :class="{ 'popup-height': popupType === 'left' || popupType === 'right' }" |
| | | :style="{'width':check_list.width?check_list.width+'px':'200px','height':check_list.height?check_list.height+'px':'88%'}"> |
| | | <view class="popup-cont" :style="{'height':check_list.height?check_list.height-45+'px':'415px'}"> |
| | | :style="{'width':check_list.width?check_list.width+'px':'375rpx','height':check_list.height?check_list.height+'px':popupType =='center'?'60vh':'88vh'}"> |
| | | <view class="popup-cont" |
| | | :style="{'height':check_list.height?check_list.height-45+'px':popupType =='center'?'50vh':'80vh'}"> |
| | | <view class="view_popup_CheckList" v-for="(item,index) in check_list.items"> |
| | | <checkbox-group class="check_list" @change="checkChange" :data-ischeck="item.check" |
| | | :data-index="index" :style="{'margin-left': '10rpx'}"> |
| | |
| | | title: this.translateSys('tip'), |
| | | content: this.translate('function_not_edit_dlg'), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | uni.navigateBack({ |
| | | delta: 1, //返回层数,2则上上页 |
| | |
| | | title: this.translateSys('tip'), |
| | | content: this.translate('function_not_edit_dlg'), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | uni.navigateBack({ |
| | | delta: 1, //返回层数,2则上上页 |
| | |
| | | title: this.translateSys('error') + " 1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys("cancel") |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | }, |
| | |
| | | title: this.translateSys('error') + " 1.3", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return [] |
| | | } |
| | |
| | | title: this.translateSys('error') + " 1.4", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | }, |
| | |
| | | title: this.translateSys("error"), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys("cancel") |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | }, |
| | |
| | | title: this.translateSys('tip'), |
| | | content: this.translate('no_find_attr_diaplay'), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | } catch (ex) { |
| | |
| | | title: this.translateSys("error"), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys("cancel") |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | }, |
| | |
| | | title: this.translateSys('tip'), |
| | | content: this.translate("icon_click_event_empty"), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return; |
| | | } |
| | |
| | | title: this.translateSys('tip'), |
| | | content: this.translate("icon_click_event_empty"), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return; |
| | | } |
| | |
| | | title: this.translateSys('tip'), |
| | | content: "popupParam为空!", |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return; |
| | | } |
| | |
| | | title: this.translateSys('tip'), |
| | | content: this.translateSys('unrealized'), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | // var value=this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].RelCls[e.target.value]; |
| | | // this.$data.classAttrList[e.target.dataset['index']].Attr[e.target.dataset['iindex']].Value=value; |
| | |
| | | .translateSys('quotation_mark_right') + this.translate( |
| | | "cannot_empty"), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return; |
| | | } |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | else uni.showModal({ |
| | | title: this.translateSys('tip'), |
| | | content: tip + ',' + this.translateSys('tip') + ':' + data |
| | | .ret, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return false |
| | | } else { |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | uni.showToast({ |
| | | title: this.translate('create_success'), |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | }); |
| | | } catch (ex) { |
| | |
| | | title: this.translateSys('error') + " 4.1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | }, |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | else uni.showModal({ |
| | | title: this.translateSys('tip'), |
| | | content: tip + ',' + this.translateSys('tip') + ':' + data |
| | | .ret, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return false |
| | | } else { |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | |
| | | if (data.action) { |
| | |
| | | .translate( |
| | | "tip_action_unprocessed"), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | // else if (action_type == 'tip_dlg') { |
| | |
| | | title: this.translateSys('error') + " 2.1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | else uni.showModal({ |
| | | title: this.translateSys('tip'), |
| | | content: tip + ',' + this.translateSys('tip') + ':' + data |
| | | .ret, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return false |
| | | } else { |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | |
| | | var actionlist = data.action; |
| | |
| | | title: this.translateSys('error') + " 3.1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | else uni.showModal({ |
| | | title: this.translateSys('tip'), |
| | | content: tip + ',' + this.translateSys('tip') + ':' + data |
| | | .ret, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return false |
| | | } else { |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | |
| | | var result = data.result; |
| | |
| | | title: this.translateSys('error') + " 4.1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | }); |
| | | } catch (ex) { |
| | |
| | | title: this.translateSys('error') + " 4.1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | }, |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | else uni.showModal({ |
| | | title: this.translateSys('tip'), |
| | | content: tip + ',' + this.translateSys('tip') + ':' + data |
| | | .ret, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | return false |
| | | } else { |
| | |
| | | title: this.translateSys('tip'), |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | |
| | | if (data != "") { |
| | |
| | | title: this.translateSys('tip') + "5.2", |
| | | content: this.translate("execute_script_return_empty"), |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | } |
| | | } |
| | |
| | | title: this.translateSys('tip') + "5.1", |
| | | content: tip, |
| | | showCancel: false, |
| | | confirmText: this.translateSys('cancel') |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | right: 30rpx; |
| | | font-size: 60rpx; |
| | | } |
| | | |
| | | .input-disabled { |
| | | background-color: #f3f3f3 !important; |
| | | } |
| | | input::-webkit-input-placeholder { |
| | | font-size: 12rpx; |
| | | } |
| | |
| | | margin-top: 50rpx; |
| | | padding: 20rpx; |
| | | line-height: 1.5; |
| | | // background: #fff; |
| | | // border: 1px solid #dcdee2; |
| | | // color: #000; |
| | | background: #fff; |
| | | border: none; |
| | | color: #000; |
| | | font-size: 38rpx; |
| | | font-weight: bold; |
| | |
| | | .popup-footer { |
| | | float: right; |
| | | position: absolute; |
| | | bottom: 0; |
| | | bottom: 10rpx; |
| | | right: 20rpx; |
| | | } |
| | | |
| | |
| | | margin-top: 50rpx; |
| | | padding: 15rpx; |
| | | line-height: 1.5; |
| | | background: #27A6E1; |
| | | border: none; |
| | | color: #fff; |
| | | // background: #27A6E1; |
| | | // border: none; |
| | | // color: #fff; |
| | | background: #fff; |
| | | color: #000; |
| | | font-size: 38rpx; |
| | | font-weight: bold; |
| | | /* float: right; */ |