|
@@ -1,28 +1,26 @@
|
|
|
<template>
|
|
|
- <a-card :bordered="false" v-show="visible" class="card" :title="modalTitle">
|
|
|
- <a-row :gutter="48" slot="extra">
|
|
|
- <a-col :md="48" :sm="48">
|
|
|
- <span class="table-page-search-submitButtons" style="float: right">
|
|
|
- <a-button style="margin-left: 8px" type="default" @click="handleCancel()">返回</a-button>
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <detail-list title="" :col="2">
|
|
|
- <detail-list-item term="单号">{{ model.no }}</detail-list-item>
|
|
|
- <detail-list-item term="设备Id"><a @click="sbIdhandleDetail">{{ model.sbId }}</a></detail-list-item>
|
|
|
- <detail-list-item term="设备编号">{{ model.sbNo }}</detail-list-item>
|
|
|
- <detail-list-item term="设备名称">{{ model.sbName }}</detail-list-item>
|
|
|
- <detail-list-item term="报废原因">{{ model.reason }}</detail-list-item>
|
|
|
- <detail-list-item term="备注">{{ model.remark }}</detail-list-item>
|
|
|
- <detail-list-item term="状态">{{ BaseTool.Object.getField(this.statusMap,model.status) }}</detail-list-item>
|
|
|
- <detail-list-item term="申请人">{{ model.applyUserId }}</detail-list-item>
|
|
|
- <detail-list-item term="申请人名称">{{ model.applyUserName }}</detail-list-item>
|
|
|
- <detail-list-item term="创建人">{{ model.createdUserId }}</detail-list-item>
|
|
|
- <detail-list-item term="更新人">{{ model.updateUserId }}</detail-list-item>
|
|
|
- <detail-list-item term="更新人名称">{{ model.updateUserName }}</detail-list-item>
|
|
|
- <detail-list-item term="更新日期">{{ model.updateTime }}</detail-list-item>
|
|
|
- </detail-list>
|
|
|
- <history :target-id="model.id" :process-instance-id="model.processInstanceId" :ok="handleCancel"></history>
|
|
|
+ <a-card :bordered="false" class="card" :title="modalTitle">
|
|
|
+ <div v-show="visible">
|
|
|
+ <a-row :gutter="48" slot="extra">
|
|
|
+ <a-col :md="48" :sm="48">
|
|
|
+ <span class="table-page-search-submitButtons" style="float: right">
|
|
|
+ <a-button style="margin-left: 8px" type="default" @click="handleCancel()">返回</a-button>
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <detail-list title="" :col="2">
|
|
|
+ <detail-list-item term="单号">{{ model.no }}</detail-list-item>
|
|
|
+ <detail-list-item term="设备Id"><a @click="sbIdhandleDetail">{{ model.sbId }}</a></detail-list-item>
|
|
|
+ <detail-list-item term="设备编号">{{ model.sbNo }}</detail-list-item>
|
|
|
+ <detail-list-item term="设备名称">{{ model.sbName }}</detail-list-item>
|
|
|
+ <detail-list-item term="报废原因">{{ model.reason }}</detail-list-item>
|
|
|
+ <detail-list-item term="备注">{{ model.remark }}</detail-list-item>
|
|
|
+ <detail-list-item term="状态">{{ BaseTool.Object.getField(this.statusMap,model.status) }}</detail-list-item>
|
|
|
+ <detail-list-item term="创建日期">{{ model.createdTime }}</detail-list-item>
|
|
|
+ <detail-list-item term="更新日期">{{ model.updateTime }}</detail-list-item>
|
|
|
+ </detail-list>
|
|
|
+ </div>
|
|
|
+ <history :target-id="model.id" :process-instance-id="model.processInstanceId" :audit="false" :ok="handleCancel"></history>
|
|
|
</a-card>
|
|
|
</template>
|
|
|
|
|
@@ -47,6 +45,7 @@ export default {
|
|
|
// 下拉框map
|
|
|
statusMap: {},
|
|
|
model: {
|
|
|
+ 'id': null,
|
|
|
'no': null,
|
|
|
'sbId': null,
|
|
|
'sbNo': null,
|
|
@@ -54,6 +53,7 @@ export default {
|
|
|
'reason': null,
|
|
|
'remark': null,
|
|
|
'status': null,
|
|
|
+ 'processInstanceId': null,
|
|
|
'applyUserId': null,
|
|
|
'applyUserName': null,
|
|
|
'createdUserId': null,
|
|
@@ -65,7 +65,6 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
// 下拉框map
|
|
|
-
|
|
|
this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.ACTIVITI_FORM_STATUS)
|
|
|
},
|
|
|
methods: {
|