| | |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-s-order avue-group__icon"></i> |
| | | <h1 class="avue-group__title">任务反馈</h1> |
| | | <h1 class="avue-group__title">任务心得</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <el-input |
| | | disabled="true" |
| | | type="textarea" |
| | | v-model="security.result" |
| | | v-model="security.content" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-card> |
| | | |
| | | <div |
| | | style="margin-top: 20px" |
| | | role="tab" |
| | | aria-expanded="true" |
| | | aria-controls="el-collapse-content-823" |
| | | aria-describedby="el-collapse-content-823" |
| | | > |
| | | <div |
| | | role="button" |
| | | tabindex="0" |
| | | class="el-collapse-item__header focusing is-active" |
| | | > |
| | | <div class="avue-group__header avue-group"> |
| | | <i class="el-icon-s-order avue-group__icon"></i> |
| | | <h1 class="avue-group__title">任务意见</h1> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-card> |
| | | <el-input |
| | | disabled="true" |
| | | type="textarea" |
| | | v-model="security.yj" |
| | | autocomplete="off" |
| | | ></el-input> |
| | | </el-card> |
| | |
| | | |
| | | }, |
| | | mounted() { |
| | | this.getAudios(); |
| | | // this.getAudios(); |
| | | this.getImgAndVideo(); |
| | | this.getList(); |
| | | // this.$refs.mapDiv.onload = () => { |
| | |
| | | // } |
| | | }, |
| | | methods: { |
| | | rowclick(row, column, event){ |
| | | rowclick(row, column, event) { |
| | | var iframe = window.document.getElementById("mapDiv"); |
| | | row.rwid = this.form.id; |
| | | iframe.contentWindow.locations(row); |
| | |
| | | ind: (i += 1), |
| | | name: item.real_name, |
| | | phone: item.phone, |
| | | online_status: item.online_status == 1 ? "在线" : "掉线", |
| | | online_status: item.online_status == 1 ? "在线" : "在线", |
| | | status: "已抵达", |
| | | tenantName: item.tenantName, |
| | | }); |
| | |
| | | this.$refs.multipleTable.clearSelection(); |
| | | } |
| | | }, |
| | | |
| | | getAudios() { |
| | | axios({ |
| | | method: "get", |
| | | url: "/api/avideo/list", |
| | | params: { |
| | | jid: this.form.id, |
| | | }, |
| | | }).then((resdata) => { |
| | | if (resdata.data.data.records.length > 0) |
| | | this.audios = resdata.data.data.records; |
| | | }); |
| | | }, |
| | | getImgAndVideo() { |
| | | axios({ |
| | | method: "post", |
| | | url: "/api/feedback/feedback/selectFeedEdit", |
| | | method: "get", |
| | | url: "/api/taskfk/list", |
| | | params: { |
| | | jid: this.form.id, |
| | | hdid: this.form.id, |
| | | }, |
| | | }).then((resdata) => { |
| | | if (resdata.data.data.length > 0) { |
| | | if (resdata.data.data[0].List.length > 0) |
| | | this.security = resdata.data.data[0].List[0]; |
| | | if (resdata.data.data[0].tp.length > 0) { |
| | | this.imgSrc = resdata.data.data[0].tp; |
| | | this.srcList = resdata.data.data[0].tp; |
| | | var res = resdata.data.data.records |
| | | if (res.length > 0) { |
| | | this.security = res[0]; |
| | | if (res[0].tpurl != "" && res[0].tpurl!=null){ |
| | | this.imgSrc = res[0].tpurl.split(","); |
| | | this.srcList = res[0].tpurl.split(","); |
| | | } |
| | | if (resdata.data.data[0].sp.length > 0) { |
| | | this.feedbackVideo = resdata.data.data[0].sp[0]; |
| | | } |
| | | this.feedbackVideo = res[0].spurl; |
| | | } |
| | | }); |
| | | }, |