修改相关流程功能
Showing
4 changed files
with
98 additions
and
1 deletions
| ... | @@ -96,3 +96,12 @@ export function stepExpandInfo (data) { | ... | @@ -96,3 +96,12 @@ export function stepExpandInfo (data) { | 
| 96 | data | 96 | data | 
| 97 | }) | 97 | }) | 
| 98 | } | 98 | } | 
| 99 | |||
| 100 | // 登簿接口 | ||
| 101 | export function record (data) { | ||
| 102 | return request({ | ||
| 103 | url: '/business/workFlow/record', | ||
| 104 | method: 'post', | ||
| 105 | data | ||
| 106 | }) | ||
| 107 | } | ... | ... | 
src/views/components/comMsg.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="model"> | ||
| 3 | <div class="mask">123</div> | ||
| 4 | <div class="model-dialog"> | ||
| 5 | <div class="model-header"> | ||
| 6 | <span>提示</span> | ||
| 7 | <a href="javascript:;" class="icon-close"></a> | ||
| 8 | </div> | ||
| 9 | <div class="model-body"> | ||
| 10 | <div class="body">这是条消息</div> | ||
| 11 | </div> | ||
| 12 | <div class="model-footer"> | ||
| 13 | <button class="btn">确认</button> | ||
| 14 | </div> | ||
| 15 | </div> | ||
| 16 | </div> | ||
| 17 | </template> | ||
| 18 | |||
| 19 | |||
| 20 | <style scoped lang='scss'> | ||
| 21 | //css部分 | ||
| 22 | .mask { | ||
| 23 | position: fixed; //这里用固定定位,后面设置动画时才不受影响 | ||
| 24 | top: 0; | ||
| 25 | height: 100%; | ||
| 26 | width: 100%; | ||
| 27 | background-color: rgba(167, 165, 165, 0.486); | ||
| 28 | opacity: 0.5; | ||
| 29 | z-index: 9; | ||
| 30 | } | ||
| 31 | .model-dialog { | ||
| 32 | position: absolute; | ||
| 33 | //让弹框居中显示 | ||
| 34 | top: 50%; | ||
| 35 | left: 50%; | ||
| 36 | transform: translate(-50%, -50%); | ||
| 37 | background-color: #fff; | ||
| 38 | border-radius: 12px; | ||
| 39 | width: 600px; | ||
| 40 | height: 300px; | ||
| 41 | border: 1px solid #f5f5f5; | ||
| 42 | overflow: hidden; | ||
| 43 | z-index: 10; //这里注意层级要比mask大,覆盖它 | ||
| 44 | } | ||
| 45 | .model-header { | ||
| 46 | position: relative; | ||
| 47 | height: 50px; | ||
| 48 | padding-left: 10px; | ||
| 49 | padding-top: 10px; | ||
| 50 | font-size: 20px; | ||
| 51 | line-height: 50px; | ||
| 52 | background-color: #f5f5f5; | ||
| 53 | border-bottom: 1px solid rgb(177, 176, 176); | ||
| 54 | } | ||
| 55 | .model-body { | ||
| 56 | height: 150px; | ||
| 57 | line-height: 150px; | ||
| 58 | font-size: 28px; | ||
| 59 | text-align: center; | ||
| 60 | background-color: #fff; | ||
| 61 | } | ||
| 62 | .model-footer { | ||
| 63 | background-color: #f5f5f5; | ||
| 64 | height: 100px; | ||
| 65 | text-align: center; | ||
| 66 | line-height: 100px; | ||
| 67 | } | ||
| 68 | .btn { | ||
| 69 | width: 180px; | ||
| 70 | height: 40px; | ||
| 71 | border-radius: 8px; | ||
| 72 | background-color: rgb(180, 103, 103); | ||
| 73 | color: #fff; | ||
| 74 | font-size: 18px; | ||
| 75 | border: none; | ||
| 76 | } | ||
| 77 | .icon-close { | ||
| 78 | position: absolute; //如果不加绝对布局,图表显示不出来 | ||
| 79 | background-color: pink; | ||
| 80 | right: 15px; | ||
| 81 | top: 16px; | ||
| 82 | width: 30px; | ||
| 83 | height: 30px; | ||
| 84 | z-index: 10; | ||
| 85 | //background: url("../assets/icon-close.png") no-repeat; | ||
| 86 | background-size: contain; | ||
| 87 | } | ||
| 88 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | 
| ... | @@ -166,7 +166,7 @@ export default { | ... | @@ -166,7 +166,7 @@ export default { | 
| 166 | text-align: center; | 166 | text-align: center; | 
| 167 | font-size: 24px; | 167 | font-size: 24px; | 
| 168 | display: block; | 168 | display: block; | 
| 169 | margin-bottom: 10px; | 169 | margin: 30px 0; | 
| 170 | } | 170 | } | 
| 171 | 171 | ||
| 172 | /deep/.el-form-item { | 172 | /deep/.el-form-item { | ... | ... | 
This diff is collapsed.
Click to expand it.
- 
Please register or sign in to post a comment