Commit ec9d2bbeb1c5758ecb7eb65b88928ac8cccb08bc
m
Showing
5 changed files
with
421 additions
and
13 deletions
trash-ui/src/api/taskmethod.js
| 1 | -import {formDataSave, formDataShow, listTask,getNames} from "@/api/activiti/task"; | ||
| 2 | - | ||
| 3 | -import {historyFromData} from '@/api/activiti/historyFormdata' | ||
| 4 | -import {addSign, getSignByObjId} from "@/api/sign/sign"; | ||
| 5 | -import {updateCaseOffline} from "@/api/caseOffline/caseOffline"; | ||
| 6 | -import {updateViolationCaseFileReader} from "@/api/casefile/violationCaseFile"; | ||
| 7 | -import {updateViolationCaseFileReader1} from "@/api/casefile/violationWarningInformation"; | ||
| 8 | -import {getDict, getSupervision, getUsers} from "@/api/dict"; | ||
| 9 | -import {activeThreestep} from "@/api/business/threestep"; | ||
| 10 | -import {getToken} from "@/utils/auth"; | ||
| 11 | -import {addReplyApprovalProcess} from "@/api/casefile/replyApprovalProcess"; | 1 | +import {formDataSave, formDataShow, listTask,getNames} from "@/api/activiti/task"; |
| 2 | + | ||
| 3 | +import {historyFromData} from '@/api/activiti/historyFormdata' | ||
| 4 | +import {addSign, getSignByObjId} from "@/api/sign/sign"; | ||
| 5 | +import {updateCaseOffline} from "@/api/caseOffline/caseOffline"; | ||
| 6 | +import {updateViolationCaseFileReader} from "@/api/casefile/violationCaseFile"; | ||
| 7 | +import {updateViolationCaseFileReader1} from "@/api/casefile/violationWarningInformation"; | ||
| 8 | +import {getDict, getSupervision, getUsers} from "@/api/dict"; | ||
| 9 | +import {activeThreestep} from "@/api/business/threestep"; | ||
| 10 | +import {getToken} from "@/utils/auth"; | ||
| 11 | +import {addReplyApprovalProcess} from "@/api/casefile/replyApprovalProcess"; | ||
| 12 | import {updateHandleAffairs} from "@/api/office/handle"; | 12 | import {updateHandleAffairs} from "@/api/office/handle"; |
| 13 | import { listTrack, getTrack} from "@/api/business/track"; | 13 | import { listTrack, getTrack} from "@/api/business/track"; |
| 14 | 14 | ||
| @@ -317,6 +317,10 @@ export default { | @@ -317,6 +317,10 @@ export default { | ||
| 317 | this.driver = true; | 317 | this.driver = true; |
| 318 | return; | 318 | return; |
| 319 | } | 319 | } |
| 320 | + if(this.definitionKey == "workflow_drop_point"){ | ||
| 321 | + this.dropPoint = true; | ||
| 322 | + return; | ||
| 323 | + } | ||
| 320 | this.open = true; | 324 | this.open = true; |
| 321 | this.title = "审批"; | 325 | this.title = "审批"; |
| 322 | }); | 326 | }); |
| @@ -561,6 +565,7 @@ export default { | @@ -561,6 +565,7 @@ export default { | ||
| 561 | 565 | ||
| 562 | if ( | 566 | if ( |
| 563 | this.definitionKey.indexOf("supervision") > -1 || | 567 | this.definitionKey.indexOf("supervision") > -1 || |
| 568 | + this.definitionKey == "workflow_drop_point" || | ||
| 564 | this.definitionKey == "workflow_company" || | 569 | this.definitionKey == "workflow_company" || |
| 565 | this.definitionKey == "workflow_driver" || | 570 | this.definitionKey == "workflow_driver" || |
| 566 | this.definitionKey == "workflow_vehicle" || | 571 | this.definitionKey == "workflow_vehicle" || |
trash-ui/src/views/activiti/task/dropPointinfo.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div> | ||
| 3 | + <div v-loading="loading" style="border: 1px solid black;"> | ||
| 4 | + <el-row > | ||
| 5 | + <el-col :span="12" class="bd">投放点编号</el-col> | ||
| 6 | + <el-col :span="12" class="bd">{{infoData.dropPointNo}}</el-col> | ||
| 7 | + </el-row> | ||
| 8 | + <el-row > | ||
| 9 | + <el-col :span="12" class="bd">投放点名称</el-col> | ||
| 10 | + <el-col :span="12" class="bd">{{infoData.dropPointName}}</el-col> | ||
| 11 | + </el-row> | ||
| 12 | + <el-row > | ||
| 13 | + <el-col :span="12" class="bd">所属区域</el-col> | ||
| 14 | + <el-col :span="12" class="bd">{{dict(infoData.place)}}</el-col> | ||
| 15 | + </el-row> | ||
| 16 | + <el-row > | ||
| 17 | + <el-col :span="12" class="bd">所属街道</el-col> | ||
| 18 | + <el-col :span="12" class="bd">{{dictInfo(infoData.street)}}</el-col> | ||
| 19 | + </el-row> | ||
| 20 | + <el-row > | ||
| 21 | + <el-col :span="12" class="bd">社区</el-col> | ||
| 22 | + <el-col :span="12" class="bd">{{infoData.community}}</el-col> | ||
| 23 | + </el-row> | ||
| 24 | + <el-row > | ||
| 25 | + <el-col :span="12" class="bd">详细地址</el-col> | ||
| 26 | + <el-col :span="12" class="bd">{{infoData.address}}</el-col> | ||
| 27 | + </el-row> | ||
| 28 | + <el-row > | ||
| 29 | + <el-col :span="12" class="bd">投放点形式</el-col> | ||
| 30 | + <el-col :span="12" class="bd">{{infoData.type}}</el-col> | ||
| 31 | + </el-row> | ||
| 32 | + <el-row > | ||
| 33 | + <el-col :span="12" class="bd">投放点面积(m²)</el-col> | ||
| 34 | + <el-col :span="12" class="bd">{{infoData.area}}</el-col> | ||
| 35 | + </el-row> | ||
| 36 | + <el-row > | ||
| 37 | + <el-col :span="12" class="bd">投放点容量(m³)</el-col> | ||
| 38 | + <el-col :span="12" class="bd">{{infoData.capacity}}</el-col> | ||
| 39 | + </el-row> | ||
| 40 | + <el-row > | ||
| 41 | + <el-col :span="12" class="bd">管理单位</el-col> | ||
| 42 | + <el-col :span="12" class="bd">{{infoData.managementUnit}}</el-col> | ||
| 43 | + </el-row> | ||
| 44 | + <el-row > | ||
| 45 | + <el-col :span="12" class="bd">管理人</el-col> | ||
| 46 | + <el-col :span="12" class="bd">{{infoData.custodian}}</el-col> | ||
| 47 | + </el-row> | ||
| 48 | + <el-row > | ||
| 49 | + <el-col :span="12" class="bd">管理员电话</el-col> | ||
| 50 | + <el-col :span="12" class="bd">{{infoData.custodianPhone}}</el-col> | ||
| 51 | + </el-row> | ||
| 52 | + <el-row > | ||
| 53 | + <el-col :span="12" class="bd">投放时间</el-col> | ||
| 54 | + <el-col :span="12" class="bd">{{infoData.dropTime}}</el-col> | ||
| 55 | + </el-row> | ||
| 56 | + <el-row > | ||
| 57 | + <el-col :span="12" class="bd">运营单位</el-col> | ||
| 58 | + <el-col :span="12" class="bd">{{infoData.operatingUnit}}</el-col> | ||
| 59 | + </el-row> | ||
| 60 | + <el-row > | ||
| 61 | + <el-col :span="12" class="bd">运输单位</el-col> | ||
| 62 | + <el-col :span="12" class="bd">{{infoData.transportUnit}}</el-col> | ||
| 63 | + </el-row> | ||
| 64 | + <el-row > | ||
| 65 | + <el-col :span="12" class="bd">坐标点</el-col> | ||
| 66 | + <el-col :span="12" class="bd">{{infoData.coordinatePoint}}</el-col> | ||
| 67 | + </el-row> | ||
| 68 | + </div> | ||
| 69 | + </div> | ||
| 70 | +</template> | ||
| 71 | + | ||
| 72 | +<script> | ||
| 73 | + | ||
| 74 | + | ||
| 75 | +import store from "@/store"; | ||
| 76 | +import { | ||
| 77 | + getToken | ||
| 78 | +} from "@/utils/auth"; | ||
| 79 | +import { | ||
| 80 | + listDropPointInfo, | ||
| 81 | + getDropPointInfo, | ||
| 82 | + delDropPointInfo, | ||
| 83 | + addDropPointInfo, | ||
| 84 | + updateDropPointInfo, | ||
| 85 | + exportDropPointInfo | ||
| 86 | +} from "@/api/unit/dropPointInfo"; | ||
| 87 | +import {getAreaList} from "@/api/dict" | ||
| 88 | + | ||
| 89 | + | ||
| 90 | + | ||
| 91 | + | ||
| 92 | +export default { | ||
| 93 | + name: "dropPointinfo", | ||
| 94 | + props: { | ||
| 95 | + businessKey: { | ||
| 96 | + type: String | ||
| 97 | + }, | ||
| 98 | + }, | ||
| 99 | + data() { | ||
| 100 | + return { | ||
| 101 | + sign: store.getters.avatar, //裁剪图片的地址 | ||
| 102 | + areas: [], | ||
| 103 | + loading: null, | ||
| 104 | + infoData: {}, | ||
| 105 | + dicts:null, | ||
| 106 | + showPic:false, | ||
| 107 | + picImage:null, | ||
| 108 | + } | ||
| 109 | + }, | ||
| 110 | + created() { | ||
| 111 | + getAreaList().then(response => { | ||
| 112 | + if(response==null || response.length===0){ | ||
| 113 | + this.$message.error("获取区域列表失败"); | ||
| 114 | + return; | ||
| 115 | + } | ||
| 116 | + const data = response; | ||
| 117 | + for (let dataKey in data) { | ||
| 118 | + if(data[dataKey].level === '3'){ | ||
| 119 | + this.areas.push({name:data[dataKey].name,code:data[dataKey].id, streets:[]}) | ||
| 120 | + } | ||
| 121 | + } | ||
| 122 | + for(let dataKey in data){ | ||
| 123 | + for(let areas1Key in this.areas){ | ||
| 124 | + if(data[dataKey].pid === this.areas[areas1Key].code){ | ||
| 125 | + this.areas[areas1Key].streets.push({code:data[dataKey].id, name:data[dataKey].name}) | ||
| 126 | + } | ||
| 127 | + } | ||
| 128 | + } | ||
| 129 | + }); | ||
| 130 | + this.loading = true; | ||
| 131 | + this.getInfo(); | ||
| 132 | + | ||
| 133 | + }, | ||
| 134 | + methods: { | ||
| 135 | + dict(code) { | ||
| 136 | + for (let key in this.areas) { | ||
| 137 | + if (this.areas[key].code === code) { | ||
| 138 | + return this.areas[key].name; | ||
| 139 | + } | ||
| 140 | + } | ||
| 141 | + }, | ||
| 142 | + dictInfo(code) { | ||
| 143 | + for (let key in this.areas) { | ||
| 144 | + for (let keyInfo in this.areas[key].streets) { | ||
| 145 | + if (this.areas[key].streets[keyInfo].code === code) { | ||
| 146 | + return this.areas[key].streets[keyInfo].name; | ||
| 147 | + } | ||
| 148 | + } | ||
| 149 | + } | ||
| 150 | + }, | ||
| 151 | + getInfo() { | ||
| 152 | + let id; | ||
| 153 | + if (this.businessKey.split(":").length == 2) { | ||
| 154 | + id = this.businessKey.split(":")[1]; | ||
| 155 | + } else { | ||
| 156 | + id = this.businessKey; | ||
| 157 | + } | ||
| 158 | + | ||
| 159 | + getDropPointInfo(id).then(response => { | ||
| 160 | + | ||
| 161 | + this.infoData = response.data; | ||
| 162 | + // getArea().then(res => { | ||
| 163 | + // this.areas = res.result; | ||
| 164 | + // this.loading = false; | ||
| 165 | + // for (let i = 0; i < this.areas.length; i++) { | ||
| 166 | + // if (Number(this.infoData.place) == this.areas[i].code) { | ||
| 167 | + // this.infoData.place = this.areas[i].name; | ||
| 168 | + // } | ||
| 169 | + // } | ||
| 170 | + // }); | ||
| 171 | + | ||
| 172 | + // for(let i in obj){ | ||
| 173 | + // if(this.objectDict[i]){ | ||
| 174 | + // this.infoData.push({label:this.objectDict[i] ,value:obj[i]}) | ||
| 175 | + // } | ||
| 176 | + // } | ||
| 177 | + this.loading = false; | ||
| 178 | + }); | ||
| 179 | + }, | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | +} | ||
| 183 | +</script> | ||
| 184 | +<style> | ||
| 185 | +.bd{ | ||
| 186 | + padding:5px; | ||
| 187 | +} | ||
| 188 | + | ||
| 189 | + | ||
| 190 | + | ||
| 191 | +</style> |
trash-ui/src/views/activiti/task/index.vue
| @@ -678,6 +678,25 @@ | @@ -678,6 +678,25 @@ | ||
| 678 | </div> | 678 | </div> |
| 679 | </el-dialog> | 679 | </el-dialog> |
| 680 | 680 | ||
| 681 | + <el-dialog :title="title" :visible.sync="dropPoint" width="1500px" append-to-body :close-on-click-modal="false"> | ||
| 682 | + <dropPointinfo :businessKey="businessKey" :businessType="5" v-if="dropPoint"/> | ||
| 683 | + <div v-for="item in this.form.formData"> | ||
| 684 | + <el-input v-if="item.controlType=='textarea'" :label="item.controlLable" v-model="item.controlValue" | ||
| 685 | + placeholder="批注" type="textarea" :rows="3" style="margin-top:20px;"/> | ||
| 686 | + </div> | ||
| 687 | + | ||
| 688 | + <el-table :data="hisfromData" v-if="hisfromData != null"> | ||
| 689 | + | ||
| 690 | + <el-table-column label="处理意见" align="center" prop="controlValue"/> | ||
| 691 | + <el-table-column label="处理人" align="center" prop="createName"/> | ||
| 692 | + <el-table-column label="处理时间" align="center" prop="createTime"/> | ||
| 693 | + </el-table> | ||
| 694 | + <div slot="footer" class="dialog-footer"> | ||
| 695 | + <el-button type="danger" @click="submitForm(form.formData[0].controlId,1)">驳回</el-button> | ||
| 696 | + <el-button type="primary" @click="submitForm(form.formData[0].controlId,0)">通过</el-button> | ||
| 697 | + </div> | ||
| 698 | + </el-dialog> | ||
| 699 | + | ||
| 681 | </div> | 700 | </div> |
| 682 | </template> | 701 | </template> |
| 683 | 702 | ||
| @@ -716,7 +735,7 @@ | @@ -716,7 +735,7 @@ | ||
| 716 | import companyInfo from "@/views/activiti/task/companyInfo"; | 735 | import companyInfo from "@/views/activiti/task/companyInfo"; |
| 717 | import driverInfo from "@/views/activiti/task/driverInfo"; | 736 | import driverInfo from "@/views/activiti/task/driverInfo"; |
| 718 | import vehicleInfo from "@/views/activiti/task/vehicleInfo"; | 737 | import vehicleInfo from "@/views/activiti/task/vehicleInfo"; |
| 719 | - import dropInfo from "@/views/unit/dropPointInfo/info"; | 738 | + import dropPointinfo from "@/views/activiti/task/dropPointinfo"; |
| 720 | 739 | ||
| 721 | import taskmethod from '@/api/taskmethod' | 740 | import taskmethod from '@/api/taskmethod' |
| 722 | 741 | ||
| @@ -741,7 +760,8 @@ | @@ -741,7 +760,8 @@ | ||
| 741 | supervisionInfo, | 760 | supervisionInfo, |
| 742 | companyInfo, | 761 | companyInfo, |
| 743 | driverInfo, | 762 | driverInfo, |
| 744 | - vehicleInfo | 763 | + vehicleInfo, |
| 764 | + dropPointinfo | ||
| 745 | }, | 765 | }, |
| 746 | data() { | 766 | data() { |
| 747 | return { | 767 | return { |
| @@ -837,6 +857,7 @@ | @@ -837,6 +857,7 @@ | ||
| 837 | company: false, | 857 | company: false, |
| 838 | driver: false, | 858 | driver: false, |
| 839 | vehicle: false, | 859 | vehicle: false, |
| 860 | + dropPoint: false, | ||
| 840 | names: null, | 861 | names: null, |
| 841 | hisfromData: [], | 862 | hisfromData: [], |
| 842 | slides: [], | 863 | slides: [], |
trash-ui/src/views/h5/task/dropPointinfo.vue
0 → 100644
| 1 | +<template> | ||
| 2 | + <div> | ||
| 3 | + <div v-loading="loading" style="border: 1px solid black;"> | ||
| 4 | + <el-row > | ||
| 5 | + <el-col :span="12" class="bd">投放点编号</el-col> | ||
| 6 | + <el-col :span="12" class="bd">{{infoData.dropPointNo}}</el-col> | ||
| 7 | + </el-row> | ||
| 8 | + <el-row > | ||
| 9 | + <el-col :span="12" class="bd">投放点名称</el-col> | ||
| 10 | + <el-col :span="12" class="bd">{{infoData.dropPointName}}</el-col> | ||
| 11 | + </el-row> | ||
| 12 | + <el-row > | ||
| 13 | + <el-col :span="12" class="bd">所属区域</el-col> | ||
| 14 | + <el-col :span="12" class="bd">{{dict(infoData.place)}}</el-col> | ||
| 15 | + </el-row> | ||
| 16 | + <el-row > | ||
| 17 | + <el-col :span="12" class="bd">所属街道</el-col> | ||
| 18 | + <el-col :span="12" class="bd">{{dictInfo(infoData.street)}}</el-col> | ||
| 19 | + </el-row> | ||
| 20 | + <el-row > | ||
| 21 | + <el-col :span="12" class="bd">社区</el-col> | ||
| 22 | + <el-col :span="12" class="bd">{{infoData.community}}</el-col> | ||
| 23 | + </el-row> | ||
| 24 | + <el-row > | ||
| 25 | + <el-col :span="12" class="bd">详细地址</el-col> | ||
| 26 | + <el-col :span="12" class="bd">{{infoData.address}}</el-col> | ||
| 27 | + </el-row> | ||
| 28 | + <el-row > | ||
| 29 | + <el-col :span="12" class="bd">投放点形式</el-col> | ||
| 30 | + <el-col :span="12" class="bd">{{infoData.type}}</el-col> | ||
| 31 | + </el-row> | ||
| 32 | + <el-row > | ||
| 33 | + <el-col :span="12" class="bd">投放点面积(m²)</el-col> | ||
| 34 | + <el-col :span="12" class="bd">{{infoData.area}}</el-col> | ||
| 35 | + </el-row> | ||
| 36 | + <el-row > | ||
| 37 | + <el-col :span="12" class="bd">投放点容量(m³)</el-col> | ||
| 38 | + <el-col :span="12" class="bd">{{infoData.capacity}}</el-col> | ||
| 39 | + </el-row> | ||
| 40 | + <el-row > | ||
| 41 | + <el-col :span="12" class="bd">管理单位</el-col> | ||
| 42 | + <el-col :span="12" class="bd">{{infoData.managementUnit}}</el-col> | ||
| 43 | + </el-row> | ||
| 44 | + <el-row > | ||
| 45 | + <el-col :span="12" class="bd">管理人</el-col> | ||
| 46 | + <el-col :span="12" class="bd">{{infoData.custodian}}</el-col> | ||
| 47 | + </el-row> | ||
| 48 | + <el-row > | ||
| 49 | + <el-col :span="12" class="bd">管理员电话</el-col> | ||
| 50 | + <el-col :span="12" class="bd">{{infoData.custodianPhone}}</el-col> | ||
| 51 | + </el-row> | ||
| 52 | + <el-row > | ||
| 53 | + <el-col :span="12" class="bd">投放时间</el-col> | ||
| 54 | + <el-col :span="12" class="bd">{{infoData.dropTime}}</el-col> | ||
| 55 | + </el-row> | ||
| 56 | + <el-row > | ||
| 57 | + <el-col :span="12" class="bd">运营单位</el-col> | ||
| 58 | + <el-col :span="12" class="bd">{{infoData.operatingUnit}}</el-col> | ||
| 59 | + </el-row> | ||
| 60 | + <el-row > | ||
| 61 | + <el-col :span="12" class="bd">运输单位</el-col> | ||
| 62 | + <el-col :span="12" class="bd">{{infoData.transportUnit}}</el-col> | ||
| 63 | + </el-row> | ||
| 64 | + <el-row > | ||
| 65 | + <el-col :span="12" class="bd">坐标点</el-col> | ||
| 66 | + <el-col :span="12" class="bd">{{infoData.coordinatePoint}}</el-col> | ||
| 67 | + </el-row> | ||
| 68 | + </div> | ||
| 69 | + </div> | ||
| 70 | +</template> | ||
| 71 | + | ||
| 72 | +<script> | ||
| 73 | + | ||
| 74 | + | ||
| 75 | +import store from "@/store"; | ||
| 76 | +import { | ||
| 77 | + getToken | ||
| 78 | +} from "@/utils/auth"; | ||
| 79 | +import { | ||
| 80 | + listDropPointInfo, | ||
| 81 | + getDropPointInfo, | ||
| 82 | + delDropPointInfo, | ||
| 83 | + addDropPointInfo, | ||
| 84 | + updateDropPointInfo, | ||
| 85 | + exportDropPointInfo | ||
| 86 | +} from "@/api/unit/dropPointInfo"; | ||
| 87 | +import {getAreaList} from "@/api/dict" | ||
| 88 | + | ||
| 89 | + | ||
| 90 | + | ||
| 91 | + | ||
| 92 | +export default { | ||
| 93 | + name: "dropPointinfo", | ||
| 94 | + props: { | ||
| 95 | + businessKey: { | ||
| 96 | + type: String | ||
| 97 | + }, | ||
| 98 | + }, | ||
| 99 | + data() { | ||
| 100 | + return { | ||
| 101 | + sign: store.getters.avatar, //裁剪图片的地址 | ||
| 102 | + areas: [], | ||
| 103 | + loading: null, | ||
| 104 | + infoData: {}, | ||
| 105 | + dicts:null, | ||
| 106 | + showPic:false, | ||
| 107 | + picImage:null, | ||
| 108 | + } | ||
| 109 | + }, | ||
| 110 | + created() { | ||
| 111 | + getAreaList().then(response => { | ||
| 112 | + if(response==null || response.length===0){ | ||
| 113 | + this.$message.error("获取区域列表失败"); | ||
| 114 | + return; | ||
| 115 | + } | ||
| 116 | + const data = response; | ||
| 117 | + for (let dataKey in data) { | ||
| 118 | + if(data[dataKey].level === '3'){ | ||
| 119 | + this.areas.push({name:data[dataKey].name,code:data[dataKey].id, streets:[]}) | ||
| 120 | + } | ||
| 121 | + } | ||
| 122 | + for(let dataKey in data){ | ||
| 123 | + for(let areas1Key in this.areas){ | ||
| 124 | + if(data[dataKey].pid === this.areas[areas1Key].code){ | ||
| 125 | + this.areas[areas1Key].streets.push({code:data[dataKey].id, name:data[dataKey].name}) | ||
| 126 | + } | ||
| 127 | + } | ||
| 128 | + } | ||
| 129 | + }); | ||
| 130 | + this.loading = true; | ||
| 131 | + this.getInfo(); | ||
| 132 | + | ||
| 133 | + }, | ||
| 134 | + methods: { | ||
| 135 | + dict(code) { | ||
| 136 | + for (let key in this.areas) { | ||
| 137 | + if (this.areas[key].code === code) { | ||
| 138 | + return this.areas[key].name; | ||
| 139 | + } | ||
| 140 | + } | ||
| 141 | + }, | ||
| 142 | + dictInfo(code) { | ||
| 143 | + for (let key in this.areas) { | ||
| 144 | + for (let keyInfo in this.areas[key].streets) { | ||
| 145 | + if (this.areas[key].streets[keyInfo].code === code) { | ||
| 146 | + return this.areas[key].streets[keyInfo].name; | ||
| 147 | + } | ||
| 148 | + } | ||
| 149 | + } | ||
| 150 | + }, | ||
| 151 | + getInfo() { | ||
| 152 | + let id; | ||
| 153 | + if (this.businessKey.split(":").length == 2) { | ||
| 154 | + id = this.businessKey.split(":")[1]; | ||
| 155 | + } else { | ||
| 156 | + id = this.businessKey; | ||
| 157 | + } | ||
| 158 | + | ||
| 159 | + getDropPointInfo(id).then(response => { | ||
| 160 | + | ||
| 161 | + this.infoData = response.data; | ||
| 162 | + // getArea().then(res => { | ||
| 163 | + // this.areas = res.result; | ||
| 164 | + // this.loading = false; | ||
| 165 | + // for (let i = 0; i < this.areas.length; i++) { | ||
| 166 | + // if (Number(this.infoData.place) == this.areas[i].code) { | ||
| 167 | + // this.infoData.place = this.areas[i].name; | ||
| 168 | + // } | ||
| 169 | + // } | ||
| 170 | + // }); | ||
| 171 | + | ||
| 172 | + // for(let i in obj){ | ||
| 173 | + // if(this.objectDict[i]){ | ||
| 174 | + // this.infoData.push({label:this.objectDict[i] ,value:obj[i]}) | ||
| 175 | + // } | ||
| 176 | + // } | ||
| 177 | + this.loading = false; | ||
| 178 | + }); | ||
| 179 | + }, | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | +} | ||
| 183 | +</script> | ||
| 184 | +<style> | ||
| 185 | +.bd{ | ||
| 186 | + padding:5px; | ||
| 187 | +} | ||
| 188 | + | ||
| 189 | + | ||
| 190 | + | ||
| 191 | +</style> |
trash-ui/src/views/unit/dropPointInfo/info.vue renamed to trash-ui/src/views/unit/dropPointInfo/dropPointinfo.vue