|
@@ -1,14 +1,31 @@
|
|
<template>
|
|
<template>
|
|
- <view>
|
|
|
|
- <view class="head-approve">
|
|
|
|
- <view class="title">
|
|
|
|
- {{fieldInfo.title}}
|
|
|
|
- </view>
|
|
|
|
- <view class="title">
|
|
|
|
- <span :style="{color:recordStatusColor(formData.status)}">{{formData.statusN}}</span>
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <vew class="head-approve-main" >
|
|
|
|
+ <view class="head-approve">
|
|
|
|
+ <view class="head-approve-a">
|
|
|
|
+ <view class="head-approve-a1">
|
|
|
|
+ <u-avatar size="36" :src="formData.headImg" class="img"></u-avatar>
|
|
|
|
+ <view class="head-approve-2">
|
|
|
|
+ {{formData.applyPersonName}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <view class="head-approve-3">申请了<span class="head-approve-2" style="color:#2196F3;">{{fieldInfo.title}}</span></view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="head-approve-b" :style="{
|
|
|
|
+ color:recordStatusColor(formData.status),
|
|
|
|
+ borderColor:recordStatusColor(formData.status),
|
|
|
|
+ }" >
|
|
|
|
+ <span >{{formData.statusN}}</span>
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
|
|
+ <view class="head-approve-info">
|
|
|
|
+ <view>申请人部门:{{formData.orgName}}</view>
|
|
|
|
+ <view>申请时间:{{formData.createTime}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ </vew>
|
|
|
|
+
|
|
<view class="businessMain" :style="'font-size:'+fieldInfo.fontsize+'rpx'">
|
|
<view class="businessMain" :style="'font-size:'+fieldInfo.fontsize+'rpx'">
|
|
|
|
|
|
|
|
|
|
@@ -48,13 +65,7 @@
|
|
{{item.name}}
|
|
{{item.name}}
|
|
</u-radio>
|
|
</u-radio>
|
|
</u-radio-group>
|
|
</u-radio-group>
|
|
- <!-- {{radioListDefault.length}}
|
|
|
|
- <u-radio-group >
|
|
|
|
- <u-radio v-for="(radItem, radIndex) in radioListDefault"
|
|
|
|
- :key="radIndex+'_'+item.key" :name="radItem.value">
|
|
|
|
- {{radItem.name}}
|
|
|
|
- </u-radio>
|
|
|
|
- </u-radio-group> -->
|
|
|
|
|
|
+
|
|
|
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -88,9 +99,11 @@
|
|
<view class="oawork-item2">
|
|
<view class="oawork-item2">
|
|
|
|
|
|
<template v-if="item.type.indexOf('textlong')>-1">
|
|
<template v-if="item.type.indexOf('textlong')>-1">
|
|
- <u-input v-model="formData[item.key]" placeholder="" :disabled="true"
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <u-input v-model="formData[item.key]" placeholder="" :disabled="true"
|
|
:placeholderStyle="placeholderStyle" class="oawork-line" type="textarea" />
|
|
:placeholderStyle="placeholderStyle" class="oawork-line" type="textarea" />
|
|
-
|
|
|
|
|
|
+
|
|
</template>
|
|
</template>
|
|
<template v-if="item.type.indexOf('upload')>-1">
|
|
<template v-if="item.type.indexOf('upload')>-1">
|
|
<view class="upload">
|
|
<view class="upload">
|
|
@@ -130,6 +143,7 @@
|
|
personInfo: {},
|
|
personInfo: {},
|
|
createTime: "",
|
|
createTime: "",
|
|
createTime2: "",
|
|
createTime2: "",
|
|
|
|
+ stepNum:"",
|
|
|
|
|
|
fileList:{
|
|
fileList:{
|
|
type: Array,
|
|
type: Array,
|
|
@@ -159,6 +173,7 @@
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ stepSubmit:false,
|
|
radioListDefault: [{
|
|
radioListDefault: [{
|
|
name: '是',
|
|
name: '是',
|
|
value: '1'
|
|
value: '1'
|
|
@@ -173,6 +188,16 @@
|
|
|
|
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
|
|
+ // getRole(item){
|
|
|
|
+ // if(item.role){
|
|
|
|
+ // if(item.role.indexOf("step1")>-1){
|
|
|
|
+ // this.stepSubmit=true
|
|
|
|
+ // return true
|
|
|
|
+ // }
|
|
|
|
+ // }else{
|
|
|
|
+ // return false
|
|
|
|
+ // }
|
|
|
|
+ // },
|
|
onEditorReady(html) {
|
|
onEditorReady(html) {
|
|
// #ifdef MP-BAIDU
|
|
// #ifdef MP-BAIDU
|
|
this.editorCtx = requireDynamicLib('editorLib').createEditorContext('editor');
|
|
this.editorCtx = requireDynamicLib('editorLib').createEditorContext('editor');
|
|
@@ -276,11 +301,12 @@
|
|
|
|
|
|
.oawork-item1_a {
|
|
.oawork-item1_a {
|
|
min-width: 160rpx;
|
|
min-width: 160rpx;
|
|
- font-weight: bold;
|
|
|
|
|
|
+ //font-weight: bold;
|
|
|
|
+ color: #777777;
|
|
}
|
|
}
|
|
|
|
|
|
.oawork-item1_b {
|
|
.oawork-item1_b {
|
|
- color: #777777;
|
|
|
|
|
|
+ //color: #777777;
|
|
width: 100%;
|
|
width: 100%;
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
@@ -344,7 +370,8 @@
|
|
padding: 4rpx 0px 4rpx 20rpx;
|
|
padding: 4rpx 0px 4rpx 20rpx;
|
|
width: 49%;
|
|
width: 49%;
|
|
|
|
|
|
- .oawork-item1_a {
|
|
|
|
|
|
+ .oawork-item1_a {
|
|
|
|
+ font-size: 28rpx;
|
|
min-width: 140rpx !important;
|
|
min-width: 140rpx !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -368,16 +395,46 @@
|
|
.submitBtn60 {
|
|
.submitBtn60 {
|
|
width: 60%;
|
|
width: 60%;
|
|
}
|
|
}
|
|
- }
|
|
|
|
- .head-approve{
|
|
|
|
- font-weight: bold;
|
|
|
|
- padding: 8px 8px;
|
|
|
|
- background: #ffffff;
|
|
|
|
- margin-bottom: 8px;
|
|
|
|
- display: flex;
|
|
|
|
- flex-wrap: wrap;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- font-size: 36rpx;
|
|
|
|
|
|
+ }
|
|
|
|
+ .head-approve-main{
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ .head-approve-info{
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ margin-bottom: 8px;
|
|
|
|
+ padding: 0px 8px 8px 8px;
|
|
|
|
+ }
|
|
|
|
+ .head-approve{
|
|
|
|
+ padding: 8px 8px;
|
|
|
|
+ background: #ffffff;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ font-size: 32rpx;
|
|
|
|
+
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+
|
|
|
|
+ .head-approve-a{
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
|
|
+ .head-approve-a1{
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ }
|
|
|
|
+ .head-approve-2{
|
|
|
|
+ padding: 0 3px
|
|
|
|
+ }
|
|
|
|
+ .head-approve-b{
|
|
|
|
+ padding: 2px 9px;
|
|
|
|
+ border: 1px solid;
|
|
|
|
+ border-radius: 18px;
|
|
|
|
+ font-size: 24rpx;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
}
|
|
}
|
|
//@import "../data/editor-icon.css";
|
|
//@import "../data/editor-icon.css";
|
|
.ql-containerMain{
|
|
.ql-containerMain{
|