|
@@ -7,15 +7,15 @@
|
|
<van-field label="坐落" v-model="personal.location" name="location" readonly type="textarea" />
|
|
<van-field label="坐落" v-model="personal.location" name="location" readonly type="textarea" />
|
|
<van-field label="当前节点" v-model="currentNode.nodeName" name="nodeName" readonly :error="true" />
|
|
<van-field label="当前节点" v-model="currentNode.nodeName" name="nodeName" readonly :error="true" />
|
|
<van-field label="处理人" v-model="currentNode.handlerName" name="handlerName" readonly />
|
|
<van-field label="处理人" v-model="currentNode.handlerName" name="handlerName" readonly />
|
|
- <van-field label="面积" v-model="personalTarget.acreage" name="acreage" readonly >
|
|
|
|
- <template #button> 平米 </template>
|
|
|
|
- </van-field>
|
|
|
|
- <van-field label="单价" v-model="personalTarget.price" name="price" readonly >
|
|
|
|
- <template #button> 元 </template>
|
|
|
|
- </van-field>
|
|
|
|
- <van-field label="总价" v-model="personalTarget.amount" name="amount" readonly >
|
|
|
|
- <template #button> 万元 </template>
|
|
|
|
- </van-field>
|
|
|
|
|
|
+ <van-field label="面积" v-model="personalTarget.acreage" name="acreage" readonly>
|
|
|
|
+ <template #button>平米</template>
|
|
|
|
+ </van-field>
|
|
|
|
+ <van-field label="单价" v-model="personalTarget.price" name="price" readonly>
|
|
|
|
+ <template #button>元</template>
|
|
|
|
+ </van-field>
|
|
|
|
+ <van-field label="总价" v-model="personalTarget.amount" name="amount" readonly>
|
|
|
|
+ <template #button>万元</template>
|
|
|
|
+ </van-field>
|
|
<van-field label="客户名称" v-model="personal.clientName" name="clientName" readonly />
|
|
<van-field label="客户名称" v-model="personal.clientName" name="clientName" readonly />
|
|
<van-field label="业务来源" v-model="personal.clientSubName" name="clientSubName" readonly />
|
|
<van-field label="业务来源" v-model="personal.clientSubName" name="clientSubName" readonly />
|
|
<van-field label="中介" v-model="personal.agent" name="agent" readonly />
|
|
<van-field label="中介" v-model="personal.agent" name="agent" readonly />
|
|
@@ -38,6 +38,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import { showConfirmDialog } from 'vant';
|
|
import { showNotify } from 'vant';
|
|
import { showNotify } from 'vant';
|
|
import { getPersonalTodoDetail, getPersonalTargetDetail } from '@/api/personal';
|
|
import { getPersonalTodoDetail, getPersonalTargetDetail } from '@/api/personal';
|
|
import { currentNode } from '@/api/workFlowNodeInstance';
|
|
import { currentNode } from '@/api/workFlowNodeInstance';
|
|
@@ -96,14 +97,19 @@ export default {
|
|
},
|
|
},
|
|
// 提交节点
|
|
// 提交节点
|
|
commitNode(state) {
|
|
commitNode(state) {
|
|
- this.commitInfo.instanceNodeId = this.currentNode.instanceId;
|
|
|
|
- this.commitInfo.state = state;
|
|
|
|
- this.commitInfo.businessSubId = this.personal.orderId;
|
|
|
|
- commit(this.commitInfo).then((res) => {
|
|
|
|
- if (res.code === 200 && res.data) {
|
|
|
|
- showNotify({ type: 'success', message: '节点提交成功' });
|
|
|
|
- history.back();
|
|
|
|
- }
|
|
|
|
|
|
+ showConfirmDialog({
|
|
|
|
+ title: '提交节点',
|
|
|
|
+ message: '确认提交流程节点?',
|
|
|
|
+ }).then(() => {
|
|
|
|
+ this.commitInfo.instanceNodeId = this.currentNode.instanceId;
|
|
|
|
+ this.commitInfo.state = state;
|
|
|
|
+ this.commitInfo.businessSubId = this.personal.orderId;
|
|
|
|
+ commit(this.commitInfo).then((res) => {
|
|
|
|
+ if (res.code === 200 && res.data) {
|
|
|
|
+ showNotify({ type: 'success', message: '节点提交成功' });
|
|
|
|
+ history.back();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
});
|
|
});
|
|
},
|
|
},
|
|
},
|
|
},
|