前端代码优化,及后端按钮状态优化

This commit is contained in:
Dev
2026-09-30 11:28:43 +08:00
parent 34177dfe86
commit f13a5e682a
9 changed files with 469 additions and 46 deletions
@@ -68,6 +68,7 @@
<t-button theme="light" size="large" data-status="0" bind:tap="signContractDev">放弃签约</t-button>
<t-button theme="danger" size="large" data-status="1" bind:tap="signContractDev">合同签约</t-button>
</view>
<t-button wx:elif="{{_calc.isWaitingCustomerSign(demandInfo)}}" theme="light" size="large" disabled block>签约中(等待客户签约)</t-button>
<view class="button-layout-flex" wx:elif="{{_calc.canCompleteWork(demandInfo)}}">
<t-button theme="light" size="large" data-status="0" bind:tap="completeWork">完成失败</t-button>
<t-button theme="danger" size="large" data-status="1" bind:tap="completeWork" block>工作完成</t-button>