ui 优化
This commit is contained in:
1 parent
c0270b7f6a
commit
e7ea27cf6b
8 files changed
+118
-130
No files matched your search
@@ -89,24 +89,31 @@
|
||||
</v-data-table>
|
||||
</v-card>
|
||||
<!-- <<<<<<<<<<<<< 页面内容 -->
|
||||
|
||||
<!--编辑抽屉-->
|
||||
<v-navigation-drawer v-model="isViewDrawerShown" v-click-outside="drawerClickOutside" fixed temporary right width="80%"
|
||||
class="elevation-24">
|
||||
<v-form v-if="isViewDrawerShown" ref="updateForm" lazy-validation>
|
||||
<!--抽屉标题-->
|
||||
<v-row class="ma-0">
|
||||
<span class="text-h6 pa-4">历史审核记录</span>
|
||||
<span class="title pa-4">历史审核记录</span>
|
||||
</v-row>
|
||||
<!--抽屉表单-->
|
||||
<v-row class="mt-0 px-4">
|
||||
<v-col cols="12" sm="12" v-for="(item, index) in viewItem.taskFormInput.formList" :key="index">
|
||||
<v-row class="mt-0 px-4" >
|
||||
<v-col cols="12" sm="12" md="4" class="py-0" v-for="(item, index) in viewItem.taskFormInput.formList" :key="index">
|
||||
<form-item :form-item="item" readonly></form-item>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<span class="jh-input-label px-4">审核申请信息</span>
|
||||
<task-history :task-id="viewItem.taskId"></task-history>
|
||||
</v-form>
|
||||
|
||||
<!-- 审核申请信息 -->
|
||||
<v-row class="mt-8">
|
||||
<v-col cols="12" sm="12" md="12">
|
||||
<div class="text-subtitle-2 mb-2 mx-4">审核申请信息</div>
|
||||
<task-history :task-id="viewItem.taskId"></task-history>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
<!--抽屉关闭按钮-->
|
||||
<v-btn elevation="0" color="success" fab absolute top left small tile class="drawer-close-float-btn"
|
||||
@click="isViewDrawerShown = false">
|
||||
|
||||
+11
-9
@@ -120,9 +120,15 @@
|
||||
<!--抽屉标题-->
|
||||
<v-row class="ma-0">
|
||||
<span class="title pa-4">审核信息</span>
|
||||
<!-- 抽屉操作按钮 -->
|
||||
<v-row class="justify-end mx-0 mt-4 px-4">
|
||||
<v-btn :color="lineTypeItem.type === '拒绝' ? 'error' : 'success'" small class="ml-2" v-for="lineTypeItem in lineTypeList" v-if="lineTypeItem.type" @click="doUiAction('submitNode', lineTypeItem.type)">
|
||||
{{ lineTypeItem.type }}
|
||||
</v-btn>
|
||||
</v-row>
|
||||
</v-row>
|
||||
<!--抽屉表单-->
|
||||
<v-row class="mt-0 px-4">
|
||||
<v-row class="mt-0 px-4" >
|
||||
<v-col cols="12" sm="12" md="4" v-for="(formItem, index) in updateItem.taskFormInput.formList" :key="index">
|
||||
<form-item :form-item="formItem" :readonly="updateItem.readonlyFormIdList"></form-item>
|
||||
</v-col>
|
||||
@@ -133,16 +139,12 @@
|
||||
v-model="updateItem.taskComment" :readonly="workflowType != 'todo'"></v-textarea>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<!--抽屉操作按钮-->
|
||||
<v-row class="justify-end mx-0 mt-8 px-6">
|
||||
<v-btn color="success" small class="ml-4" v-for="lineTypeItem in lineTypeList" v-if="lineTypeItem.type" @click="doUiAction('submitNode', lineTypeItem.type)">
|
||||
{{ lineTypeItem.type }}
|
||||
</v-btn>
|
||||
</v-row>
|
||||
</v-form>
|
||||
<v-row class="mt-0">
|
||||
|
||||
<!-- 审核历史 -->
|
||||
<v-row class="mt-8">
|
||||
<v-col cols="12" sm="12" md="12">
|
||||
<span class="jh-input-label px-4">审核历史</span>
|
||||
<div class="text-subtitle-2 mb-2 mx-4">审核历史</div>
|
||||
<task-history :task-id="updateItem.taskId" @line-type-list="setLineTypeList"></task-history>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
</v-row>
|
||||
<!--抽屉表单主体-->
|
||||
<v-row class="mt-0 px-6">
|
||||
<v-col cols="12" sm="12" md="4" v-for="(item, index) in currentWorkflowForm" :key="index">
|
||||
<v-col cols="12" sm="12" :md="item.type === 'short' ? 12 : 4" v-for="(item, index) in currentWorkflowForm" :key="index">
|
||||
<form-item :form-item="item"></form-item>
|
||||
</v-col>
|
||||
<v-col cols="12" sm="12" md="12">
|
||||
|
||||
Reference in new issue
Block a user