| | |
| | | <el-dialog |
| | | :title="dialogTitle" |
| | | :visible.sync="visible" |
| | | width="80%" |
| | | width="90%" |
| | | @open='open' |
| | | top="5vh" |
| | | :close-on-click-modal="false" |
| | | @close="handleClose" |
| | | > |
| | |
| | | } |
| | | }) |
| | | .catch((err) => { |
| | | console.error("获取详情失败:", err); |
| | | this.$message.error("获取详情失败"); |
| | | // console.error("获取详情失败:", err); |
| | | // this.$message.error("获取详情失败"); |
| | | }); |
| | | }, |
| | | memberList(type) { |
| | |
| | | dispatchId: this.data.id, // 传递当前调度id |
| | | confirmSign: this.imgSrc, // 签名图片 |
| | | }; |
| | | console.log('params',params) |
| | | sign(params).then(res => { |
| | | if (res && res.code === 200) { |
| | | this.$message.success('签字成功'); |
| | |
| | | this.$message.error(res.msg || '签字失败'); |
| | | } |
| | | }).catch(() => { |
| | | this.$message.error('签字失败'); |
| | | // this.$message.error('签字失败'); |
| | | }); |
| | | }, |
| | | openSignature() { |
| | |
| | | |
| | | .approval-dialog { |
| | | display: flex; |
| | | height: 60vh; |
| | | height: 70vh; |
| | | |
| | | .approval-content { |
| | | flex: 1; |
| | |
| | | } |
| | | |
| | | .approval-flow { |
| | | padding: 40px 20px; |
| | | width: 405px; |
| | | padding: 20px 0px; |
| | | width: 305px; |
| | | background: #ffffff; |
| | | box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.08); |
| | | border-radius: 10px; |
| | |
| | | } |
| | | } |
| | | .approval-dialog-approve { |
| | | margin-top: 26px; |
| | | margin-top: 18px; |
| | | } |
| | | |
| | | .approval-content-card { |
| | | height: calc(100% - 100px) !important; |
| | | height: calc(100% - 10px) !important; |
| | | box-shadow: none !important; |
| | | } |
| | | |