小程序工单联调

This commit is contained in:
2025-11-12 17:35:23 +08:00
parent 391219bde1
commit b940d7a6cc
8 changed files with 25 additions and 11 deletions

View File

@@ -112,6 +112,12 @@ Page({
alertSuccess("操作成功")
await that.init();
this.setData({
mode: null,
days: null,
reason: null,
url: null,
})
})
}
}

View File

@@ -4,6 +4,7 @@
"van-button": "@vant/weapp/button/index",
"search-select": "/components/searchSelect/index",
"van-empty": "@vant/weapp/empty/index",
"van-image": "@vant/weapp/image/index",
"table": "/components/table/table",
"pagination": "/components/pagination/index",
"empty": "/components/empty/index",

View File

@@ -117,6 +117,7 @@
text="{{days}}"
type="input"
bind:changeText="changeDays"
required="{{true}}"
/>
<searchSelectWrapper
label="原因"
@@ -130,6 +131,7 @@
useSlot="{{true}}"
type=""
hideBorder="{{true}}"
transparent="{{true}}"
>
<view style="display: flex; align-items: center;">
<view>
@@ -138,7 +140,7 @@
<van-button type="danger" size="small" bind:click="clearImage" custom-style="margin-right: 20rpx;"> 清除 </van-button>
</view>
</view>
<van-image wx:if="{{!!url}}" width="100" height="100" src="{{url}}" custom-style="margin-left: 20rpx;" />
<van-image wx:if="{{url}}" width="100" height="100" src="{{url}}" custom-style="margin-left: 20rpx;" />
</view>
</searchSelectWrapper>