前端代码优化,及后端按钮状态优化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user