|
|
@@ -42,12 +42,13 @@
|
|
|
<!-- 补充入口 -->
|
|
|
<view class="content">
|
|
|
<view class="section">
|
|
|
- <view class="item" @click="toConnect()">
|
|
|
- <view class="title">
|
|
|
- <wd-img :src="connectSrc" width="40" mode="widthFix"></wd-img>
|
|
|
- <view class="title-text">设备配网</view>
|
|
|
+ <view class="item">
|
|
|
+ <view class="title" @click="toPrint('wxImg')">
|
|
|
+ <wd-img :src="wechatFileSrc" width="40" mode="widthFix"></wd-img>
|
|
|
+ <view class="title-text">微信图片</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!-- msg -->
|
|
|
<view class="item" @click="toPrint('image')">
|
|
|
<view class="title">
|
|
|
<wd-img :src="pictureSrc" width="40" mode="widthFix"></wd-img>
|
|
|
@@ -55,7 +56,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <view class="title" @click="toPrint('msg')">
|
|
|
+ <view class="title" @click="toPrint('wxFile')">
|
|
|
<wd-img :src="wechatFileSrc" width="40" mode="widthFix"></wd-img>
|
|
|
<view class="title-text">微信文件</view>
|
|
|
</view>
|
|
|
@@ -66,6 +67,18 @@
|
|
|
<view class="title-text">微信发票</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="item" @click="toConnect()">
|
|
|
+ <view class="title">
|
|
|
+ <wd-img :src="connectSrc" width="40" mode="widthFix"></wd-img>
|
|
|
+ <view class="title-text">设备配网</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="toJob()">
|
|
|
+ <view class="title">
|
|
|
+ <wd-img :src="historySrc" width="40" mode="widthFix"></wd-img>
|
|
|
+ <view class="title-text">打印任务</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<!-- <view class="item">
|
|
|
<view class="title">
|
|
|
<image :src="settingSrc"></image>
|
|
|
@@ -111,6 +124,8 @@ const connectSrc = ref('/static/images/connect.png')
|
|
|
const pictureSrc = ref('/static/images/picture.png')
|
|
|
const wechatFileSrc = ref('/static/images/wechat_file.png')
|
|
|
const wechatInvoiceSrc = ref('/static/images/wechat_invoice.png')
|
|
|
+const historySrc = ref('/static/images/history.png')
|
|
|
+const shareSrc = ref('/static/images/share.png')
|
|
|
const swiperList = ref([])
|
|
|
const current = ref(0)
|
|
|
|
|
|
@@ -162,6 +177,17 @@ function toConnect() {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+function toJob() {
|
|
|
+ if (isLogined.value) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: `/pages/print/job`,
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ toast.warning('请先前往登录')
|
|
|
+ toLogin(1500)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
onLoad((option: any) => {
|
|
|
initSwiperList()
|
|
|
})
|