|
@@ -1,28 +1,53 @@
|
|
<template>
|
|
<template>
|
|
<view style="background-color: #fff;" v-if="content != null">
|
|
<view style="background-color: #fff;" v-if="content != null">
|
|
- <view style="height: 100rpx;display: flex;align-items: center;justify-content: space-around;border-bottom: 1px solid #ceccca;" v-if="type == 0">
|
|
|
|
- <!-- <u-tabs :list="list1" :current="current" @click="click"></u-tabs> -->
|
|
|
|
- <view class="tab" :class="current==0?'active':''" @click="current = 0">
|
|
|
|
- 待办内容
|
|
|
|
- </view>
|
|
|
|
- <view style="border-left: 1px solid #ceccca;height: 80%;">
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
- <view class="tab" :class="current==0?'':'active'" @click="current = 1">
|
|
|
|
- 流转记录
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view
|
|
|
|
+ style="height: 100rpx;display: flex;align-items: center;justify-content: space-around;border-bottom: 1px solid #ceccca;"
|
|
|
|
+ v-if="type == 0">
|
|
|
|
+ <!-- <u-tabs :list="list1" :current="current" @click="click"></u-tabs> -->
|
|
|
|
+ <view class="tab" :class="current==0?'active':''" @click="current = 0">
|
|
|
|
+ 待办内容
|
|
|
|
+ </view>
|
|
|
|
+ <view style="border-left: 1px solid #ceccca;height: 80%;">
|
|
|
|
+
|
|
|
|
+ </view>
|
|
|
|
+ <view class="tab" :class="current==0?'':'active'" @click="current = 1">
|
|
|
|
+ 流转记录
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <swiper style="background-color:#fff ;" :style="{height:type==0?'calc(100vh - 100rpx)':'100vh'}" :current="current" disable-touch>
|
|
|
|
- <swiper-item >
|
|
|
|
|
|
+ <swiper style="background-color:#fff ;" :style="{height:type==0?'calc(100vh - 100rpx)':'100vh'}"
|
|
|
|
+ :current="current" disable-touch>
|
|
|
|
+ <swiper-item>
|
|
<view style="height: 100%;overflow:auto">
|
|
<view style="height: 100%;overflow:auto">
|
|
- <u--form labelPosition="left" labelAlign="center" :model="content" ref="uForm" :labelStyle="{fontSize:'32rpx'}"
|
|
|
|
- labelWidth="100">
|
|
|
|
|
|
+ <u--form labelPosition="left" labelAlign="center" :model="content" ref="uForm"
|
|
|
|
+ :labelStyle="{fontSize:'32rpx'}" labelWidth="100">
|
|
|
|
+ <u-form-item label="紧急程度:" borderBottom ref="item1" label-width="100">
|
|
|
|
+ <!-- <u--input v-model="content.sendTime" border="none" readonly></u--input> -->
|
|
|
|
+ <!-- <view class="content">
|
|
|
|
+ {{content.infoOpenType}}
|
|
|
|
+ </view> -->
|
|
|
|
+ <uni-data-select class="edit" v-model="content.jjcd" disabled placeholder="请选择信息公开类型"
|
|
|
|
+ :localdata="jjcdList" :clear="false"></uni-data-select>
|
|
|
|
+ </u-form-item>
|
|
<u-form-item label="发文标题:" borderBottom ref="item1">
|
|
<u-form-item label="发文标题:" borderBottom ref="item1">
|
|
<!-- <u--input v-model="content.title" border="none" readonly></u--input> -->
|
|
<!-- <u--input v-model="content.title" border="none" readonly></u--input> -->
|
|
<view class="content">
|
|
<view class="content">
|
|
{{content.title}}
|
|
{{content.title}}
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
|
+ <u-form-item label="密级:" borderBottom ref="item1" label-width="100">
|
|
|
|
+ <!-- <u--input v-model="content.sendTime" border="none" readonly></u--input> -->
|
|
|
|
+ <!-- <view class="content">
|
|
|
|
+ {{content.infoOpenType}}
|
|
|
|
+ </view> -->
|
|
|
|
+ <uni-data-select class="edit" v-model="content.degree" disabled placeholder=""
|
|
|
|
+ :localdata="mijiList" :clear="false"></uni-data-select>
|
|
|
|
+ </u-form-item>
|
|
|
|
+ <u-form-item label="保密期限(年):" borderBottom ref="item1">
|
|
|
|
+ <!-- <u--input v-model="content.sender" border="none" readonly></u--input> -->
|
|
|
|
+ <view class="content">
|
|
|
|
+ {{content.bmqx}}
|
|
|
|
+ </view>
|
|
|
|
+ </u-form-item>
|
|
<u-form-item label="发文单位:" borderBottom ref="item1">
|
|
<u-form-item label="发文单位:" borderBottom ref="item1">
|
|
<!-- <u--input v-model="content.sender" border="none" readonly></u--input> -->
|
|
<!-- <u--input v-model="content.sender" border="none" readonly></u--input> -->
|
|
<view class="content">
|
|
<view class="content">
|
|
@@ -41,7 +66,7 @@
|
|
{{content.mainUnit}}
|
|
{{content.mainUnit}}
|
|
</view> -->
|
|
</view> -->
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-form-item label="抄送单位:" borderBottom ref="item1" >
|
|
|
|
|
|
+ <u-form-item label="抄送单位:" borderBottom ref="item1">
|
|
<u--input v-model="content.copyUnit" border="none" placeholder="请输入抄送单位"></u--input>
|
|
<u--input v-model="content.copyUnit" border="none" placeholder="请输入抄送单位"></u--input>
|
|
<!-- <view class="content">
|
|
<!-- <view class="content">
|
|
{{content.copyUnit}}
|
|
{{content.copyUnit}}
|
|
@@ -59,15 +84,29 @@
|
|
{{content.draftedTime}}
|
|
{{content.draftedTime}}
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
|
|
+ <u-form-item label="打印人:" borderBottom ref="item1">
|
|
|
|
+ <!-- <u--input v-model="content.sendTime" border="none" readonly></u--input> -->
|
|
|
|
+ <view class="content">
|
|
|
|
+ {{content.dyr}}
|
|
|
|
+ </view>
|
|
|
|
+ </u-form-item>
|
|
|
|
+ <u-form-item label="打印份数:" borderBottom ref="item1">
|
|
|
|
+ <!-- <u--input v-model="content.sendTime" border="none" readonly></u--input> -->
|
|
|
|
+ <view class="content">
|
|
|
|
+ {{content.dynum}}
|
|
|
|
+ </view>
|
|
|
|
+ </u-form-item>
|
|
<u-form-item label="正文查看:" borderBottom ref="item1" v-if="content.sendFile != null">
|
|
<u-form-item label="正文查看:" borderBottom ref="item1" v-if="content.sendFile != null">
|
|
<view>
|
|
<view>
|
|
<!-- <u--text mode="link" :text="content.sendFile.name" :href="content.sendFile.url"></u--text> -->
|
|
<!-- <u--text mode="link" :text="content.sendFile.name" :href="content.sendFile.url"></u--text> -->
|
|
- <u--text size="30rpx" :lines="3" color="#2979FF" :text="content.sendFile.name" @click="downLoad(content.sendFile.path)"></u--text>
|
|
|
|
|
|
+ <u--text size="30rpx" :lines="3" color="#2979FF" :text="content.sendFile.name"
|
|
|
|
+ @click="downLoad(content.sendFile.path)"></u--text>
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
<u-form-item label="附件查看:" borderBottom ref="item1">
|
|
<u-form-item label="附件查看:" borderBottom ref="item1">
|
|
<view v-if="content.messageFileList != null && content.messageFileList.length != 0 ">
|
|
<view v-if="content.messageFileList != null && content.messageFileList.length != 0 ">
|
|
- <u--text :text="v.name" :lines="3" v-for="(v,i) in content.messageFileList" :key="i" size="30rpx" color="#2979FF" @click="downLoad(v.path)"></u--text>
|
|
|
|
|
|
+ <u--text :text="v.name" :lines="3" v-for="(v,i) in content.messageFileList" :key="i"
|
|
|
|
+ size="30rpx" color="#2979FF" @click="downLoad(v.path)"></u--text>
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
<u-form-item label="文件字号:" borderBottom ref="item1">
|
|
<u-form-item label="文件字号:" borderBottom ref="item1">
|
|
@@ -81,42 +120,51 @@
|
|
<!-- <view class="content">
|
|
<!-- <view class="content">
|
|
{{content.infoOpenType}}
|
|
{{content.infoOpenType}}
|
|
</view> -->
|
|
</view> -->
|
|
- <uni-data-select v-model="content.infoOpenType" placeholder="请选择信息公开类型" :localdata="xxgklist" :clear="false" ></uni-data-select>
|
|
|
|
|
|
+ <uni-data-select class="edit" v-model="content.infoOpenType" disabled
|
|
|
|
+ placeholder="请选择信息公开类型" :localdata="xxgklist" :clear="false"></uni-data-select>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-form-item label="不予公开理由:" borderBottom ref="item1" label-width="120" v-if="content.infoOpenType == 3">
|
|
|
|
|
|
+ <u-form-item label="不予公开理由:" borderBottom ref="item1" label-width="120"
|
|
|
|
+ v-if="content.infoOpenType == 3">
|
|
<!-- <u--input v-model="content.sendTime" border="none" readonly></u--input> -->
|
|
<!-- <u--input v-model="content.sendTime" border="none" readonly></u--input> -->
|
|
<!-- <view class="content">
|
|
<!-- <view class="content">
|
|
{{content.noOpenReason}}
|
|
{{content.noOpenReason}}
|
|
</view> -->
|
|
</view> -->
|
|
- <uni-data-select v-model="content.noOpenReason" placeholder="请选择信息公开类型" :localdata="noList" :clear="false" ></uni-data-select>
|
|
|
|
|
|
+ <uni-data-select v-model="content.noOpenReason" placeholder="请选择信息公开类型" :localdata="noList"
|
|
|
|
+ :clear="false"></uni-data-select>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
-
|
|
|
|
|
|
+
|
|
<view v-if="type==0" style="padding-bottom: 40rpx;">
|
|
<view v-if="type==0" style="padding-bottom: 40rpx;">
|
|
- <u-form-item label="下一节点:" borderBottom ref="item1" v-if="gdType == false">
|
|
|
|
- <uni-data-select v-model="content.jdindex" placeholder="请选择下一节点" :localdata="list" :clear="false" @change="change"></uni-data-select>
|
|
|
|
|
|
+ <u-form-item label="下一节点:" borderBottom ref="item1"
|
|
|
|
+ v-if="gdType == false&&this.nodeId!='207'">
|
|
|
|
+ <uni-data-select v-model="content.jdindex" placeholder="请选择下一节点" :localdata="list"
|
|
|
|
+ :clear="false" @change="change"></uni-data-select>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-form-item label="处理人员:" borderBottom ref="item1" v-if="DeliveryWay==4" @click="choosePeo">
|
|
|
|
|
|
+ <u-form-item label="处理人员:" borderBottom ref="item1" v-if="DeliveryWay==4"
|
|
|
|
+ @click="choosePeo">
|
|
<view :style="{color:content.users==null?'rgb(192, 196, 204)':''}">
|
|
<view :style="{color:content.users==null?'rgb(192, 196, 204)':''}">
|
|
{{content.users==null?'请选择人员': content.userList}}
|
|
{{content.users==null?'请选择人员': content.userList}}
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
<u-form-item label="审批意见:" v-if="gdType == false" borderBottom ref="item1">
|
|
<u-form-item label="审批意见:" v-if="gdType == false" borderBottom ref="item1">
|
|
- <u--textarea v-model="content.reviewMsg" placeholder="请输入审批意见" autoHeight border="none"></u--textarea>
|
|
|
|
|
|
+ <u--textarea v-model="content.reviewMsg" placeholder="请输入审批意见" autoHeight
|
|
|
|
+ border="none"></u--textarea>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
<view v-if="gdType == true">
|
|
<view v-if="gdType == true">
|
|
<!-- <u-form-item label="密级:" borderBottom ref="item1">
|
|
<!-- <u-form-item label="密级:" borderBottom ref="item1">
|
|
<uni-data-select v-model="content.levels" placeholder="请选择密级" :clear="false" :localdata="gd" ></uni-data-select>
|
|
<uni-data-select v-model="content.levels" placeholder="请选择密级" :clear="false" :localdata="gd" ></uni-data-select>
|
|
</u-form-item> -->
|
|
</u-form-item> -->
|
|
- <u-form-item label="档案编号:" borderBottom ref="item1" >
|
|
|
|
- <u--input v-model="content.archiveNo" placeholder="请输入档案编号" border="none" ></u--input>
|
|
|
|
|
|
+ <u-form-item label="档案编号:" borderBottom ref="item1">
|
|
|
|
+ <u--input v-model="content.archiveNo" placeholder="请输入档案编号"
|
|
|
|
+ border="none"></u--input>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-form-item label="档案分类:" borderBottom ref="item1" @click="chooseGd">
|
|
|
|
|
|
+ <u-form-item label="档案分类:" borderBottom ref="item1" @click="chooseGd">
|
|
<view :style="{color:content.typeId==null?'rgb(192, 196, 204)':''}">
|
|
<view :style="{color:content.typeId==null?'rgb(192, 196, 204)':''}">
|
|
{{content.typeId==null?'请选择档案分类': content.gdtype}}
|
|
{{content.typeId==null?'请选择档案分类': content.gdtype}}
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-form-item label="打印份数:" borderBottom ref="item1" >
|
|
|
|
- <u--input v-model="content.printNum" placeholder="请输入打印份数" type="number" border="none" ></u--input>
|
|
|
|
|
|
+ <u-form-item label="打印份数:" borderBottom ref="item1">
|
|
|
|
+ <u--input v-model="content.printNum" placeholder="请输入打印份数" type="number"
|
|
|
|
+ border="none"></u--input>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
</view>
|
|
</view>
|
|
<!-- <view v-if="backType == true">
|
|
<!-- <view v-if="backType == true">
|
|
@@ -129,20 +177,24 @@
|
|
border="none"></u--textarea>
|
|
border="none"></u--textarea>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
</view> -->
|
|
</view> -->
|
|
- <view style="margin-top: 40rpx;padding: 0 20rpx;box-sizing: border-box;" v-if="gdType == false">
|
|
|
|
- <u-button type="primary" text="提交" @click="submit" ></u-button>
|
|
|
|
|
|
+ <view style="margin-top: 40rpx;padding: 0 20rpx;box-sizing: border-box;"
|
|
|
|
+ v-if="gdType == false">
|
|
|
|
+ <u-button type="primary" text="提交" @click="submit"></u-button>
|
|
</view>
|
|
</view>
|
|
- <view style="margin-top: 40rpx;padding: 0 20rpx;box-sizing: border-box;" v-if="gdType == true">
|
|
|
|
- <u-button type="primary" text="归档" @click="save" ></u-button>
|
|
|
|
|
|
+ <view style="margin-top: 40rpx;padding: 0 20rpx;box-sizing: border-box;"
|
|
|
|
+ v-if="gdType == true">
|
|
|
|
+ <u-button type="primary" text="归档" @click="save"></u-button>
|
|
</view>
|
|
</view>
|
|
- <view style="margin-top: 40rpx;padding: 0 20rpx;box-sizing: border-box;" v-if="backType == true">
|
|
|
|
- <u-button type="error" text="退回" @click="show = true" ></u-button>
|
|
|
|
|
|
+ <view style="margin-top: 40rpx;padding: 0 20rpx;box-sizing: border-box;"
|
|
|
|
+ v-if="backType == true&&this.nodeId!='207'&&this.nodeId!='201'">
|
|
|
|
+ <u-button type="error" text="退回" @click="show = true"></u-button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view style="padding: 20rpx;box-sizing: border-box;" v-else>
|
|
<view style="padding: 20rpx;box-sizing: border-box;" v-else>
|
|
<u-steps :current="lzNum-1" direction="column" v-if="record != null">
|
|
<u-steps :current="lzNum-1" direction="column" v-if="record != null">
|
|
<view v-for="(v,i) in record" :key="i">
|
|
<view v-for="(v,i) in record" :key="i">
|
|
- <u-steps-item :error="v.ActionType==2?true:false" :title='v.NDFromT+"("+v.ActionTypeText+")"' v-if="v.ActionType==='28'">
|
|
|
|
|
|
+ <u-steps-item :error="v.ActionType==2?true:false"
|
|
|
|
+ :title='v.NDFromT+"("+v.ActionTypeText+")"' v-if="v.ActionType==='28'">
|
|
<view slot="desc" style="color: #606266">
|
|
<view slot="desc" style="color: #606266">
|
|
<view style="font-size: 28rpx;">
|
|
<view style="font-size: 28rpx;">
|
|
处理人:{{v.EmpFromT}}
|
|
处理人:{{v.EmpFromT}}
|
|
@@ -153,7 +205,9 @@
|
|
</view>
|
|
</view>
|
|
</u-steps-item>
|
|
</u-steps-item>
|
|
<view v-else-if="v.ActionType22 != undefined">
|
|
<view v-else-if="v.ActionType22 != undefined">
|
|
- <u-steps-item :error="v.ActionType==2?true:false" v-for="(item,index) in v.ActionType22" :key="index" :title='item.NDFromT+"("+v.ActionTypeText+")"'>
|
|
|
|
|
|
+ <u-steps-item :error="v.ActionType==2?true:false"
|
|
|
|
+ v-for="(item,index) in v.ActionType22" :key="index"
|
|
|
|
+ :title='item.NDFromT+"("+v.ActionTypeText+")"'>
|
|
<view slot="desc" style="color:#606266;">
|
|
<view slot="desc" style="color:#606266;">
|
|
<view style="font-size: 28rpx;">
|
|
<view style="font-size: 28rpx;">
|
|
处理部门:{{item.NodeData.split("DeptName=")[1]}}
|
|
处理部门:{{item.NodeData.split("DeptName=")[1]}}
|
|
@@ -170,7 +224,8 @@
|
|
</view>
|
|
</view>
|
|
</u-steps-item>
|
|
</u-steps-item>
|
|
</view>
|
|
</view>
|
|
- <u-steps-item :error="v.ActionType==2?true:false" :title='v.NDFromT+"("+v.ActionTypeText+")"' v-else>
|
|
|
|
|
|
+ <u-steps-item :error="v.ActionType==2?true:false"
|
|
|
|
+ :title='v.NDFromT+"("+v.ActionTypeText+")"' v-else>
|
|
<view slot="desc" style="color: #606266">
|
|
<view slot="desc" style="color: #606266">
|
|
<view style="font-size: 28rpx;">
|
|
<view style="font-size: 28rpx;">
|
|
处理部门:{{v.NodeData.split("DeptName=")[1]}}
|
|
处理部门:{{v.NodeData.split("DeptName=")[1]}}
|
|
@@ -188,13 +243,14 @@
|
|
</view>
|
|
</view>
|
|
</u--form>
|
|
</u--form>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
|
|
+
|
|
</swiper-item>
|
|
</swiper-item>
|
|
- <swiper-item >
|
|
|
|
|
|
+ <swiper-item>
|
|
<view style="padding: 20rpx;box-sizing: border-box;width: 100%;height: 100%;overflow: auto;">
|
|
<view style="padding: 20rpx;box-sizing: border-box;width: 100%;height: 100%;overflow: auto;">
|
|
<u-steps :current="lzNum-1" direction="column" dot v-if="record != null">
|
|
<u-steps :current="lzNum-1" direction="column" dot v-if="record != null">
|
|
<view v-for="(v,i) in record" :key="i">
|
|
<view v-for="(v,i) in record" :key="i">
|
|
- <u-steps-item :error="v.ActionType==2?true:false" :title='v.NDFromT+"("+v.ActionTypeText+")"' v-if="v.ActionType==='28'">
|
|
|
|
|
|
+ <u-steps-item :error="v.ActionType==2?true:false"
|
|
|
|
+ :title='v.NDFromT+"("+v.ActionTypeText+")"' v-if="v.ActionType==='28'">
|
|
<view slot="desc" style="color: #606266">
|
|
<view slot="desc" style="color: #606266">
|
|
<view style="font-size: 28rpx;">
|
|
<view style="font-size: 28rpx;">
|
|
处理人:{{v.EmpFromT}}
|
|
处理人:{{v.EmpFromT}}
|
|
@@ -205,7 +261,8 @@
|
|
</view>
|
|
</view>
|
|
</u-steps-item>
|
|
</u-steps-item>
|
|
<view v-else-if="v.ActionType22 != undefined">
|
|
<view v-else-if="v.ActionType22 != undefined">
|
|
- <u-steps-item :error="v.ActionType==2?true:false" v-for="(item,index) in v.ActionType22" :key="index" :title='item.NDFromT+"("+v.ActionTypeText+")"'>
|
|
|
|
|
|
+ <u-steps-item :error="v.ActionType==2?true:false" v-for="(item,index) in v.ActionType22"
|
|
|
|
+ :key="index" :title='item.NDFromT+"("+v.ActionTypeText+")"'>
|
|
<view slot="desc" style="color:#606266;">
|
|
<view slot="desc" style="color:#606266;">
|
|
<view style="font-size: 28rpx;">
|
|
<view style="font-size: 28rpx;">
|
|
处理部门:{{item.NodeData.split("DeptName=")[1]}}
|
|
处理部门:{{item.NodeData.split("DeptName=")[1]}}
|
|
@@ -222,7 +279,8 @@
|
|
</view>
|
|
</view>
|
|
</u-steps-item>
|
|
</u-steps-item>
|
|
</view>
|
|
</view>
|
|
- <u-steps-item :error="v.ActionType==2?true:false" :title='v.NDFromT+"("+v.ActionTypeText+")"' v-else>
|
|
|
|
|
|
+ <u-steps-item :error="v.ActionType==2?true:false"
|
|
|
|
+ :title='v.NDFromT+"("+v.ActionTypeText+")"' v-else>
|
|
<view slot="desc" style="color: #606266">
|
|
<view slot="desc" style="color: #606266">
|
|
<view style="font-size: 28rpx;">
|
|
<view style="font-size: 28rpx;">
|
|
处理部门:{{v.NodeData.split("DeptName=")[1]}}
|
|
处理部门:{{v.NodeData.split("DeptName=")[1]}}
|
|
@@ -237,19 +295,20 @@
|
|
</u-steps-item>
|
|
</u-steps-item>
|
|
</view>
|
|
</view>
|
|
</u-steps>
|
|
</u-steps>
|
|
-
|
|
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper-item>
|
|
</swiper>
|
|
</swiper>
|
|
- <u-modal :show="show" title="退回" :closeOnClickOverlay="true" showCancelButton @cancel="close" @close="close" @confirm="back">
|
|
|
|
- <view class="slot-content" style="width: 100%;" >
|
|
|
|
|
|
+ <u-modal :show="show" title="退回" :closeOnClickOverlay="true" showCancelButton @cancel="close" @close="close"
|
|
|
|
+ @confirm="back">
|
|
|
|
+ <view class="slot-content" style="width: 100%;">
|
|
<u--form labelPosition="left" labelAlign="center" :model="content" ref="uForm1"
|
|
<u--form labelPosition="left" labelAlign="center" :model="content" ref="uForm1"
|
|
:labelStyle="{fontSize:'32rpx'}" labelWidth="100">
|
|
:labelStyle="{fontSize:'32rpx'}" labelWidth="100">
|
|
<u-form-item label="退回节点:" borderBottom ref="item1">
|
|
<u-form-item label="退回节点:" borderBottom ref="item1">
|
|
<uni-data-select v-model="content.returnToNodeID" placeholder="请选择节点" :clear="false"
|
|
<uni-data-select v-model="content.returnToNodeID" placeholder="请选择节点" :clear="false"
|
|
:localdata="backlist"></uni-data-select>
|
|
:localdata="backlist"></uni-data-select>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
- <u-form-item label="退回意见:" borderBottom ref="item1" >
|
|
|
|
|
|
+ <u-form-item label="退回意见:" borderBottom ref="item1">
|
|
<u--textarea v-model="content.backMsg" placeholder="请输入退回意见" autoHeight
|
|
<u--textarea v-model="content.backMsg" placeholder="请输入退回意见" autoHeight
|
|
border="none"></u--textarea>
|
|
border="none"></u--textarea>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
@@ -263,7 +322,7 @@
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- current:0,
|
|
|
|
|
|
+ current: 0,
|
|
content: null,
|
|
content: null,
|
|
statusList: [],
|
|
statusList: [],
|
|
//流转记录
|
|
//流转记录
|
|
@@ -276,34 +335,40 @@
|
|
selectType: 3,
|
|
selectType: 3,
|
|
workid: null,
|
|
workid: null,
|
|
flowNo: null,
|
|
flowNo: null,
|
|
- id:null,
|
|
|
|
|
|
+ id: null,
|
|
//tabs
|
|
//tabs
|
|
- list1:[
|
|
|
|
- {name: '待办内容'},
|
|
|
|
- {name: '流转记录'}
|
|
|
|
|
|
+ list1: [{
|
|
|
|
+ name: '待办内容'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '流转记录'
|
|
|
|
+ }
|
|
],
|
|
],
|
|
- DeliveryWay:null,
|
|
|
|
|
|
+ DeliveryWay: null,
|
|
//归档
|
|
//归档
|
|
- gd:null,
|
|
|
|
- gdType:false,//判断是否是归档
|
|
|
|
- overType:false,//判断是否结束
|
|
|
|
|
|
+ gd: null,
|
|
|
|
+ gdType: false, //判断是否是归档
|
|
|
|
+ overType: false, //判断是否结束
|
|
//上个页面传过来的参数
|
|
//上个页面传过来的参数
|
|
- parameter:null,
|
|
|
|
|
|
+ parameter: null,
|
|
//已下载附件
|
|
//已下载附件
|
|
- list2:[],
|
|
|
|
- list3:[],
|
|
|
|
|
|
+ list2: [],
|
|
|
|
+ list3: [],
|
|
//退回状态
|
|
//退回状态
|
|
- backType:false,
|
|
|
|
|
|
+ backType: false,
|
|
//退回节点列表
|
|
//退回节点列表
|
|
- backlist:[],
|
|
|
|
|
|
+ backlist: [],
|
|
//退回模态框
|
|
//退回模态框
|
|
- show:false,
|
|
|
|
|
|
+ show: false,
|
|
//信息公开列表
|
|
//信息公开列表
|
|
- xxgklist:[],
|
|
|
|
|
|
+ xxgklist: [],
|
|
|
|
+ jjcdList: [],
|
|
|
|
+ mijiList: [],
|
|
//不予公开列表
|
|
//不予公开列表
|
|
- noList:[],
|
|
|
|
|
|
+ noList: [],
|
|
//流转记录数量
|
|
//流转记录数量
|
|
- lzNum:0
|
|
|
|
|
|
+ lzNum: 0,
|
|
|
|
+ nodeId: null
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
@@ -311,6 +376,8 @@
|
|
this.getDicts()
|
|
this.getDicts()
|
|
this.getMsgClass()
|
|
this.getMsgClass()
|
|
this.getNoList()
|
|
this.getNoList()
|
|
|
|
+ this.getjjcdClass()
|
|
|
|
+ this.getmijiClass()
|
|
this.getContent(options.workid)
|
|
this.getContent(options.workid)
|
|
this.getRecord(options.workid)
|
|
this.getRecord(options.workid)
|
|
this.getgd()
|
|
this.getgd()
|
|
@@ -318,11 +385,11 @@
|
|
this.type = options.type
|
|
this.type = options.type
|
|
this.workid = options.workid
|
|
this.workid = options.workid
|
|
this.flowNo = options.flowNo
|
|
this.flowNo = options.flowNo
|
|
-
|
|
|
|
|
|
+ this.nodeId = options.nodeId
|
|
uni.setNavigationBarTitle({
|
|
uni.setNavigationBarTitle({
|
|
title: options.title
|
|
title: options.title
|
|
})
|
|
})
|
|
- if(options.nodeName.indexOf('归档') != -1){
|
|
|
|
|
|
+ if (options.nodeName.indexOf('归档') != -1) {
|
|
that.gdType = true
|
|
that.gdType = true
|
|
that.getgd()
|
|
that.getgd()
|
|
}
|
|
}
|
|
@@ -331,15 +398,15 @@
|
|
// this.isOver(options)
|
|
// this.isOver(options)
|
|
// },500)
|
|
// },500)
|
|
// }
|
|
// }
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
- onShow(){
|
|
|
|
|
|
+ onShow() {
|
|
uni.$once('query', (query) => {
|
|
uni.$once('query', (query) => {
|
|
- if(query.a==1){
|
|
|
|
|
|
+ if (query.a == 1) {
|
|
this.content.users = getApp().globalData.peoIdList
|
|
this.content.users = getApp().globalData.peoIdList
|
|
this.content.userList = getApp().globalData.peoList
|
|
this.content.userList = getApp().globalData.peoList
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
- }else if(query.a == 2){
|
|
|
|
|
|
+ } else if (query.a == 2) {
|
|
this.content.typeId = getApp().globalData.gdId.split(",")[0]
|
|
this.content.typeId = getApp().globalData.gdId.split(",")[0]
|
|
this.content.gdtype = getApp().globalData.gdId.split(",")[1]
|
|
this.content.gdtype = getApp().globalData.gdId.split(",")[1]
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
@@ -347,7 +414,7 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- click(e){
|
|
|
|
|
|
+ click(e) {
|
|
this.current = e.index
|
|
this.current = e.index
|
|
},
|
|
},
|
|
//查询发文详情
|
|
//查询发文详情
|
|
@@ -355,7 +422,7 @@
|
|
uni.$u.http.get('/offcial/message/messageByWorkId/' + id).then(res => {
|
|
uni.$u.http.get('/offcial/message/messageByWorkId/' + id).then(res => {
|
|
this.content = res.data
|
|
this.content = res.data
|
|
this.content.workid = id
|
|
this.content.workid = id
|
|
- if(this.gdType == true){
|
|
|
|
|
|
+ if (this.gdType == true) {
|
|
this.content.typeId = null //归档分类
|
|
this.content.typeId = null //归档分类
|
|
this.content.levels = null //密级
|
|
this.content.levels = null //密级
|
|
this.content.archiveNo = null //档案编号
|
|
this.content.archiveNo = null //档案编号
|
|
@@ -364,7 +431,7 @@
|
|
this.content.name = res.data.title //档案名称
|
|
this.content.name = res.data.title //档案名称
|
|
this.content.gdtype = null //分类名称
|
|
this.content.gdtype = null //分类名称
|
|
}
|
|
}
|
|
- if(this.type==0){
|
|
|
|
|
|
+ if (this.type == 0) {
|
|
this.isOver(this.parameter)
|
|
this.isOver(this.parameter)
|
|
this.getBackNo(this.parameter.nodeId)
|
|
this.getBackNo(this.parameter.nodeId)
|
|
}
|
|
}
|
|
@@ -382,12 +449,40 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//查询信息公开类型
|
|
//查询信息公开类型
|
|
- getMsgClass(){
|
|
|
|
|
|
+ getMsgClass() {
|
|
uni.$u.http.get('/system/dict/data/type/sw_open_type').then(res => {
|
|
uni.$u.http.get('/system/dict/data/type/sw_open_type').then(res => {
|
|
// this.statusList = res.data
|
|
// this.statusList = res.data
|
|
this.xxgklist = res.data.map((item, index) => {
|
|
this.xxgklist = res.data.map((item, index) => {
|
|
let obj = {
|
|
let obj = {
|
|
- value:item.dictValue,
|
|
|
|
|
|
+ value: item.dictValue,
|
|
|
|
+ id: item.dictValue,
|
|
|
|
+ text: item.dictLabel,
|
|
|
|
+ }
|
|
|
|
+ return obj
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ //查询紧急程度
|
|
|
|
+ getjjcdClass() {
|
|
|
|
+ uni.$u.http.get('/system/dict/data/type/urgent_type').then(res => {
|
|
|
|
+ // this.statusList = res.data
|
|
|
|
+ this.jjcdList = res.data.map((item, index) => {
|
|
|
|
+ let obj = {
|
|
|
|
+ value: item.dictValue,
|
|
|
|
+ id: item.dictValue,
|
|
|
|
+ text: item.dictLabel,
|
|
|
|
+ }
|
|
|
|
+ return obj
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ //查询密级
|
|
|
|
+ getmijiClass() {
|
|
|
|
+ uni.$u.http.get('/system/dict/data/type/archive_levels').then(res => {
|
|
|
|
+ // this.statusList = res.data
|
|
|
|
+ this.mijiList = res.data.map((item, index) => {
|
|
|
|
+ let obj = {
|
|
|
|
+ value: item.dictValue,
|
|
id: item.dictValue,
|
|
id: item.dictValue,
|
|
text: item.dictLabel,
|
|
text: item.dictLabel,
|
|
}
|
|
}
|
|
@@ -396,12 +491,12 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//查询不予公开理由字典
|
|
//查询不予公开理由字典
|
|
- getNoList(){
|
|
|
|
|
|
+ getNoList() {
|
|
uni.$u.http.get('/system/dict/data/type/no_open_reason').then(res => {
|
|
uni.$u.http.get('/system/dict/data/type/no_open_reason').then(res => {
|
|
// this.statusList = res.data
|
|
// this.statusList = res.data
|
|
this.noList = res.data.map((item, index) => {
|
|
this.noList = res.data.map((item, index) => {
|
|
let obj = {
|
|
let obj = {
|
|
- value:item.dictValue,
|
|
|
|
|
|
+ value: item.dictValue,
|
|
id: item.dictValue,
|
|
id: item.dictValue,
|
|
text: item.dictLabel,
|
|
text: item.dictLabel,
|
|
}
|
|
}
|
|
@@ -410,11 +505,11 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//查询归档字典
|
|
//查询归档字典
|
|
- getgd(){
|
|
|
|
- uni.$u.http.get('/system/dict/data/type/archive_levels').then(res =>{
|
|
|
|
|
|
+ getgd() {
|
|
|
|
+ uni.$u.http.get('/system/dict/data/type/archive_levels').then(res => {
|
|
this.gd = res.data.map((item, index) => {
|
|
this.gd = res.data.map((item, index) => {
|
|
let obj = {
|
|
let obj = {
|
|
- value:item.dictCode,
|
|
|
|
|
|
+ value: item.dictCode,
|
|
id: item.dictCode,
|
|
id: item.dictCode,
|
|
text: item.dictLabel,
|
|
text: item.dictLabel,
|
|
}
|
|
}
|
|
@@ -423,11 +518,15 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//判断是否为最后一步
|
|
//判断是否为最后一步
|
|
- isOver(v){
|
|
|
|
- uni.$u.http.get("/jflow/restful/judgeNode",{params:{nodeId:v.nodeId}}).then(res=>{
|
|
|
|
- if(res.msg=="Y"){
|
|
|
|
|
|
+ isOver(v) {
|
|
|
|
+ uni.$u.http.get("/jflow/restful/judgeNode", {
|
|
|
|
+ params: {
|
|
|
|
+ nodeId: v.nodeId
|
|
|
|
+ }
|
|
|
|
+ }).then(res => {
|
|
|
|
+ if (res.msg == "Y") {
|
|
this.overType = true
|
|
this.overType = true
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
this.overType = false
|
|
this.overType = false
|
|
this.jdList(v.workid, v.flowNo)
|
|
this.jdList(v.workid, v.flowNo)
|
|
}
|
|
}
|
|
@@ -442,11 +541,11 @@
|
|
}
|
|
}
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.record = res.trackList
|
|
this.record = res.trackList
|
|
- for(let i in res.trackList){
|
|
|
|
- if(res.trackList[i].ActionType !== '28'){
|
|
|
|
- if(res.trackList[i].ActionType22 != undefined){
|
|
|
|
- this.lzNum = this.lzNum+res.trackList[i].ActionType22.length
|
|
|
|
- }else{
|
|
|
|
|
|
+ for (let i in res.trackList) {
|
|
|
|
+ if (res.trackList[i].ActionType !== '28') {
|
|
|
|
+ if (res.trackList[i].ActionType22 != undefined) {
|
|
|
|
+ this.lzNum = this.lzNum + res.trackList[i].ActionType22.length
|
|
|
|
+ } else {
|
|
this.lzNum = this.lzNum + 1
|
|
this.lzNum = this.lzNum + 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -482,184 +581,198 @@
|
|
}
|
|
}
|
|
return obj
|
|
return obj
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//节点选择
|
|
//节点选择
|
|
change(e) {
|
|
change(e) {
|
|
- if(e.length != 0){
|
|
|
|
|
|
+ if (e.length != 0) {
|
|
this.id = this.list[e].id
|
|
this.id = this.list[e].id
|
|
this.DeliveryWay = this.list[e].DeliveryWay
|
|
this.DeliveryWay = this.list[e].DeliveryWay
|
|
this.content.toNodeId = this.list[e].id
|
|
this.content.toNodeId = this.list[e].id
|
|
this.content.nodeId = this.list[e].id
|
|
this.content.nodeId = this.list[e].id
|
|
this.content.optionName = this.list[e].text
|
|
this.content.optionName = this.list[e].text
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
//选择归档分类
|
|
//选择归档分类
|
|
- chooseGd(){
|
|
|
|
|
|
+ chooseGd() {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url:"/pages/file/file"
|
|
|
|
|
|
+ url: "/pages/file/file"
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//选择人员相关
|
|
//选择人员相关
|
|
choosePeo() {
|
|
choosePeo() {
|
|
- if(this.id == null){
|
|
|
|
|
|
+ if (this.id == null) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请先选择下一节点",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请先选择下一节点",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url:`/pages/peoChoose/peoChoose?workid=${this.workid}&flowNo=${this.flowNo}&id=${this.id}`,
|
|
|
|
|
|
+ url: `/pages/peoChoose/peoChoose?workid=${this.workid}&flowNo=${this.flowNo}&id=${this.id}`,
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//提交待办
|
|
//提交待办
|
|
- submit(){
|
|
|
|
- if(this.id == null){
|
|
|
|
|
|
+ submit() {
|
|
|
|
+ if (this.id == null && this.nodeId != '207') {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请先选择下一节点",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请先选择下一节点",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else if(this.content.users == null && this.DeliveryWay ==4){
|
|
|
|
|
|
+ } else if (this.content.users == null && this.DeliveryWay == 4) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请选择人员",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请选择人员",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else if(this.content.reviewMsg == null){
|
|
|
|
|
|
+ } else if (this.content.reviewMsg == null) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请填写审批意见",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请填写审批意见",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
- title:"提交中...",
|
|
|
|
- mask:true
|
|
|
|
|
|
+ title: "提交中...",
|
|
|
|
+ mask: true
|
|
})
|
|
})
|
|
- uni.$u.http.put("/offcial/message",this.content).then(qaz=>{
|
|
|
|
|
|
+ uni.$u.http.put("/offcial/message", this.content).then(qaz => {
|
|
console.log(qaz)
|
|
console.log(qaz)
|
|
- uni.$u.http.post("/offcial/receive/sendFlowToUsers",this.content,{
|
|
|
|
|
|
+ uni.$u.http.post("/offcial/receive/sendFlowToUsers", this.content, {
|
|
header: {
|
|
header: {
|
|
// 'Content-Type': 'multipart/form-data'
|
|
// 'Content-Type': 'multipart/form-data'
|
|
'content-Type': 'application/x-www-form-urlencoded'
|
|
'content-Type': 'application/x-www-form-urlencoded'
|
|
}
|
|
}
|
|
- }).then(res=>{
|
|
|
|
- console.log(res)
|
|
|
|
|
|
+ }).then(res => {
|
|
|
|
+ console.log(res.data.VarAcceptersName)
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
- if (res.data.VarAcceptersName != "" && res.data.VarAcceptersName != "结束") {
|
|
|
|
|
|
+ if (res.data.VarAcceptersName != "" && res.data.VarAcceptersName !=
|
|
|
|
+ undefined && res.data.VarAcceptersName != "结束") {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: "已发送到" + res.data.VarToNodeName + "节点,接收人:" + res
|
|
title: "已发送到" + res.data.VarToNodeName + "节点,接收人:" + res
|
|
.data.VarAcceptersName,
|
|
.data.VarAcceptersName,
|
|
icon: "none",
|
|
icon: "none",
|
|
mask: true,
|
|
mask: true,
|
|
- duration:3000
|
|
|
|
|
|
+ duration: 3000
|
|
})
|
|
})
|
|
- } else if (res.data.VarAcceptersName == "结束") {
|
|
|
|
|
|
+ } else if (this.overType) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.data.Message,
|
|
title: res.data.Message,
|
|
icon: "none",
|
|
icon: "none",
|
|
mask: true,
|
|
mask: true,
|
|
- duration:3000
|
|
|
|
|
|
+ duration: 3000
|
|
})
|
|
})
|
|
|
|
+ console.log('78452')
|
|
} else {
|
|
} else {
|
|
|
|
+ // if (res.data.Message.replace(/[@]/g, "")) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.data.Message.replace(/[@]/g, ""),
|
|
title: res.data.Message.replace(/[@]/g, ""),
|
|
icon: "none",
|
|
icon: "none",
|
|
mask: true,
|
|
mask: true,
|
|
- duration:3000
|
|
|
|
|
|
+ duration: 3000
|
|
})
|
|
})
|
|
|
|
+ // } else {
|
|
|
|
+ // uni.showToast({
|
|
|
|
+ // title: res.data.Message,
|
|
|
|
+ // icon: "none",
|
|
|
|
+ // mask: true,
|
|
|
|
+ // duration: 3000
|
|
|
|
+ // })
|
|
|
|
+ // }
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
uni.$emit('query', {
|
|
uni.$emit('query', {
|
|
a: 'back'
|
|
a: 'back'
|
|
})
|
|
})
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
uni.navigateBack()
|
|
uni.navigateBack()
|
|
}, 2000)
|
|
}, 2000)
|
|
- }).catch(res=>{
|
|
|
|
|
|
+ }).catch(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请稍后重试",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请稍后重试",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
})
|
|
})
|
|
- }).catch(res=>{
|
|
|
|
|
|
+ }).catch(res => {
|
|
console.log(res)
|
|
console.log(res)
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请稍后重试",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请稍后重试",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//保存归档
|
|
//保存归档
|
|
- save(){
|
|
|
|
- if(this.content.archiveNo == null){
|
|
|
|
|
|
+ save() {
|
|
|
|
+ if (this.content.archiveNo == null) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请填写档案编号",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请填写档案编号",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else if(this.content.typeId == null){
|
|
|
|
|
|
+ } else if (this.content.typeId == null) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请选择归档分类",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请选择归档分类",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else if(this.content.printNum == null || this.content.printNum<1 || this.content.printNum % 1 != 0){
|
|
|
|
|
|
+ } else if (this.content.printNum == null || this.content.printNum < 1 || this.content.printNum % 1 != 0) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请填写正确打印份数",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请填写正确打印份数",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
this.content.reviewMsg = "同意"
|
|
this.content.reviewMsg = "同意"
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
- title:"提交中...",
|
|
|
|
- mask:true
|
|
|
|
|
|
+ title: "提交中...",
|
|
|
|
+ mask: true
|
|
})
|
|
})
|
|
- uni.$u.http.put("/offcial/message",this.content).then(qaz=>{
|
|
|
|
- uni.$u.http.post("/offcial/archive/save",this.content).then(res=>{
|
|
|
|
|
|
+ uni.$u.http.put("/offcial/message", this.content).then(qaz => {
|
|
|
|
+ uni.$u.http.post("/offcial/archive/save", this.content).then(res => {
|
|
uni.$u.http.get('/jflow/restful/GenerNextStepAllNode', {
|
|
uni.$u.http.get('/jflow/restful/GenerNextStepAllNode', {
|
|
params: {
|
|
params: {
|
|
- workid:this.parameter.workid,
|
|
|
|
|
|
+ workid: this.parameter.workid,
|
|
token: uni.getStorageSync('jtoken'),
|
|
token: uni.getStorageSync('jtoken'),
|
|
flowNo: this.parameter.flowNo,
|
|
flowNo: this.parameter.flowNo,
|
|
}
|
|
}
|
|
}).then(qwe => {
|
|
}).then(qwe => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"归档成功",
|
|
|
|
- icon:"none",
|
|
|
|
- mask:true,
|
|
|
|
- duration:2000
|
|
|
|
|
|
+ title: "归档成功",
|
|
|
|
+ icon: "none",
|
|
|
|
+ mask: true,
|
|
|
|
+ duration: 2000
|
|
|
|
+ })
|
|
|
|
+ uni.$emit('query', {
|
|
|
|
+ a: 'back'
|
|
})
|
|
})
|
|
- uni.$emit('query' , {a : 'back'})
|
|
|
|
- setTimeout(()=>{
|
|
|
|
- uni.navigateBack()
|
|
|
|
- },2000)
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ uni.navigateBack()
|
|
|
|
+ }, 2000)
|
|
})
|
|
})
|
|
- }).catch(res=>{
|
|
|
|
|
|
+ }).catch(res => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请稍后重试",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请稍后重试",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
})
|
|
})
|
|
- }).catch(res=>{
|
|
|
|
|
|
+ }).catch(res => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请稍后重试",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请稍后重试",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//下载附件
|
|
//下载附件
|
|
- downLoad(v){
|
|
|
|
|
|
+ downLoad(v) {
|
|
let that = this
|
|
let that = this
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
- url:"/pages/office/office?url="+getApp().globalData.saveUrl+v
|
|
|
|
|
|
+ url: "/pages/office/office?url=" + getApp().globalData.saveUrl + v
|
|
})
|
|
})
|
|
// uni.showLoading({
|
|
// uni.showLoading({
|
|
// title:"打开中...",
|
|
// title:"打开中...",
|
|
@@ -700,16 +813,16 @@
|
|
// }
|
|
// }
|
|
// });
|
|
// });
|
|
// }
|
|
// }
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
//保存修改收文信息
|
|
//保存修改收文信息
|
|
- saveFw(){
|
|
|
|
-
|
|
|
|
|
|
+ saveFw() {
|
|
|
|
+
|
|
},
|
|
},
|
|
//查询是否能退回
|
|
//查询是否能退回
|
|
- getBackNo(id){
|
|
|
|
- uni.$u.http.get("/jflow/restful/CurrNodeInfo?currNodeID="+id).then(res=>{
|
|
|
|
- if(res[0].ReturnRole != 0){
|
|
|
|
|
|
+ getBackNo(id) {
|
|
|
|
+ uni.$u.http.get("/jflow/restful/CurrNodeInfo?currNodeID=" + id).then(res => {
|
|
|
|
+ if (res[0].ReturnRole != 0) {
|
|
this.getBackList()
|
|
this.getBackList()
|
|
this.backType = true
|
|
this.backType = true
|
|
this.content.returnToNodeID = null
|
|
this.content.returnToNodeID = null
|
|
@@ -718,13 +831,13 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//获取退回节点列表
|
|
//获取退回节点列表
|
|
- getBackList(){
|
|
|
|
- uni.$u.http.get("/jflow/restful/getReturnWorkNode",{
|
|
|
|
- params:{
|
|
|
|
|
|
+ getBackList() {
|
|
|
|
+ uni.$u.http.get("/jflow/restful/getReturnWorkNode", {
|
|
|
|
+ params: {
|
|
workid: this.parameter.workid,
|
|
workid: this.parameter.workid,
|
|
token: uni.getStorageSync('jtoken')
|
|
token: uni.getStorageSync('jtoken')
|
|
}
|
|
}
|
|
- }).then(res=>{
|
|
|
|
|
|
+ }).then(res => {
|
|
this.backlist = res.map((item, index) => {
|
|
this.backlist = res.map((item, index) => {
|
|
let obj = {
|
|
let obj = {
|
|
value: item.No,
|
|
value: item.No,
|
|
@@ -736,34 +849,34 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//退回上一节点
|
|
//退回上一节点
|
|
- back(){
|
|
|
|
- if(this.content.returnToNodeID == null){
|
|
|
|
|
|
+ back() {
|
|
|
|
+ if (this.content.returnToNodeID == null) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请选择退回节点",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请选择退回节点",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else if(this.content.backMsg == null){
|
|
|
|
|
|
+ } else if (this.content.backMsg == null) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请填写退回意见",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请填写退回意见",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
- title:"退回中...",
|
|
|
|
|
|
+ title: "退回中...",
|
|
})
|
|
})
|
|
- uni.$u.http.get("/offcial/receive/NodeReturnWork",{
|
|
|
|
- params:{
|
|
|
|
|
|
+ uni.$u.http.get("/offcial/receive/NodeReturnWork", {
|
|
|
|
+ params: {
|
|
workid: this.parameter.workid,
|
|
workid: this.parameter.workid,
|
|
returnToNodeID: this.content.returnToNodeID,
|
|
returnToNodeID: this.content.returnToNodeID,
|
|
- returnMsg:this.content.backMsg
|
|
|
|
|
|
+ returnMsg: this.content.backMsg
|
|
}
|
|
}
|
|
- }).then(res=>{
|
|
|
|
|
|
+ }).then(res => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
this.close()
|
|
this.close()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:res,
|
|
|
|
- icon:"none",
|
|
|
|
- duration:2000
|
|
|
|
|
|
+ title: res,
|
|
|
|
+ icon: "none",
|
|
|
|
+ duration: 2000
|
|
})
|
|
})
|
|
uni.$emit('query', {
|
|
uni.$emit('query', {
|
|
a: 'back'
|
|
a: 'back'
|
|
@@ -771,18 +884,18 @@
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
uni.navigateBack()
|
|
uni.navigateBack()
|
|
}, 2000)
|
|
}, 2000)
|
|
- }).catch(error=>{
|
|
|
|
|
|
+ }).catch(error => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title:"请稍后重试",
|
|
|
|
- icon:"none"
|
|
|
|
|
|
+ title: "请稍后重试",
|
|
|
|
+ icon: "none"
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
//关闭模态框
|
|
//关闭模态框
|
|
- close(){
|
|
|
|
|
|
+ close() {
|
|
this.content.returnToNodeID = null
|
|
this.content.returnToNodeID = null
|
|
this.content.backMsg = null
|
|
this.content.backMsg = null
|
|
this.show = false
|
|
this.show = false
|
|
@@ -795,7 +908,8 @@
|
|
.content {
|
|
.content {
|
|
font-size: 32rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
}
|
|
- .tab{
|
|
|
|
|
|
+
|
|
|
|
+ .tab {
|
|
width: 48%;
|
|
width: 48%;
|
|
height: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
@@ -803,7 +917,36 @@
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
- .active{
|
|
|
|
- color:#2979ff
|
|
|
|
|
|
+
|
|
|
|
+ .active {
|
|
|
|
+ color: #2979ff
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ::v-deep .uni-select--disabled[data-v-6b64008e] {
|
|
|
|
+ background-color: white;
|
|
|
|
+ cursor: not-allowed;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ::v-deep .edit .uni-select[data-v-6b64008e] {
|
|
|
|
+ font-size: 15px;
|
|
|
|
+ border: none;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+ padding: 0px;
|
|
|
|
+ padding-left: 0px;
|
|
|
|
+ position: relative;
|
|
|
|
+ display: flex;
|
|
|
|
+ -webkit-user-select: none;
|
|
|
|
+ user-select: none;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+ align-items: center;
|
|
|
|
+ border-bottom: none;
|
|
|
|
+ width: 100%;
|
|
|
|
+ flex: 1;
|
|
|
|
+ height: 35px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ::v-deep .edit .uniui-bottom[data-v-a2e81f6e]:before {
|
|
|
|
+ content: "";
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|