Commit 5b36cc83 authored by 786817560's avatar 786817560

'12/9'

parent 9d63be03
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-12-05 19:09:00 * @LastEditTime: 2019-12-09 11:01:19
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -413,6 +413,7 @@ export default { ...@@ -413,6 +413,7 @@ export default {
vm.getBseMsg() vm.getBseMsg()
vm.getLease() vm.getLease()
vm.getGuarantor() vm.getGuarantor()
vm.getContractLists() // 合同列表
} else if (from.name === 'EntryInfo') { } else if (from.name === 'EntryInfo') {
vm.bankCardQuery() vm.bankCardQuery()
} }
...@@ -720,7 +721,22 @@ export default { ...@@ -720,7 +721,22 @@ export default {
} }
}) })
}, },
// 合同列表查询
getContractLists () {
let vm = this
let url = $config.basePath + 'prj_contract_text_query'
let param = {
project_id: vm.project_id,
}
vm.hlsPopup.showLoading('数据加载中')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
console.log('合同列表', res)
// if (res.result === 'S') {
// vm.info = res.info
// }
})
},
// 还款计划 // 还款计划
repayPlan () { repayPlan () {
this.$router.push({ this.$router.push({
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit * @Descrip""/>User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-29 20:31:00 * @Date: 2019-09-29 20:31:00
* @LastEditTime: 2019-12-06 11:16:12 * @LastEditTime: 2019-12-09 13:57:18
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -298,9 +298,6 @@ export default { ...@@ -298,9 +298,6 @@ export default {
</script> </script>
<style lang='less' scoped> <style lang='less' scoped>
#details1 { #details1 {
.content {
padding-bottom: 200px;
}
.date-pic { .date-pic {
height: 17px; height: 17px;
width: 17px; width: 17px;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<h4>问题反馈</h4> <h4>问题反馈</h4>
<div class="write"> <div class="write">
<div class="box"> <div class="box">
<span @click="getPic">问题描述</span> <span>问题描述</span>
<textarea v-model="question_desc" placeholder="请输入您的描述……" /> <textarea v-model="question_desc" placeholder="请输入您的描述……" />
</div> </div>
</div> </div>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="file-content"> <div class="file-content">
<div <div
v-for="(item, index) in upload_list" v-for="(item, index) in upload_list"
v-if="item.check_id==list.check_id" v-if="item.check_id===question_id"
:key="index" :key="index"
class="file" class="file"
> >
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<!-- <div class="file"> <!-- <div class="file">
<img src="@/assets/help/1.jpg" > <img src="@/assets/help/1.jpg" >
</div> --> </div> -->
<div class="file" @click="imgUploadShow(list.check_id)"> <div class="file" @click="imgUploadShow(question_id)">
<img class="photo" src="@/assets/help/photo.png" > <img class="photo" src="@/assets/help/photo.png" >
</div> </div>
</div> </div>
...@@ -52,9 +52,7 @@ export default { ...@@ -52,9 +52,7 @@ export default {
data () { data () {
return { return {
question_desc: '', // 问题描述 question_desc: '', // 问题描述
list: { question_id: '',
chck_id: this.$route.params.question_id,
},
upload_list: [], // 上传图片列表 upload_list: [], // 上传图片列表
} }
}, },
...@@ -63,6 +61,8 @@ export default { ...@@ -63,6 +61,8 @@ export default {
if (from.name === 'HelpList') { if (from.name === 'HelpList') {
vm.question_desc = '' vm.question_desc = ''
vm.upload_list = [] vm.upload_list = []
vm.question_id = ''
vm.getQuestionId()
} }
}) })
}, },
...@@ -269,20 +269,18 @@ export default { ...@@ -269,20 +269,18 @@ export default {
vm.upload_list.remove(index) vm.upload_list.remove(index)
vm.upload_list.sort() vm.upload_list.sort()
}, },
// 获取图片
getPic () { // 获取question_id
getQuestionId () {
let vm = this let vm = this
let url = process.env.basePath + 'app_attment_query' let url = process.env.basePath + 'get_app_question_id'
let param = { let param = { }
master: { vm.hlsPopup.showLoading('请稍后!')
source_type: 'HLS_APP_QUESTION', vm.hlsHttp.post(url, param).then(function (res) {
pkvalue: vm.$route.params.question_id,
},
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
console.log('sssss', res) if (res.result === 'S') {
vm.question_id = res.info.question_id
}
}) })
}, },
}, },
......
...@@ -85,20 +85,8 @@ export default { ...@@ -85,20 +85,8 @@ export default {
}) })
}, },
changeFeedback () { changeFeedback () {
let vm = this this.$router.push({
let url = process.env.basePath + 'get_app_question_id' name: 'HelpFeedback',
let param = { }
vm.hlsPopup.showLoading('请稍后!')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.$router.push({
name: 'HelpFeedback',
params: {
question_id: res.info.question_id,
},
})
}
}) })
}, },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment