|
@@ -50,6 +50,8 @@
|
|
|
@click.stop="handlePreview(item)">预览</button>
|
|
@click.stop="handlePreview(item)">预览</button>
|
|
|
<button type="default" class="phone-white-btn ht-head-btn"
|
|
<button type="default" class="phone-white-btn ht-head-btn"
|
|
|
@click.stop="handleEditor(item)">编辑</button>
|
|
@click.stop="handleEditor(item)">编辑</button>
|
|
|
|
|
+ <button type="default" class="phone-white-btn ht-head-btn"
|
|
|
|
|
+ @click.stop="handleShengxiao(item)">生效</button>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="card-body-row">
|
|
<view class="card-body-row">
|
|
|
<view class="body-row">
|
|
<view class="body-row">
|
|
@@ -162,6 +164,17 @@
|
|
|
function toggle() {
|
|
function toggle() {
|
|
|
searchDialogRef.value.handleShow();
|
|
searchDialogRef.value.handleShow();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ function handleShengxiao(da) {
|
|
|
|
|
+ httpApi.getSanfangShengxiao({id:da.id}).then(res => {
|
|
|
|
|
+ if (res.data) {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: '合同已生效'
|
|
|
|
|
+ })
|
|
|
|
|
+ onRefresh();
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
function tuisong(data){
|
|
function tuisong(data){
|
|
|
|
|
|