style:业务流程
Showing
6 changed files
with
42 additions
and
21 deletions
... | @@ -54,4 +54,16 @@ export function saveBatchData (data) { | ... | @@ -54,4 +54,16 @@ export function saveBatchData (data) { |
54 | }) | 54 | }) |
55 | } | 55 | } |
56 | 56 | ||
57 | /** | ||
58 | * @description: 保存 | ||
59 | * @param {*} data | ||
60 | * @author: renchao | ||
61 | */ | ||
62 | export function saveData (data) { | ||
63 | return request({ | ||
64 | url: SERVER.SERVERAPI + "/rest/ywbl/fdcq2lr/saveData", | ||
65 | method: 'post', | ||
66 | data | ||
67 | }) | ||
68 | } | ||
57 | 69 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 15:19:52 | 4 | * @LastEditTime: 2023-05-24 16:02:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -17,8 +17,8 @@ | ... | @@ -17,8 +17,8 @@ |
17 | </div> | 17 | </div> |
18 | <el-menu :default-active="activeIndex" @select="unitClick"> | 18 | <el-menu :default-active="activeIndex" @select="unitClick"> |
19 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> | 19 | <el-menu-item v-for="(item, index) in unitData" :index="index.toString()" :key="index"> |
20 | <span class="dot" v-if="item.issave == '0'"></span> | 20 | <p class="dot" v-if="item.issave == '0'"></p> |
21 | <div> | 21 | <div class="menu-con"> |
22 | <p>{{ item.bdcdyh }}</p> | 22 | <p>{{ item.bdcdyh }}</p> |
23 | <p class="title-detail">{{ item.zl }}</p> | 23 | <p class="title-detail">{{ item.zl }}</p> |
24 | </div> | 24 | </div> | ... | ... |
... | @@ -39,12 +39,20 @@ | ... | @@ -39,12 +39,20 @@ |
39 | border-radius: 50%; | 39 | border-radius: 50%; |
40 | } | 40 | } |
41 | 41 | ||
42 | .menu-con { | ||
43 | width: 87%; | ||
44 | } | ||
45 | |||
42 | .batchDel { | 46 | .batchDel { |
43 | float: right; | 47 | float: right; |
44 | position: relative; | 48 | position: relative; |
45 | top: 3px; | 49 | top: 3px; |
46 | } | 50 | } |
47 | 51 | ||
52 | .el-icon-delete { | ||
53 | margin-top: 10px; | ||
54 | } | ||
55 | |||
48 | .title-detail { | 56 | .title-detail { |
49 | display: flex; | 57 | display: flex; |
50 | flex-wrap: wrap; | 58 | flex-wrap: wrap; |
... | @@ -98,8 +106,9 @@ | ... | @@ -98,8 +106,9 @@ |
98 | height: calc(100% - 80px); | 106 | height: calc(100% - 80px); |
99 | } | 107 | } |
100 | 108 | ||
101 | /deep/.el-menu-item { | 109 | .el-menu-item { |
102 | padding-left: 5px !important; | 110 | padding-left: 5px !important; |
111 | display: flex; | ||
103 | } | 112 | } |
104 | 113 | ||
105 | /deep/.el-menu { | 114 | /deep/.el-menu { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:43:23 | 4 | * @LastEditTime: 2023-05-24 16:20:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -197,7 +197,7 @@ | ... | @@ -197,7 +197,7 @@ |
197 | </el-col> | 197 | </el-col> |
198 | </el-row> | 198 | </el-row> |
199 | </div> | 199 | </div> |
200 | <el-row class="btn" v-if="!$route.query.viewtype"> | 200 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
201 | <el-form-item> | 201 | <el-form-item> |
202 | <el-button type="primary" @click="onSubmit">保存</el-button> | 202 | <el-button type="primary" @click="onSubmit">保存</el-button> |
203 | </el-form-item> | 203 | </el-form-item> |
... | @@ -207,7 +207,7 @@ | ... | @@ -207,7 +207,7 @@ |
207 | </template> | 207 | </template> |
208 | <script> | 208 | <script> |
209 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 209 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
210 | import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js"; | 210 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
211 | import { mapGetters } from "vuex"; | 211 | import { mapGetters } from "vuex"; |
212 | export default { | 212 | export default { |
213 | created () { | 213 | created () { |
... | @@ -252,7 +252,7 @@ | ... | @@ -252,7 +252,7 @@ |
252 | this.ruleForm.ywrList = _.cloneDeep(val); | 252 | this.ruleForm.ywrList = _.cloneDeep(val); |
253 | }, | 253 | }, |
254 | onSubmit () { | 254 | onSubmit () { |
255 | saveBatchData(this.ruleForm).then((res) => { | 255 | saveData(this.ruleForm).then((res) => { |
256 | if (res.code === 200) { | 256 | if (res.code === 200) { |
257 | this.$message({ | 257 | this.$message({ |
258 | showClose: true, | 258 | showClose: true, |
... | @@ -263,13 +263,13 @@ | ... | @@ -263,13 +263,13 @@ |
263 | this.$message({ | 263 | this.$message({ |
264 | showClose: true, | 264 | showClose: true, |
265 | message: res.message, | 265 | message: res.message, |
266 | type: "error", | 266 | type: "error" |
267 | }); | 267 | }) |
268 | } | ||
269 | }) | ||
270 | } | ||
271 | } | ||
268 | } | 272 | } |
269 | }); | ||
270 | }, | ||
271 | }, | ||
272 | }; | ||
273 | </script> | 273 | </script> |
274 | <style scoped lang='scss'> | 274 | <style scoped lang='scss'> |
275 | @import "~@/styles/public.scss"; | 275 | @import "~@/styles/public.scss"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:43:30 | 4 | * @LastEditTime: 2023-05-24 16:21:13 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -181,7 +181,7 @@ | ... | @@ -181,7 +181,7 @@ |
181 | </el-col> | 181 | </el-col> |
182 | </el-row> | 182 | </el-row> |
183 | </div> | 183 | </div> |
184 | <el-row class="btn" v-if="!$route.query.viewtype"> | 184 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
185 | <el-form-item> | 185 | <el-form-item> |
186 | <el-button type="primary" @click="onSubmit">保存</el-button> | 186 | <el-button type="primary" @click="onSubmit">保存</el-button> |
187 | </el-form-item> | 187 | </el-form-item> |
... | @@ -191,7 +191,7 @@ | ... | @@ -191,7 +191,7 @@ |
191 | </template> | 191 | </template> |
192 | <script> | 192 | <script> |
193 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 193 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
194 | import { Init, saveBatchData } from "@/api/workflow/fwsyqFlow.js"; | 194 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
195 | import { mapGetters } from "vuex"; | 195 | import { mapGetters } from "vuex"; |
196 | export default { | 196 | export default { |
197 | async created () { | 197 | async created () { |
... | @@ -276,7 +276,7 @@ | ... | @@ -276,7 +276,7 @@ |
276 | }, | 276 | }, |
277 | 277 | ||
278 | onSubmit () { | 278 | onSubmit () { |
279 | saveBatchData(this.ruleForm).then((res) => { | 279 | saveData(this.ruleForm).then((res) => { |
280 | if (res.code === 200) { | 280 | if (res.code === 200) { |
281 | this.$message({ | 281 | this.$message({ |
282 | showClose: true, | 282 | showClose: true, | ... | ... |
... | @@ -89,9 +89,9 @@ | ... | @@ -89,9 +89,9 @@ |
89 | <el-col :span="8"> | 89 | <el-col :span="8"> |
90 | <el-form-item label="取得价格:"> | 90 | <el-form-item label="取得价格:"> |
91 | <div style="display:flex"> | 91 | <div style="display:flex"> |
92 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype" | 92 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1'" |
93 | oninput="value=value.replace(/[^\d.]/g,'')"></el-input> | 93 | oninput="value=value.replace(/[^\d.]/g,'')"></el-input> |
94 | <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype"> | 94 | <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1'"> |
95 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 95 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
96 | </el-option> | 96 | </el-option> |
97 | </el-select> | 97 | </el-select> |
... | @@ -121,7 +121,7 @@ | ... | @@ -121,7 +121,7 @@ |
121 | <el-row :gutter="10"> | 121 | <el-row :gutter="10"> |
122 | <el-col> | 122 | <el-col> |
123 | <el-form-item label="附记:" prop="fj"> | 123 | <el-form-item label="附记:" prop="fj"> |
124 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype"></el-input> | 124 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1'"></el-input> |
125 | </el-form-item> | 125 | </el-form-item> |
126 | </el-col> | 126 | </el-col> |
127 | </el-row> | 127 | </el-row> | ... | ... |
-
Please register or sign in to post a comment