Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
6 changed files
with
34 additions
and
38 deletions
... | @@ -46,3 +46,14 @@ export function logoutReg (data) { | ... | @@ -46,3 +46,14 @@ export function logoutReg (data) { |
46 | data | 46 | data |
47 | }) | 47 | }) |
48 | } | 48 | } |
49 | // 流程图 | ||
50 | export function getWorkFlowImage (bsmSlsq) { | ||
51 | return request({ | ||
52 | url: '/business/workFlow/getWorkFlowImage', | ||
53 | method: 'get', | ||
54 | responseType: 'blob', | ||
55 | params: { | ||
56 | bsmSlsq: bsmSlsq | ||
57 | } | ||
58 | }) | ||
59 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | 2 | ||
3 | @mixin colorBtn($color) { | 3 | @mixin colorBtn($color) { |
4 | background: $color; | 4 | background: $color; |
5 | color:#fff; | 5 | color: #fff; |
6 | 6 | ||
7 | &:hover { | 7 | &:hover { |
8 | color: #fff; | 8 | color: #fff; |
... | @@ -99,15 +99,9 @@ | ... | @@ -99,15 +99,9 @@ |
99 | font-size: 14px; | 99 | font-size: 14px; |
100 | border-radius: 4px; | 100 | border-radius: 4px; |
101 | } | 101 | } |
102 | |||
102 | // 搜索框按钮的位置 | 103 | // 搜索框按钮的位置 |
103 | .btnCol{ | 104 | .btnCol { |
104 | box-sizing: border-box; | 105 | box-sizing: border-box; |
105 | text-align: right; | 106 | text-align: right; |
106 | } | 107 | } |
... | \ No newline at end of file | ... | \ No newline at end of file |
107 | |||
108 | // 默认白色按钮样式 | ||
109 | .el-button--default{ | ||
110 | background: #FBFCFD; | ||
111 | border: 1px solid #E4EBF4; | ||
112 | border-radius: 4px; | ||
113 | } | ... | ... |
... | @@ -99,20 +99,9 @@ class data extends filter { | ... | @@ -99,20 +99,9 @@ class data extends filter { |
99 | </div> | 99 | </div> |
100 | ) | 100 | ) |
101 | } | 101 | } |
102 | }, | ||
103 | { | ||
104 | label: '操作', | ||
105 | width: '80', | ||
106 | align: 'center', | ||
107 | fixed: 'right', | ||
108 | render: (h, scope) => { | ||
109 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button> | ||
110 | } | ||
111 | } | 102 | } |
112 | ] | 103 | ] |
113 | } | 104 | } |
114 | |||
115 | |||
116 | } | 105 | } |
117 | let datas = new data() | 106 | let datas = new data() |
118 | export { | 107 | export { | ... | ... |
... | @@ -56,6 +56,9 @@ | ... | @@ -56,6 +56,9 @@ |
56 | </div> | 56 | </div> |
57 | </div> | 57 | </div> |
58 | </div> | 58 | </div> |
59 | <dialogBox title="流程图" width="70%" isMain v-model="myValue" :isFullscreen="false" :isButton="false"> | ||
60 | <img :src="imgSrc" style="margin: 20px 0" /> | ||
61 | </dialogBox> | ||
59 | </div> | 62 | </div> |
60 | </template> | 63 | </template> |
61 | 64 | ||
... | @@ -72,10 +75,14 @@ import { | ... | @@ -72,10 +75,14 @@ import { |
72 | getNextLinkInfo, | 75 | getNextLinkInfo, |
73 | completeTask, | 76 | completeTask, |
74 | } from "@/api/fqsq.js"; | 77 | } from "@/api/fqsq.js"; |
78 | import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" | ||
75 | import { getForm } from "./flowform.js"; | 79 | import { getForm } from "./flowform.js"; |
76 | export default { | 80 | export default { |
77 | data () { | 81 | data () { |
78 | return { | 82 | return { |
83 | // 流程图 | ||
84 | imgSrc: '', | ||
85 | myValue: false, | ||
79 | // 折叠 | 86 | // 折叠 |
80 | isShowdrawer: true, | 87 | isShowdrawer: true, |
81 | // 默认选中 | 88 | // 默认选中 |
... | @@ -144,6 +151,12 @@ export default { | ... | @@ -144,6 +151,12 @@ export default { |
144 | operation (index, item) { | 151 | operation (index, item) { |
145 | let that = this; | 152 | let that = this; |
146 | switch (item.value) { | 153 | switch (item.value) { |
154 | case "B1": | ||
155 | getWorkFlowImage(this.bsmSlsq).then(res => { | ||
156 | this.imgSrc = URL.createObjectURL(res) | ||
157 | this.myValue = true | ||
158 | }) | ||
159 | break; | ||
147 | case "zsyl": | 160 | case "zsyl": |
148 | this.zsylFlag = true; | 161 | this.zsylFlag = true; |
149 | break; | 162 | break; |
... | @@ -173,7 +186,6 @@ export default { | ... | @@ -173,7 +186,6 @@ export default { |
173 | } | 186 | } |
174 | }); | 187 | }); |
175 | // this.$alert(res.result); | 188 | // this.$alert(res.result); |
176 | |||
177 | break; | 189 | break; |
178 | case "tc": | 190 | case "tc": |
179 | window.close(); | 191 | window.close(); |
... | @@ -239,8 +251,6 @@ export default { | ... | @@ -239,8 +251,6 @@ export default { |
239 | h("i", { style: "color: teal" }, obj.usernames.join(",")), | 251 | h("i", { style: "color: teal" }, obj.usernames.join(",")), |
240 | ]), | 252 | ]), |
241 | showCancelButton: true, | 253 | showCancelButton: true, |
242 | confirmButtonText: "确定", | ||
243 | cancelButtonText: "取消", | ||
244 | beforeClose: (action, instance, done) => { | 254 | beforeClose: (action, instance, done) => { |
245 | if (action === "confirm") { | 255 | if (action === "confirm") { |
246 | instance.confirmButtonLoading = true; | 256 | instance.confirmButtonLoading = true; |
... | @@ -267,10 +277,10 @@ export default { | ... | @@ -267,10 +277,10 @@ export default { |
267 | }).then((action) => { | 277 | }).then((action) => { |
268 | this.$message({ | 278 | this.$message({ |
269 | type: "info", | 279 | type: "info", |
270 | message: "action: " + action, | 280 | message: "action: " + action |
271 | }); | 281 | }) |
272 | }); | 282 | }) |
273 | }, | 283 | } |
274 | }, | 284 | } |
275 | }; | 285 | } |
276 | </script> | 286 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -75,15 +75,6 @@ class data extends filter { | ... | @@ -75,15 +75,6 @@ class data extends filter { |
75 | </div> | 75 | </div> |
76 | ) | 76 | ) |
77 | } | 77 | } |
78 | }, | ||
79 | { | ||
80 | label: '操作', | ||
81 | width: '80', | ||
82 | align: 'center', | ||
83 | fixed: 'right', | ||
84 | render: (h, scope) => { | ||
85 | return <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> | ||
86 | } | ||
87 | } | 78 | } |
88 | ] | 79 | ] |
89 | } | 80 | } | ... | ... |
-
Please register or sign in to post a comment