|
@@ -7,14 +7,12 @@
|
|
|
|
|
|
|
|
|
<div style="display: flex; flex-direction: row;">
|
|
|
- <fileCard :gwId="inputForm.id" style="width: 50%;" ></fileCard>
|
|
|
-
|
|
|
-
|
|
|
+ <fileCard :gwId="inputForm.id" ref="filecard" v-if="visible" style="width: 50%;" ></fileCard>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
- <div style="height: 250px; width: 450px; margin-left: 50px;">
|
|
|
+ <div class="cll" :style="{height:heightpx }" >
|
|
|
<el-steps direction="vertical" :active="assignWorkOrderRecordDTOList.length" >
|
|
|
<el-step v-for="item in assignWorkOrderRecordDTOList" :title="item.which=='0'?'办公室拟办':item.which=='1'?'领导审批':item.which=='2'?'承办情况':item.which=='3'?'承办转发':'已归档'" :description="item.state==1?item.nextTruename :item.nextTruename +' - '+item.updateTime"/>
|
|
|
</el-steps>
|
|
@@ -24,21 +22,16 @@
|
|
|
<div style="display: flex; flex-direction:column;margin-left: 60px;margin-top:20px">
|
|
|
|
|
|
|
|
|
+ <view v-if="istransmit&&method=='edit'" class="titletab" >承办转发</view>
|
|
|
<view v-if="isoffice&&method=='edit'" class="titletab" >办公室拟办</view>
|
|
|
<view v-if="isleader&&method=='edit'" class="titletab" >领导批示</view>
|
|
|
<view v-if="isundertake&&method=='edit'" class="titletab" >承办科室</view>
|
|
|
|
|
|
|
|
|
|
|
|
- <el-form v-if="isoffice&&method=='edit'" :model="auditForm" ref="auditForm" v-loading="loading" label-position="right" label-width="auto" style="max-width: 400px;margin-top: 40px;" >
|
|
|
+ <el-form v-if="istransmit&&method=='edit'" :model="auditForm" ref="auditForm" v-loading="loading" label-position="right" label-width="auto" style="max-width: 400px;margin-top: 40px;" >
|
|
|
<el-row :gutter="15">
|
|
|
- <el-col :span="24" v-if="one">
|
|
|
- <el-form-item label="办公室拟办" prop="content"
|
|
|
- :rules="[
|
|
|
- ]">
|
|
|
- <el-input type="textarea" v-model="auditForm.content" placeholder="" ></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="转发领导" prop="nextLeadUser"
|
|
|
:rules="[
|
|
@@ -64,7 +57,8 @@
|
|
|
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" v-if="one">
|
|
|
+ <!-- <el-col :span="24" v-if="one"> -->
|
|
|
+ <el-col :span="24">
|
|
|
<el-form-item label="备注" prop="remark"
|
|
|
:rules="[
|
|
|
]">
|
|
@@ -74,6 +68,17 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
|
|
|
+ <el-form v-if="isoffice&&method=='edit'" :model="auditForm" ref="auditForm" v-loading="loading" label-position="right" label-width="auto" style="max-width: 400px;margin-top: 40px;">
|
|
|
+ <el-row :gutter="15">
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="办公室拟办" prop="content"
|
|
|
+ :rules="[
|
|
|
+ ]">
|
|
|
+ <el-input type="textarea" v-model="auditForm.content" placeholder="" style="min-width: 300px;" ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
|
|
|
<el-form v-if="isleader&&method=='edit'" :model="auditForm" ref="auditForm" v-loading="loading" label-position="right" label-width="auto" style="max-width: 400px;margin-top: 40px;">
|
|
|
<el-row :gutter="15">
|
|
@@ -128,8 +133,8 @@
|
|
|
<template #footer>
|
|
|
<span class="dialog-footer">
|
|
|
<el-button @click="visible = false" icon="circle-close">关闭</el-button>
|
|
|
- <el-button v-if="((isundertake||isleader||one )&& !loading)&&method=='edit'" type="primary" @click="doSubmit()" icon="circle-check" v-noMoreClick>确认签字</el-button>
|
|
|
- <el-button v-if="(!(isundertake||isleader||one ) && !loading)&&method=='edit'" type="primary" @click="doSubmit()" icon="circle-check" v-noMoreClick>提交</el-button>
|
|
|
+ <el-button v-if="((isundertake||isleader||isoffice )&& !loading)&&method=='edit'" type="primary" @click="doSubmit()" icon="circle-check" v-noMoreClick>确认签字</el-button>
|
|
|
+ <el-button v-if="(!(isundertake||isleader||isoffice ) && !loading)&&method=='edit'" type="primary" @click="doSubmit()" icon="circle-check" v-noMoreClick>提交</el-button>
|
|
|
<el-button type="primary" v-if="isAll" @click="formSubmit()" icon="circle-check" v-noMoreClick>归档</el-button>
|
|
|
</span>
|
|
|
</template>
|
|
@@ -152,7 +157,7 @@
|
|
|
istransmit: false,
|
|
|
one: true,
|
|
|
isAll: false,
|
|
|
-
|
|
|
+ heightpx:'400px',
|
|
|
leaderList: [],
|
|
|
auditForm: {
|
|
|
id: '',
|
|
@@ -211,9 +216,6 @@
|
|
|
this.title = '文件阅办卡详情'
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
this.visible = true
|
|
|
this.loading = false
|
|
|
this.$nextTick(() => {
|
|
@@ -257,7 +259,6 @@
|
|
|
}
|
|
|
if (role == '办公室管理员') {
|
|
|
this.istransmit = true
|
|
|
-
|
|
|
if (gw.length == 0) {
|
|
|
let gw1 = data.filter(item => {
|
|
|
return item.which == 3
|
|
@@ -275,7 +276,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+ let a=data.length*60;
|
|
|
+ this.heightpx=a+"px";
|
|
|
this.assignWorkOrderRecordDTOList=data.reverse()
|
|
|
})
|
|
|
|
|
@@ -287,8 +289,8 @@
|
|
|
let inputForm = {};
|
|
|
this.loading = true
|
|
|
if (this.istransmit) {
|
|
|
- inputForm.next = '1'
|
|
|
- if (!this.one) inputForm.which = '3'
|
|
|
+ this.auditForm.next = '1'
|
|
|
+ if (!this.one) this.auditForm.which = '3'
|
|
|
}
|
|
|
this.auditForm.state = "0"
|
|
|
this.auditForm.gwId = this.inputForm.id
|
|
@@ -334,4 +336,7 @@
|
|
|
.titletab {
|
|
|
color:#36a7f3 ;border-bottom:1px solid #36a7f3; width: 90px;padding: 6px;
|
|
|
}
|
|
|
+ .cll{
|
|
|
+ width: 450px; margin-left: 50px;
|
|
|
+ }
|
|
|
</style>
|