style:受理申请
Showing
8 changed files
with
112 additions
and
105 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:43:15 | 4 | * @LastEditTime: 2023-05-24 17:11:21 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -238,7 +238,7 @@ | ... | @@ -238,7 +238,7 @@ |
| 238 | </el-row> | 238 | </el-row> |
| 239 | 239 | ||
| 240 | </div> | 240 | </div> |
| 241 | <el-row class="btn" v-if="!$route.query.viewtype"> | 241 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 242 | <el-form-item> | 242 | <el-form-item> |
| 243 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 243 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
| 244 | </el-form-item> | 244 | </el-form-item> |
| ... | @@ -294,6 +294,7 @@ | ... | @@ -294,6 +294,7 @@ |
| 294 | message: "保存成功!", | 294 | message: "保存成功!", |
| 295 | type: "success", | 295 | type: "success", |
| 296 | }); | 296 | }); |
| 297 | this.$store.dispatch('user/refreshPage', true); | ||
| 297 | } else { | 298 | } else { |
| 298 | this.$message({ | 299 | this.$message({ |
| 299 | showClose: true, | 300 | showClose: true, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:43:19 | 4 | * @LastEditTime: 2023-05-24 17:12:40 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -234,7 +234,7 @@ | ... | @@ -234,7 +234,7 @@ |
| 234 | </el-row> | 234 | </el-row> |
| 235 | 235 | ||
| 236 | </div> | 236 | </div> |
| 237 | <el-row class="btn" v-if="!$route.query.viewtype"> | 237 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 238 | <el-form-item> | 238 | <el-form-item> |
| 239 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 239 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
| 240 | </el-form-item> | 240 | </el-form-item> |
| ... | @@ -290,6 +290,7 @@ | ... | @@ -290,6 +290,7 @@ |
| 290 | message: "保存成功!", | 290 | message: "保存成功!", |
| 291 | type: "success", | 291 | type: "success", |
| 292 | }); | 292 | }); |
| 293 | this.$store.dispatch('user/refreshPage', true); | ||
| 293 | } else { | 294 | } else { |
| 294 | this.$message({ | 295 | this.$message({ |
| 295 | showClose: true, | 296 | showClose: true, | ... | ... |
| ... | @@ -223,7 +223,7 @@ | ... | @@ -223,7 +223,7 @@ |
| 223 | </el-col> | 223 | </el-col> |
| 224 | </el-row> | 224 | </el-row> |
| 225 | </div> | 225 | </div> |
| 226 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> | 226 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation && propsParam.issave=='0'"> |
| 227 | <el-form-item> | 227 | <el-form-item> |
| 228 | <el-button type="primary" @click="onSubmit">保存</el-button> | 228 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 229 | </el-form-item> | 229 | </el-form-item> |
| ... | @@ -232,11 +232,11 @@ | ... | @@ -232,11 +232,11 @@ |
| 232 | </div> | 232 | </div> |
| 233 | </template> | 233 | </template> |
| 234 | <script> | 234 | <script> |
| 235 | import { mapGetters } from "vuex" | 235 | import { mapGetters } from "vuex" |
| 236 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" | 236 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" |
| 237 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 237 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
| 238 | import JtcyTable from "@/views/workflow/components/JtcyTable" | 238 | import JtcyTable from "@/views/workflow/components/JtcyTable" |
| 239 | export default { | 239 | export default { |
| 240 | mounted () { | 240 | mounted () { |
| 241 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 241 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
| 242 | this.propsParam = this.$attrs; | 242 | this.propsParam = this.$attrs; |
| ... | @@ -283,6 +283,7 @@ export default { | ... | @@ -283,6 +283,7 @@ export default { |
| 283 | message: "保存成功!", | 283 | message: "保存成功!", |
| 284 | type: "success", | 284 | type: "success", |
| 285 | }); | 285 | }); |
| 286 | this.$store.dispatch('user/refreshPage', true); | ||
| 286 | } else { | 287 | } else { |
| 287 | this.$message({ | 288 | this.$message({ |
| 288 | showClose: true, | 289 | showClose: true, |
| ... | @@ -323,9 +324,9 @@ export default { | ... | @@ -323,9 +324,9 @@ export default { |
| 323 | this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; | 324 | this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; |
| 324 | } | 325 | } |
| 325 | }, | 326 | }, |
| 326 | }; | 327 | }; |
| 327 | </script> | 328 | </script> |
| 328 | <style scoped lang='scss'> | 329 | <style scoped lang='scss'> |
| 329 | @import "~@/styles/public.scss"; | 330 | @import "~@/styles/public.scss"; |
| 330 | @import "~@/styles/slxx/slxx.scss"; | 331 | @import "~@/styles/slxx/slxx.scss"; |
| 331 | </style> | 332 | </style> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -229,7 +229,7 @@ | ... | @@ -229,7 +229,7 @@ |
| 229 | </el-col> | 229 | </el-col> |
| 230 | </el-row> | 230 | </el-row> |
| 231 | </div> | 231 | </div> |
| 232 | <el-row class="btn" v-if="!$route.query.viewtype"> | 232 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 233 | <el-form-item> | 233 | <el-form-item> |
| 234 | <el-button type="primary" @click="onSubmit">保存</el-button> | 234 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 235 | </el-form-item> | 235 | </el-form-item> |
| ... | @@ -238,11 +238,11 @@ | ... | @@ -238,11 +238,11 @@ |
| 238 | </div> | 238 | </div> |
| 239 | </template> | 239 | </template> |
| 240 | <script> | 240 | <script> |
| 241 | import { mapGetters } from "vuex" | 241 | import { mapGetters } from "vuex" |
| 242 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" | 242 | import { Init, saveData } from "@/api/workflow/nydsyqFlow.js" |
| 243 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" | 243 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" |
| 244 | import JtcyTable from "@/views/workflow/components/JtcyTable" | 244 | import JtcyTable from "@/views/workflow/components/JtcyTable" |
| 245 | export default { | 245 | export default { |
| 246 | mounted () { | 246 | mounted () { |
| 247 | this.propsParam = this.$attrs; | 247 | this.propsParam = this.$attrs; |
| 248 | var formdata = new FormData(); | 248 | var formdata = new FormData(); |
| ... | @@ -285,6 +285,7 @@ export default { | ... | @@ -285,6 +285,7 @@ export default { |
| 285 | message: "保存成功!", | 285 | message: "保存成功!", |
| 286 | type: "success", | 286 | type: "success", |
| 287 | }); | 287 | }); |
| 288 | this.$store.dispatch('user/refreshPage', true); | ||
| 288 | } else { | 289 | } else { |
| 289 | this.$message({ | 290 | this.$message({ |
| 290 | showClose: true, | 291 | showClose: true, |
| ... | @@ -331,9 +332,9 @@ export default { | ... | @@ -331,9 +332,9 @@ export default { |
| 331 | this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; | 332 | this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; |
| 332 | }, | 333 | }, |
| 333 | }, | 334 | }, |
| 334 | }; | 335 | }; |
| 335 | </script> | 336 | </script> |
| 336 | <style scoped lang='scss'> | 337 | <style scoped lang='scss'> |
| 337 | @import "~@/styles/public.scss"; | 338 | @import "~@/styles/public.scss"; |
| 338 | @import "~@/styles/slxx/slxx.scss"; | 339 | @import "~@/styles/slxx/slxx.scss"; |
| 339 | </style> | 340 | </style> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -164,7 +164,7 @@ | ... | @@ -164,7 +164,7 @@ |
| 164 | </el-col> | 164 | </el-col> |
| 165 | </el-row> | 165 | </el-row> |
| 166 | </div> | 166 | </div> |
| 167 | <el-row class="btn" v-if="!$route.query.viewtype"> | 167 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 168 | <el-form-item> | 168 | <el-form-item> |
| 169 | <el-button type="primary" @click="onSubmit">保存</el-button> | 169 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 170 | </el-form-item> | 170 | </el-form-item> |
| ... | @@ -173,10 +173,10 @@ | ... | @@ -173,10 +173,10 @@ |
| 173 | </div> | 173 | </div> |
| 174 | </template> | 174 | </template> |
| 175 | <script> | 175 | <script> |
| 176 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 176 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 177 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; | 177 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; |
| 178 | import { mapGetters } from "vuex"; | 178 | import { mapGetters } from "vuex"; |
| 179 | export default { | 179 | export default { |
| 180 | mounted () { | 180 | mounted () { |
| 181 | this.$startLoading(); | 181 | this.$startLoading(); |
| 182 | var formdata = new FormData(); | 182 | var formdata = new FormData(); |
| ... | @@ -222,6 +222,7 @@ export default { | ... | @@ -222,6 +222,7 @@ export default { |
| 222 | message: "保存成功!", | 222 | message: "保存成功!", |
| 223 | type: "success", | 223 | type: "success", |
| 224 | }); | 224 | }); |
| 225 | this.$store.dispatch('user/refreshPage', true); | ||
| 225 | } else { | 226 | } else { |
| 226 | this.$message({ | 227 | this.$message({ |
| 227 | showClose: true, | 228 | showClose: true, |
| ... | @@ -232,55 +233,55 @@ export default { | ... | @@ -232,55 +233,55 @@ export default { |
| 232 | }); | 233 | }); |
| 233 | }, | 234 | }, |
| 234 | }, | 235 | }, |
| 235 | }; | 236 | }; |
| 236 | </script> | 237 | </script> |
| 237 | <style scoped lang='scss'> | 238 | <style scoped lang='scss'> |
| 238 | @import "~@/styles/public.scss"; | 239 | @import "~@/styles/public.scss"; |
| 239 | 240 | ||
| 240 | /deep/.el-form { | 241 | /deep/.el-form { |
| 241 | display: flex; | 242 | display: flex; |
| 242 | flex-direction: column; | 243 | flex-direction: column; |
| 243 | height: calc(100vh - 130px); | 244 | height: calc(100vh - 130px); |
| 244 | } | 245 | } |
| 245 | 246 | ||
| 246 | /deep/.el-form-item__label { | 247 | /deep/.el-form-item__label { |
| 247 | padding: 0; | 248 | padding: 0; |
| 248 | } | 249 | } |
| 249 | 250 | ||
| 250 | /deep/.el-radio { | 251 | /deep/.el-radio { |
| 251 | margin-right: 10px; | 252 | margin-right: 10px; |
| 252 | } | 253 | } |
| 253 | 254 | ||
| 254 | /deep/.el-select { | 255 | /deep/.el-select { |
| 255 | width: 100%; | 256 | width: 100%; |
| 256 | } | 257 | } |
| 257 | 258 | ||
| 258 | /deep/.el-form-item { | 259 | /deep/.el-form-item { |
| 259 | margin-bottom: 8px; | 260 | margin-bottom: 8px; |
| 260 | } | 261 | } |
| 261 | 262 | ||
| 262 | .marginBot0 { | 263 | .marginBot0 { |
| 263 | margin-bottom: 0 !important; | 264 | margin-bottom: 0 !important; |
| 264 | } | 265 | } |
| 265 | 266 | ||
| 266 | .slxx { | 267 | .slxx { |
| 267 | box-sizing: border-box; | 268 | box-sizing: border-box; |
| 268 | } | 269 | } |
| 269 | 270 | ||
| 270 | .slxx_con { | 271 | .slxx_con { |
| 271 | flex: 1; | 272 | flex: 1; |
| 272 | height: 100%; | 273 | height: 100%; |
| 273 | background-color: #ffffff; | 274 | background-color: #ffffff; |
| 274 | overflow-y: auto; | 275 | overflow-y: auto; |
| 275 | padding-right: 3px; | 276 | padding-right: 3px; |
| 276 | overflow-x: hidden; | 277 | overflow-x: hidden; |
| 277 | } | 278 | } |
| 278 | 279 | ||
| 279 | .submit_btn { | 280 | .submit_btn { |
| 280 | height: 50px; | 281 | height: 50px; |
| 281 | } | 282 | } |
| 282 | 283 | ||
| 283 | .slxx_title { | 284 | .slxx_title { |
| 284 | border-bottom: 1px solid $borderColor; | 285 | border-bottom: 1px solid $borderColor; |
| 285 | padding-left: 10px; | 286 | padding-left: 10px; |
| 286 | padding-bottom: 5px; | 287 | padding-bottom: 5px; |
| ... | @@ -289,23 +290,23 @@ export default { | ... | @@ -289,23 +290,23 @@ export default { |
| 289 | font-size: 16px; | 290 | font-size: 16px; |
| 290 | font-weight: 500; | 291 | font-weight: 500; |
| 291 | color: #4a4a4a; | 292 | color: #4a4a4a; |
| 292 | } | 293 | } |
| 293 | 294 | ||
| 294 | .btn { | 295 | .btn { |
| 295 | text-align: center; | 296 | text-align: center; |
| 296 | padding-top: 10px; | 297 | padding-top: 10px; |
| 297 | height: 36px; | 298 | height: 36px; |
| 298 | background-color: #ffffff; | 299 | background-color: #ffffff; |
| 299 | padding: 5px 0; | 300 | padding: 5px 0; |
| 300 | } | 301 | } |
| 301 | 302 | ||
| 302 | .textArea { | 303 | .textArea { |
| 303 | /deep/.el-textarea__inner { | 304 | /deep/.el-textarea__inner { |
| 304 | min-height: 90px !important; | 305 | min-height: 90px !important; |
| 305 | } | 306 | } |
| 306 | } | 307 | } |
| 307 | 308 | ||
| 308 | /deep/.el-form-item__label { | 309 | /deep/.el-form-item__label { |
| 309 | padding-bottom: 0px; | 310 | padding-bottom: 0px; |
| 310 | } | 311 | } |
| 311 | </style> | 312 | </style> | ... | ... |
| ... | @@ -167,7 +167,7 @@ | ... | @@ -167,7 +167,7 @@ |
| 167 | </el-col> | 167 | </el-col> |
| 168 | </el-row> | 168 | </el-row> |
| 169 | </div> | 169 | </div> |
| 170 | <el-row class="btn" v-if="!$route.query.viewtype"> | 170 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 171 | <el-form-item> | 171 | <el-form-item> |
| 172 | <el-button type="primary" @click="onSubmit">保存</el-button> | 172 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 173 | </el-form-item> | 173 | </el-form-item> |
| ... | @@ -176,10 +176,10 @@ | ... | @@ -176,10 +176,10 @@ |
| 176 | </div> | 176 | </div> |
| 177 | </template> | 177 | </template> |
| 178 | <script> | 178 | <script> |
| 179 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 179 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 180 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; | 180 | import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; |
| 181 | import { mapGetters } from "vuex"; | 181 | import { mapGetters } from "vuex"; |
| 182 | export default { | 182 | export default { |
| 183 | mounted () { | 183 | mounted () { |
| 184 | this.propsParam = this.$attrs; | 184 | this.propsParam = this.$attrs; |
| 185 | var formdata = new FormData(); | 185 | var formdata = new FormData(); |
| ... | @@ -235,6 +235,7 @@ export default { | ... | @@ -235,6 +235,7 @@ export default { |
| 235 | message: "保存成功!", | 235 | message: "保存成功!", |
| 236 | type: "success", | 236 | type: "success", |
| 237 | }); | 237 | }); |
| 238 | this.$store.dispatch('user/refreshPage', true); | ||
| 238 | } else { | 239 | } else { |
| 239 | this.$message({ | 240 | this.$message({ |
| 240 | showClose: true, | 241 | showClose: true, |
| ... | @@ -245,55 +246,55 @@ export default { | ... | @@ -245,55 +246,55 @@ export default { |
| 245 | }); | 246 | }); |
| 246 | }, | 247 | }, |
| 247 | }, | 248 | }, |
| 248 | }; | 249 | }; |
| 249 | </script> | 250 | </script> |
| 250 | <style scoped lang='scss'> | 251 | <style scoped lang='scss'> |
| 251 | @import "~@/styles/public.scss"; | 252 | @import "~@/styles/public.scss"; |
| 252 | 253 | ||
| 253 | /deep/.el-form { | 254 | /deep/.el-form { |
| 254 | display: flex; | 255 | display: flex; |
| 255 | flex-direction: column; | 256 | flex-direction: column; |
| 256 | height: calc(100vh - 130px); | 257 | height: calc(100vh - 130px); |
| 257 | } | 258 | } |
| 258 | 259 | ||
| 259 | /deep/.el-form-item__label { | 260 | /deep/.el-form-item__label { |
| 260 | padding: 0; | 261 | padding: 0; |
| 261 | } | 262 | } |
| 262 | 263 | ||
| 263 | /deep/.el-radio { | 264 | /deep/.el-radio { |
| 264 | margin-right: 10px; | 265 | margin-right: 10px; |
| 265 | } | 266 | } |
| 266 | 267 | ||
| 267 | /deep/.el-select { | 268 | /deep/.el-select { |
| 268 | width: 100%; | 269 | width: 100%; |
| 269 | } | 270 | } |
| 270 | 271 | ||
| 271 | /deep/.el-form-item { | 272 | /deep/.el-form-item { |
| 272 | margin-bottom: 8px; | 273 | margin-bottom: 8px; |
| 273 | } | 274 | } |
| 274 | 275 | ||
| 275 | .marginBot0 { | 276 | .marginBot0 { |
| 276 | margin-bottom: 0 !important; | 277 | margin-bottom: 0 !important; |
| 277 | } | 278 | } |
| 278 | 279 | ||
| 279 | .slxx { | 280 | .slxx { |
| 280 | box-sizing: border-box; | 281 | box-sizing: border-box; |
| 281 | } | 282 | } |
| 282 | 283 | ||
| 283 | .slxx_con { | 284 | .slxx_con { |
| 284 | flex: 1; | 285 | flex: 1; |
| 285 | height: 100%; | 286 | height: 100%; |
| 286 | background-color: #ffffff; | 287 | background-color: #ffffff; |
| 287 | overflow-y: auto; | 288 | overflow-y: auto; |
| 288 | padding-right: 3px; | 289 | padding-right: 3px; |
| 289 | overflow-x: hidden; | 290 | overflow-x: hidden; |
| 290 | } | 291 | } |
| 291 | 292 | ||
| 292 | .submit_btn { | 293 | .submit_btn { |
| 293 | height: 50px; | 294 | height: 50px; |
| 294 | } | 295 | } |
| 295 | 296 | ||
| 296 | .slxx_title { | 297 | .slxx_title { |
| 297 | border-bottom: 1px solid $borderColor; | 298 | border-bottom: 1px solid $borderColor; |
| 298 | padding-left: 10px; | 299 | padding-left: 10px; |
| 299 | padding-bottom: 5px; | 300 | padding-bottom: 5px; |
| ... | @@ -302,23 +303,23 @@ export default { | ... | @@ -302,23 +303,23 @@ export default { |
| 302 | font-size: 16px; | 303 | font-size: 16px; |
| 303 | font-weight: 500; | 304 | font-weight: 500; |
| 304 | color: #4a4a4a; | 305 | color: #4a4a4a; |
| 305 | } | 306 | } |
| 306 | 307 | ||
| 307 | .btn { | 308 | .btn { |
| 308 | text-align: center; | 309 | text-align: center; |
| 309 | padding-top: 10px; | 310 | padding-top: 10px; |
| 310 | height: 36px; | 311 | height: 36px; |
| 311 | background-color: #ffffff; | 312 | background-color: #ffffff; |
| 312 | padding: 5px 0; | 313 | padding: 5px 0; |
| 313 | } | 314 | } |
| 314 | 315 | ||
| 315 | .textArea { | 316 | .textArea { |
| 316 | /deep/.el-textarea__inner { | 317 | /deep/.el-textarea__inner { |
| 317 | min-height: 90px !important; | 318 | min-height: 90px !important; |
| 318 | } | 319 | } |
| 319 | } | 320 | } |
| 320 | 321 | ||
| 321 | /deep/.el-form-item__label { | 322 | /deep/.el-form-item__label { |
| 322 | padding-bottom: 0px; | 323 | padding-bottom: 0px; |
| 323 | } | 324 | } |
| 324 | </style> | 325 | </style> | ... | ... |
| ... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
| 171 | </el-col> | 171 | </el-col> |
| 172 | </el-row> | 172 | </el-row> |
| 173 | </div> | 173 | </div> |
| 174 | <el-row class="btn" v-if="!$route.query.viewtype"> | 174 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 175 | <el-form-item> | 175 | <el-form-item> |
| 176 | <el-button type="primary" @click="onSubmit">保存</el-button> | 176 | <el-button type="primary" @click="onSubmit">保存</el-button> |
| 177 | </el-form-item> | 177 | </el-form-item> |
| ... | @@ -180,10 +180,10 @@ | ... | @@ -180,10 +180,10 @@ |
| 180 | </div> | 180 | </div> |
| 181 | </template> | 181 | </template> |
| 182 | <script> | 182 | <script> |
| 183 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 183 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 184 | import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; | 184 | import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; |
| 185 | import { mapGetters } from "vuex"; | 185 | import { mapGetters } from "vuex"; |
| 186 | export default { | 186 | export default { |
| 187 | created () { | 187 | created () { |
| 188 | this.propsParam = this.$attrs; | 188 | this.propsParam = this.$attrs; |
| 189 | var formdata = new FormData(); | 189 | var formdata = new FormData(); |
| ... | @@ -234,6 +234,7 @@ export default { | ... | @@ -234,6 +234,7 @@ export default { |
| 234 | message: "保存成功!", | 234 | message: "保存成功!", |
| 235 | type: "success", | 235 | type: "success", |
| 236 | }); | 236 | }); |
| 237 | this.$store.dispatch('user/refreshPage', true); | ||
| 237 | } else { | 238 | } else { |
| 238 | this.$message({ | 239 | this.$message({ |
| 239 | showClose: true, | 240 | showClose: true, |
| ... | @@ -244,9 +245,9 @@ export default { | ... | @@ -244,9 +245,9 @@ export default { |
| 244 | }); | 245 | }); |
| 245 | }, | 246 | }, |
| 246 | }, | 247 | }, |
| 247 | }; | 248 | }; |
| 248 | </script> | 249 | </script> |
| 249 | <style scoped lang='scss'> | 250 | <style scoped lang='scss'> |
| 250 | @import "~@/styles/public.scss"; | 251 | @import "~@/styles/public.scss"; |
| 251 | @import "~@/styles/slxx/slxx.scss"; | 252 | @import "~@/styles/slxx/slxx.scss"; |
| 252 | </style> | 253 | </style> | ... | ... |
| ... | @@ -151,7 +151,6 @@ | ... | @@ -151,7 +151,6 @@ |
| 151 | </el-col> | 151 | </el-col> |
| 152 | </el-row> | 152 | </el-row> |
| 153 | 153 | ||
| 154 | |||
| 155 | <el-row> | 154 | <el-row> |
| 156 | <el-col :span="24"> | 155 | <el-col :span="24"> |
| 157 | <el-form-item label="担保范围:"> | 156 | <el-form-item label="担保范围:"> |
| ... | @@ -236,7 +235,7 @@ | ... | @@ -236,7 +235,7 @@ |
| 236 | </el-row> | 235 | </el-row> |
| 237 | 236 | ||
| 238 | </div> | 237 | </div> |
| 239 | <el-row class="btn" v-if="!$route.query.viewtype"> | 238 | <el-row class="btn" v-if="!$route.query.viewtype && propsParam.issave=='0'"> |
| 240 | <el-form-item> | 239 | <el-form-item> |
| 241 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 240 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
| 242 | </el-form-item> | 241 | </el-form-item> |
| ... | @@ -245,10 +244,10 @@ | ... | @@ -245,10 +244,10 @@ |
| 245 | </div> | 244 | </div> |
| 246 | </template> | 245 | </template> |
| 247 | <script> | 246 | <script> |
| 248 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 247 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| 249 | import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js"; | 248 | import { Init, saveData } from "@/api/workflow/zjgcdyFlow.js"; |
| 250 | import { mapGetters } from "vuex"; | 249 | import { mapGetters } from "vuex"; |
| 251 | export default { | 250 | export default { |
| 252 | mounted () { | 251 | mounted () { |
| 253 | this.propsParam = this.$attrs; | 252 | this.propsParam = this.$attrs; |
| 254 | var formdata = new FormData(); | 253 | var formdata = new FormData(); |
| ... | @@ -292,6 +291,7 @@ export default { | ... | @@ -292,6 +291,7 @@ export default { |
| 292 | message: "保存成功!", | 291 | message: "保存成功!", |
| 293 | type: "success", | 292 | type: "success", |
| 294 | }); | 293 | }); |
| 294 | this.$store.dispatch('user/refreshPage', true); | ||
| 295 | } else { | 295 | } else { |
| 296 | this.$message({ | 296 | this.$message({ |
| 297 | showClose: true, | 297 | showClose: true, |
| ... | @@ -315,9 +315,9 @@ export default { | ... | @@ -315,9 +315,9 @@ export default { |
| 315 | } | 315 | } |
| 316 | } | 316 | } |
| 317 | } | 317 | } |
| 318 | }; | 318 | }; |
| 319 | </script> | 319 | </script> |
| 320 | <style scoped lang='scss'> | 320 | <style scoped lang='scss'> |
| 321 | @import "~@/styles/public.scss"; | 321 | @import "~@/styles/public.scss"; |
| 322 | @import "~@/styles/slxx/slxx.scss"; | 322 | @import "~@/styles/slxx/slxx.scss"; |
| 323 | </style> | 323 | </style> | ... | ... |
-
Please register or sign in to post a comment