bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<uni-card
|
<uni-card
|
||||||
:title="device.equipmentName"
|
:title="device.equipmentName"
|
||||||
:sub-title="device.mac"
|
:sub-title="device.mac"
|
||||||
:extra="device.isPrimaryUser == 1 ? '主用户' : '子用户'"
|
:extra="device.isPrimaryUser == 1 ? '主用户' : '分享用户'"
|
||||||
padding="0"
|
padding="0"
|
||||||
@click="jump(device)"
|
@click="jump(device)"
|
||||||
:thumbnail="deviceIcon(device.runStatus)"
|
:thumbnail="deviceIcon(device.runStatus)"
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
"name" : "灿能物联",
|
"name" : "灿能物联",
|
||||||
"appid" : "__UNI__88BC25B",
|
"appid" : "__UNI__88BC25B",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.3.8",
|
"versionName" : "1.3.9",
|
||||||
"versionCode" : 138,
|
"versionCode" : 139,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
<view style="height: 40rpx; background: #fff"></view>
|
<view style="height: 40rpx; background: #fff"></view>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
<!-- 完成调试输入框 -->
|
<!-- 完成调试输入框 -->
|
||||||
<uni-popup ref="inputDialog" type="dialog">
|
<!-- <uni-popup ref="inputDialog" type="dialog">
|
||||||
<uni-popup-dialog
|
<uni-popup-dialog
|
||||||
ref="inputClose"
|
ref="inputClose"
|
||||||
mode="input"
|
mode="input"
|
||||||
@@ -97,6 +97,15 @@
|
|||||||
@close="dialogInputClose"
|
@close="dialogInputClose"
|
||||||
@confirm="dialogInputConfirm"
|
@confirm="dialogInputConfirm"
|
||||||
></uni-popup-dialog>
|
></uni-popup-dialog>
|
||||||
|
</uni-popup> -->
|
||||||
|
<!-- 输入框示例 -->
|
||||||
|
<uni-popup ref="inputDialog" type="dialog">
|
||||||
|
<uni-popup-dialog ref="inputClose" type="info" mode="input" :title="dialogType"
|
||||||
|
value="对话框预置提示内容!"
|
||||||
|
placeholder="请输入内容" @confirm="dialogInputConfirm">
|
||||||
|
<uni-easyinput type="textarea" :maxlength="250" autoHeight v-model="remarkContent"
|
||||||
|
placeholder="请输入备注"></uni-easyinput>
|
||||||
|
</uni-popup-dialog>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -123,6 +132,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
remarkContent: '',
|
||||||
dialogType: '',
|
dialogType: '',
|
||||||
domLoading: true,
|
domLoading: true,
|
||||||
loading: true,
|
loading: true,
|
||||||
@@ -252,7 +262,7 @@ export default {
|
|||||||
if (this.dialogType == '取消调试') {
|
if (this.dialogType == '取消调试') {
|
||||||
cancelDebug({
|
cancelDebug({
|
||||||
deviceId: this.devId,
|
deviceId: this.devId,
|
||||||
remark: val,
|
remark: this.remarkContent,
|
||||||
type: Number(this.pageOptions.process),
|
type: Number(this.pageOptions.process),
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.$util.toast(res.message)
|
this.$util.toast(res.message)
|
||||||
@@ -263,7 +273,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
finishDebug({
|
finishDebug({
|
||||||
deviceId: this.devId,
|
deviceId: this.devId,
|
||||||
remark: val,
|
remark: this.remarkContent,
|
||||||
type: Number(this.pageOptions.process),
|
type: Number(this.pageOptions.process),
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
@@ -448,11 +458,11 @@ export default {
|
|||||||
text: '编辑',
|
text: '编辑',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
iconPath: '/static/delate.png',
|
iconPath: '/static/cancel.png',
|
||||||
text: '取消调试',
|
text: '取消调试',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
iconPath: '/static/delate.png',
|
iconPath: '/static/confirm.png',
|
||||||
text: '完成调试',
|
text: '完成调试',
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
<!-- <view class="mine-nav" @click="jump('user')" v-if="userInfo.authorities === 'app_vip_user'">
|
<!-- <view class="mine-nav" @click="jump('user')" v-if="userInfo.authorities === 'app_vip_user'">
|
||||||
<image mode="aspectFill" class="mine-nav-icon" src="/static/subordinate.png" />
|
<image mode="aspectFill" class="mine-nav-icon" src="/static/subordinate.png" />
|
||||||
<view class="mine-nav-label">子用户列表</view>
|
<view class="mine-nav-label">分享用户列表</view>
|
||||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view
|
<view
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
<view class="mine-nav" @click="jump('engineering')">
|
<view class="mine-nav" @click="jump('engineering')">
|
||||||
<image mode="aspectFill" class="mine-nav-icon" src="/static/project.png" />
|
<image mode="aspectFill" class="mine-nav-icon" src="/static/gongcheng.png" />
|
||||||
<view class="mine-nav-label">工程管理</view>
|
<view class="mine-nav-label">工程管理</view>
|
||||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -3,13 +3,13 @@
|
|||||||
<view slot='body'>
|
<view slot='body'>
|
||||||
<view class='index'>
|
<view class='index'>
|
||||||
<uni-list>
|
<uni-list>
|
||||||
<uni-list-item title="张三申请成为您的子用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
<uni-list-item title="张三申请成为您的分享用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<view class="footer-btn mt20" style="background:#e47470" @click="del">拒绝</view>
|
<view class="footer-btn mt20" style="background:#e47470" @click="del">拒绝</view>
|
||||||
<view class="footer-btn mt20 ml10" @click="jump">通过</view>
|
<view class="footer-btn mt20 ml10" @click="jump">通过</view>
|
||||||
</template>
|
</template>
|
||||||
</uni-list-item>
|
</uni-list-item>
|
||||||
<uni-list-item title="李四申请成为您的子用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
<uni-list-item title="李四申请成为您的分享用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<view class="footer-btn mt20" style="background:#e47470" @click="del">拒绝</view>
|
<view class="footer-btn mt20" style="background:#e47470" @click="del">拒绝</view>
|
||||||
<view class="footer-btn mt20 ml10" @click="jump">通过</view>
|
<view class="footer-btn mt20 ml10" @click="jump">通过</view>
|
||||||
|
|||||||
BIN
static/cancel.png
Normal file
BIN
static/cancel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
BIN
static/confirm.png
Normal file
BIN
static/confirm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
BIN
static/gongcheng.png
Normal file
BIN
static/gongcheng.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Reference in New Issue
Block a user