| | |
| | | :style="{'background-color':app.bk_color,'color':app.bk_color}"> |
| | | <i :class="app.img_font_style" :style="{'color':app.txt_color}"></i> |
| | | </a> |
| | | <p :data-key="app.id">{{ app.name || app.list_name}}</p> |
| | | <p :data-key="app.id">{{ app.list_name|| app.name}}</p> |
| | | </li> |
| | | |
| | | </ul> |
| | |
| | | // console.log(success); |
| | | if (success.code == '00000' || success.err_code == 0) { |
| | | this.data = success.data; |
| | | |
| | | if (success.err_code != undefined) { //判断是否是Mobox3 |
| | | success.result.forEach(async (area, index) => { |
| | | if (area.client_type == 2) { //判断类型是否是PDA类型 |
| | |
| | | if (success.err_code == 0) { |
| | | if ((success.result || []).length > 0) { |
| | | $this.data.push(success.result[0]); |
| | | console.log("onLoad",$this.data ) |
| | | this.$store.commit("areaFunc", $this.data); |
| | | } |
| | | |
| | |
| | | appCreate(app) { //点击功能点跳转页面 |
| | | console.log(app); |
| | | var paramStr = this.$store.state.OIMoboxSAPI ? app.param : app.Param; |
| | | var appName = this.$store.state.OIMoboxSAPI ? (app.name || app.list_name) : app.Name; |
| | | var appName = this.$store.state.OIMoboxSAPI ? (app.list_name || app.name ) : app.Name; |
| | | var defCode = this.$store.state.OIMoboxSAPI ? app.def_code : app.DefCode; |
| | | var param = ""; |
| | | if (paramStr) { |
| | |
| | | //mobox3的param是base64字符串 |
| | | if (!paramStr.includes('"')) param = Base64.decode(paramStr); |
| | | } |
| | | |
| | | |
| | | if (!param) { |
| | | uni.showModal({ |
| | | title: this.translateSys("tip"), |