style:文件夹整理
Showing
10 changed files
with
54 additions
and
66 deletions
| ... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
| 36 | <script> | 36 | <script> |
| 37 | import table from "@/utils/mixin/table"; | 37 | import table from "@/utils/mixin/table"; |
| 38 | import { getCertificateList } from "@/api/fqsq.js"; | 38 | import { getCertificateList } from "@/api/fqsq.js"; |
| 39 | import { datas } from "./fzxxdata"; | 39 | import { datas } from "../javascript/fzxxdata"; |
| 40 | export default { | 40 | export default { |
| 41 | mixins: [table], | 41 | mixins: [table], |
| 42 | components: {}, | 42 | components: {}, | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <dialogBox title="退回" @submitForm="submitForm" saveButton="确认退回" width="80%" | 2 | <dialogBox title="退回" @submitForm="submitForm" saveButton="确认退回" width="80%" @closeDialog="closeDialog" |
| 3 | @closeDialog="closeDialog" v-model="value"> | 3 | v-model="value"> |
| 4 | <div class="from-clues"> | 4 | <div class="from-clues"> |
| 5 | <!-- 表单部分 --> | 5 | <!-- 表单部分 --> |
| 6 | <div class="from-clues-header"> | 6 | <div class="from-clues-header"> |
| 7 | <el-form ref="queryForm" label-width="120px"> | 7 | <el-form ref="queryForm" label-width="120px"> |
| 8 | <div> | 8 | <div> |
| 9 | <!-- <el-form-item label="不动产单元号:"> | 9 | <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting :data="tableData"> |
| 10 | <p>{{item.bdcdyh}}</p> | 10 | </lb-table> |
| 11 | </el-form-item> --> | 11 | <el-form-item label="退回意见:"> |
| 12 | <lb-table :column="columns" border :heightNum="390" :pagination="false" heightNumSetting | 12 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> |
| 13 | :data="tableData"> | 13 | </el-form-item> |
| 14 | </lb-table> | 14 | </div> |
| 15 | <el-form-item label="退回意见:"> | ||
| 16 | <el-input class="textArea" type="textarea" v-model="outstepopinion"></el-input> | ||
| 17 | </el-form-item> | ||
| 18 | </div> | ||
| 19 | </el-form> | 15 | </el-form> |
| 20 | </div> | 16 | </div> |
| 21 | </div> | 17 | </div> |
| ... | @@ -23,33 +19,27 @@ | ... | @@ -23,33 +19,27 @@ |
| 23 | </template> | 19 | </template> |
| 24 | 20 | ||
| 25 | <script> | 21 | <script> |
| 26 | import { getTaskBackNode,sendBackTask } from "@/api/fqsq.js" | 22 | import { getTaskBackNode, sendBackTask } from "@/api/fqsq.js" |
| 27 | export default { | 23 | export default { |
| 28 | components: { | 24 | components: { |
| 29 | }, | 25 | }, |
| 30 | props: { | 26 | props: { |
| 31 | value: { type: Boolean, default: false }, | 27 | value: { type: Boolean, default: false }, |
| 32 | queryForm:{type:Object}, | 28 | queryForm: { type: Object }, |
| 33 | taskId:{type:String}, | 29 | taskId: { type: String }, |
| 34 | bsmBusiness:{type:String} | 30 | bsmBusiness: { type: String } |
| 35 | }, | 31 | }, |
| 36 | data () { | 32 | data () { |
| 37 | const columns=[ | 33 | const columns = [ |
| 38 | // { | ||
| 39 | // label: '', | ||
| 40 | // align: 'center', | ||
| 41 | // render: (h, scope) => { | ||
| 42 | // return <el-radio label={scope.row.taskid} v-model={this.radioVal} >{''}</el-radio> | ||
| 43 | // } | ||
| 44 | // }, | ||
| 45 | { | 34 | { |
| 46 | label: "", | 35 | label: "", |
| 47 | width: "36px", | 36 | width: "36px", |
| 48 | render: (h, scope) => { | 37 | render: (h, scope) => { |
| 49 | return ( | 38 | return ( |
| 50 | <div class="orgColumn"> | 39 | <div class="orgColumn"> |
| 51 | <el-radio v-model={this.radioVal} label={scope.row.taskid} onChange={() => {this.radioClick(scope.row); | 40 | <el-radio v-model={this.radioVal} label={scope.row.taskid} onChange={() => { |
| 52 | }}> | 41 | this.radioClick(scope.row); |
| 42 | }}> | ||
| 53 | {" "} | 43 | {" "} |
| 54 |   | 44 |   |
| 55 | </el-radio> | 45 | </el-radio> |
| ... | @@ -65,62 +55,61 @@ export default { | ... | @@ -65,62 +55,61 @@ export default { |
| 65 | prop: "assignee", | 55 | prop: "assignee", |
| 66 | label: "办理人", | 56 | label: "办理人", |
| 67 | }, | 57 | }, |
| 68 | |||
| 69 | ]; | 58 | ]; |
| 70 | return { | 59 | return { |
| 71 | columns, | 60 | columns, |
| 72 | radioVal:"", | 61 | radioVal: "", |
| 73 | outstepopinion:"", | 62 | outstepopinion: "", |
| 74 | tableData:[], | 63 | tableData: [], |
| 75 | list:{ | 64 | list: { |
| 76 | bsmSlsq:"", | 65 | bsmSlsq: "", |
| 77 | backNodeList:[], | 66 | backNodeList: [], |
| 78 | }, | 67 | }, |
| 79 | sumbitList:{}, | 68 | sumbitList: {}, |
| 80 | activityId:"", | 69 | activityId: "", |
| 81 | } | 70 | } |
| 82 | }, | 71 | }, |
| 83 | mounted(){ | 72 | mounted () { |
| 84 | if(this.$route.query.bsmSlsq){ | 73 | if (this.$route.query.bsmSlsq) { |
| 85 | this.list.bsmSlsq = this.$route.query.bsmSlsq | 74 | this.list.bsmSlsq = this.$route.query.bsmSlsq |
| 86 | } | 75 | } |
| 87 | }, | 76 | }, |
| 88 | methods: { | 77 | methods: { |
| 89 | tablelistFn(){ | 78 | tablelistFn () { |
| 90 | getTaskBackNode({bsmBusiness:this.bsmBusiness}).then(res => { | 79 | getTaskBackNode({ bsmBusiness: this.bsmBusiness }).then(res => { |
| 91 | if (res.code === 200) { | 80 | if (res.code === 200) { |
| 92 | this.tableData = res.result | 81 | this.tableData = res.result |
| 93 | } | 82 | } |
| 94 | }) | 83 | }) |
| 95 | }, | 84 | }, |
| 96 | radioClick(scope){ | 85 | radioClick (scope) { |
| 97 | this.activityId = scope.activityId | 86 | this.activityId = scope.activityId |
| 98 | this.sumbitList = scope | 87 | this.sumbitList = scope |
| 99 | 88 | ||
| 100 | }, | 89 | }, |
| 101 | submitForm () { | 90 | submitForm () { |
| 102 | if(this.activityId==undefined){ | 91 | if (this.activityId == undefined) { |
| 103 | this.$message.error('请至少选择一条数据'); | 92 | this.$message.error('请至少选择一条数据'); |
| 104 | return | 93 | return |
| 105 | } | 94 | } |
| 106 | this.list.backNodeList.push({ | 95 | this.list.backNodeList.push({ |
| 107 | id:this.taskId, | 96 | id: this.taskId, |
| 108 | taskid:this.activityId, | 97 | taskid: this.activityId, |
| 109 | processInstanceId:this.sumbitList.processInstanceId, | 98 | processInstanceId: this.sumbitList.processInstanceId, |
| 110 | bsmBusiness:this.bsmBusiness, | 99 | bsmBusiness: this.bsmBusiness, |
| 111 | outstepopinion:this.outstepopinion | 100 | outstepopinion: this.outstepopinion |
| 112 | }) | 101 | }) |
| 113 | sendBackTask(this.list).then(res => { | 102 | sendBackTask(this.list).then(res => { |
| 114 | if (res.code === 200) { | 103 | if (res.code === 200) { |
| 115 | this.$message.success('退回成功') | 104 | this.$message.success('退回成功') |
| 116 | setTimeout(() => { | 105 | setTimeout(() => { |
| 117 | window.opener = null; | 106 | window.opener = null; |
| 118 | window.open("about:blank", "_self"); | 107 | window.open("about:blank", "_self"); |
| 119 | window.close(); | 108 | window.close(); |
| 120 | this.$emit('input', false) | 109 | this.$emit('input', false) |
| 121 | }, 1000); | 110 | }, 1000); |
| 122 | 111 | ||
| 123 | }else{ | 112 | } else { |
| 124 | this.$message.error(res.message) | 113 | this.$message.error(res.message) |
| 125 | } | 114 | } |
| 126 | }) | 115 | }) |
| ... | @@ -128,12 +117,13 @@ export default { | ... | @@ -128,12 +117,13 @@ export default { |
| 128 | closeDialog () { | 117 | closeDialog () { |
| 129 | this.$emit("input", false); | 118 | this.$emit("input", false); |
| 130 | }, | 119 | }, |
| 131 | 120 | ||
| 132 | } | 121 | } |
| 133 | } | 122 | } |
| 134 | </script> | 123 | </script> |
| 135 | <style scoped lang="scss"> | 124 | <style scoped lang="scss"> |
| 136 | @import "~@/styles/mixin.scss"; | 125 | @import "~@/styles/mixin.scss"; |
| 126 | |||
| 137 | .textArea { | 127 | .textArea { |
| 138 | /deep/.el-textarea__inner { | 128 | /deep/.el-textarea__inner { |
| 139 | min-height: 90px !important; | 129 | min-height: 90px !important; | ... | ... |
| ... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
| 28 | <script> | 28 | <script> |
| 29 | import table from "@/utils/mixin/table"; | 29 | import table from "@/utils/mixin/table"; |
| 30 | import { getCertificateList, issueCertificate } from "@/api/fqsq.js"; | 30 | import { getCertificateList, issueCertificate } from "@/api/fqsq.js"; |
| 31 | import { datas } from "./fzxxdata"; | 31 | import { datas } from "../javascript/fzxxdata"; |
| 32 | import { mapGetters } from 'vuex' | 32 | import { mapGetters } from 'vuex' |
| 33 | export default { | 33 | export default { |
| 34 | mixins: [table], | 34 | mixins: [table], | ... | ... |
| ... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
| 49 | </template> | 49 | </template> |
| 50 | 50 | ||
| 51 | <script> | 51 | <script> |
| 52 | import { datas } from "./zsyl.js"; | 52 | import { datas } from "../javascript/zsyl.js"; |
| 53 | import { readYsxlh,certificate } from "@/api/fqsq.js" | 53 | import { readYsxlh,certificate } from "@/api/fqsq.js" |
| 54 | export default { | 54 | export default { |
| 55 | components: { | 55 | components: { | ... | ... |
| ... | @@ -6,7 +6,7 @@ export function getForm (tabName) { | ... | @@ -6,7 +6,7 @@ export function getForm (tabName) { |
| 6 | form = require("@/views/ywbl/jsydsyq/slxx.vue"); | 6 | form = require("@/views/ywbl/jsydsyq/slxx.vue"); |
| 7 | break; | 7 | break; |
| 8 | case "slxxCfdj": | 8 | case "slxxCfdj": |
| 9 | form = require("@/views/workflow/components/slxxCfdj.vue"); | 9 | form = require("@/views/ywbl/cfdj/slxx.vue"); |
| 10 | break; | 10 | break; |
| 11 | case "clxx": | 11 | case "clxx": |
| 12 | form = require("@/views/workflow/components/clxx.vue"); | 12 | form = require("@/views/workflow/components/clxx.vue"); | ... | ... |
src/views/ywbl/cfdj/1.vue
deleted
100644 → 0
File mode changed
| ... | @@ -129,7 +129,7 @@ | ... | @@ -129,7 +129,7 @@ |
| 129 | </div> | 129 | </div> |
| 130 | </template> | 130 | </template> |
| 131 | <script> | 131 | <script> |
| 132 | import InformationTable from "./InformationTable"; | 132 | import InformationTable from "@/views/workflow/components/InformationTable"; |
| 133 | import { Init, fristReg } from "@/api/cfdjFlow.js"; | 133 | import { Init, fristReg } from "@/api/cfdjFlow.js"; |
| 134 | import { mapGetters } from "vuex"; | 134 | import { mapGetters } from "vuex"; |
| 135 | export default { | 135 | export default { | ... | ... |
| ... | @@ -168,7 +168,6 @@ import { Init, fristReg } from "@/api/jsydsyqFlow.js"; | ... | @@ -168,7 +168,6 @@ import { Init, fristReg } from "@/api/jsydsyqFlow.js"; |
| 168 | import { mapGetters } from "vuex"; | 168 | import { mapGetters } from "vuex"; |
| 169 | export default { | 169 | export default { |
| 170 | async created () { | 170 | async created () { |
| 171 | //var bsmSldy = this.$parent._data.unitData[0].bsmSldy; | ||
| 172 | this.propsParam = this.$attrs; | 171 | this.propsParam = this.$attrs; |
| 173 | var formdata = new FormData(); | 172 | var formdata = new FormData(); |
| 174 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 173 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ... | ... |
-
Please register or sign in to post a comment