diff --git a/sgzb-ui/src/views/claimAndreturn/picking/protocol/index.vue b/sgzb-ui/src/views/claimAndreturn/picking/protocol/index.vue
index 2fb60b5e..72982aee 100644
--- a/sgzb-ui/src/views/claimAndreturn/picking/protocol/index.vue
+++ b/sgzb-ui/src/views/claimAndreturn/picking/protocol/index.vue
@@ -157,7 +157,7 @@
prop="contractCode"
:show-overflow-tooltip="true"
/>
- {{ scope.row.imgNameList[index] }}
-
-
+ -->
+
+
+
删除
+ 详情
@@ -449,6 +459,64 @@
+
+
+
+
+
+ {{ item.label }}
+
+
+ 内部单位
+ 外部单位
+ -
+
+
+
+
+
+ -
+
+
+
+ {{ protocolDetailsInfo[item.content] || '-' }}
+
+
+
+
@@ -568,6 +636,27 @@ export default {
],
},
deptName: undefined,
+ protocolDetailsDialogVisible: false, // 协议详情弹框
+ labelStyle: {
+ 'text-align': 'center',
+ width: '200px',
+ },
+ contentStyle: {
+ 'text-align': 'center',
+ width: '400px',
+ },
+ protocolDetailsLabelList: [
+ { label: '协议类型', content: 'protocol', v_slot: 'type' },
+ { label: '附件图片', content: 'imgUrlList', v_slot: 'img' },
+ { label: '开始日期', content: 'planStartTime' },
+ { label: '租赁期限(天)', content: 'leaseDay' },
+ { label: '授权人', content: 'authPerson' },
+ { label: '联系电话', content: 'phone' },
+ { label: '备注', content: 'remark' },
+ ],
+ protocolDetailsInfo: {
+ imgUrlList: [],
+ }, // 详情内容
}
},
computed: {
@@ -808,6 +897,15 @@ export default {
this.$modal.msgWarning('请选择要导出的数据')
}
},
+
+ /**
+ * 详情
+ */
+ handleDetails(row) {
+ console.log(row, '详情--------')
+ this.protocolDetailsInfo = row
+ this.protocolDetailsDialogVisible = true
+ },
},
}
@@ -822,4 +920,13 @@ export default {
display: none;
}
}
+.margin-top {
+ margin-top: -15px;
+}
+.img-box {
+ margin-right: 12px;
+}
+.img-box:last-child {
+ margin: 0;
+}