|
@@ -33,12 +33,13 @@
|
|
|
<van-cell title="岗位职责" :value="item.postDuty"/>
|
|
|
<van-cell title="所属类别" :value="item.typeText"/>
|
|
|
<van-cell title="已招人数" :value="item.recruitNum"/>
|
|
|
- <van-cell title="落实情况" :value="item.remark"/>
|
|
|
+ <van-cell title="替补人员" :value="item.changer"/>
|
|
|
+ <van-cell title="备注" :value="item.bz"/>
|
|
|
</card-cell>
|
|
|
- <template #right>
|
|
|
- <van-button square type="primary" text="编辑" @click="detailView(index,item)"/>
|
|
|
- <van-button square type="danger" text="删除" @click="detailDelte(index)"/>
|
|
|
- </template>
|
|
|
+<!-- <template #right>-->
|
|
|
+<!-- <van-button square type="primary" text="编辑" @click="detailView(index,item)"/>-->
|
|
|
+<!-- <van-button square type="danger" text="删除" @click="detailDelte(index)"/>-->
|
|
|
+<!-- </template>-->
|
|
|
</van-swipe-cell>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -76,15 +77,11 @@ const activityData: FlowDTO = {
|
|
|
participantId: participant,
|
|
|
flowOpinion: ''
|
|
|
}
|
|
|
-const submitNextActivity = async (activeOpinion: any) => {
|
|
|
+const submitNextActivity = async (NextActivity: ()=>Promise<any>) => {
|
|
|
form.value.validate().then(async () => {
|
|
|
- //工作流转件
|
|
|
- activityData.activityInstanceId = activityInstanceId
|
|
|
- activityData.participantId = participant
|
|
|
- activityData.flowOpinion = JSON.stringify(activeOpinion)
|
|
|
- const result = await getNextActivity(jsonToFormData(activityData))
|
|
|
+ NextActivity();
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
const jsonToFormData = (json: any): FormData | null => {
|
|
|
const keys: string[] = Object.keys(json)
|
|
|
if (keys.length > 0) {
|