| @@ -125,6 +125,15 @@ export function approval(data) { | |||
| params:data | |||
| }) | |||
| } | |||
| // 上传附件 | |||
| export function attach(data) { | |||
| return request({ | |||
| url: '/common/attach', | |||
| method: 'post', | |||
| data:data | |||
| }) | |||
| } | |||
| // 删除银行转账 | |||
| export function delTransfer(id) { | |||
| return request({ | |||
| @@ -219,6 +219,11 @@ | |||
| </van-popup> | |||
| </div> | |||
| </div> | |||
| <!-- <p class="main_title">上传附件</p>--> | |||
| <!-- <div class="main_box" style="padding: 10px 0 0 10px">--> | |||
| <!-- <van-uploader v-model="fileList" :after-read="beforeRead"></van-uploader>--> | |||
| <!-- <van-button type="button">上传</van-button>--> | |||
| <!-- </div>--> | |||
| <div style="padding: 16px 0;"> | |||
| <van-row> | |||
| <van-col span="12" align="center"> | |||
| @@ -237,7 +242,7 @@ | |||
| </template> | |||
| <script> | |||
| import { addTransfer , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit , getAccount ,getQmyeFlow} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | |||
| import { addTransfer , listPayee , updateTransfer , getProjectto , listProject , addProjectto , customSubmit , getAccount ,getQmyeFlow , attach} from "@/api/onlineHome/bankAgriculture/paymentApproval"; | |||
| export default { | |||
| name: "approvalModify", | |||
| data() { | |||
| @@ -256,6 +261,7 @@ | |||
| maxDate: new Date(2025, 10, 1), | |||
| currentDate: new Date(), | |||
| form:{}, | |||
| fileList:[], | |||
| capitalExpenditureType:'', | |||
| payee:'', | |||
| @@ -293,7 +299,16 @@ | |||
| outId:null, | |||
| ynType:'1' | |||
| }, | |||
| projectFundType:'' | |||
| projectFundType:'', | |||
| //上传附件 | |||
| uploadAttachmentData: { | |||
| rows: {}, | |||
| visible: false, | |||
| //业务表名 | |||
| tableName: "t_yinnong_transfer", | |||
| //存放目录 默认系统模块 | |||
| bizPath: "upload", | |||
| }, | |||
| }; | |||
| }, | |||
| created() { | |||
| @@ -330,6 +345,11 @@ | |||
| this.getDictionaries(); | |||
| }, | |||
| methods: { | |||
| // 返回布尔值 | |||
| beforeRead(file) { | |||
| console.log(file) | |||
| console.log(this.fileList) | |||
| }, | |||
| // 表单重置 | |||
| reset() { | |||
| this.form = { | |||
| @@ -377,6 +397,19 @@ | |||
| this.goAdd(); | |||
| } | |||
| }, | |||
| //更新文件回显 | |||
| afterRead(file) { | |||
| this.$forceUpdate(); | |||
| }, | |||
| //删除图片 | |||
| deleteFile(elIndex){ | |||
| this.$forceUpdate(); | |||
| return (file, name) => { | |||
| let fileIndex = name.index | |||
| this.fileList[elIndex].splice(fileIndex, 1) | |||
| this.upLoadList[elIndex].splice(fileIndex, 1) | |||
| } | |||
| }, | |||
| getDictionaries(){ | |||
| this.getDicts("capital_expenditure_type").then((res) => { | |||
| for (var i = 0; i < res.data.length; i++) { | |||
| @@ -716,10 +749,14 @@ | |||
| goBack(){ | |||
| window.history.go(-1) | |||
| }, | |||
| //删除家庭成员 | |||
| deleteChargeItme(index){ | |||
| this.chargeItme.splice(index,1) | |||
| }, | |||
| goUpload(){ | |||
| attach(this.uploadAttachmentData).then((response) => { | |||
| console.log(response) | |||
| }); | |||
| } | |||
| }, | |||
| } | |||
| </script> | |||
| @@ -19,10 +19,10 @@ | |||
| <van-col span="6" align="right"><p class="icon_jian blue"><van-icon name="success" size="14" /></p></van-col> | |||
| <van-col span="18" class="textBlue">已申请 | |||
| <van-row> | |||
| <van-col span="24" style="padding: 0;" class="textBlue" v-show="processList.待申请==2">{{processList.申请人}}</van-col> | |||
| <van-col span="24" style="padding: 0;" class="textBlue" v-show="processList.待申请==2">申请人:{{processList.申请人}}</van-col> | |||
| </van-row> | |||
| <van-row> | |||
| <van-col span="24" style="padding: 0;" class="textBlue" v-show="processList.待申请==2">{{processList.申请时间}}</van-col> | |||
| <van-col span="24" style="padding: 0;" class="textBlue" v-show="processList.待申请==2">申请时间:{{processList.申请时间}}</van-col> | |||
| </van-row> | |||
| </van-col> | |||
| </van-row> | |||
| @@ -229,7 +229,7 @@ | |||
| </van-form> | |||
| <!-- 审核流程开始--> | |||
| <div class="main_box examine_box"> | |||
| <div class="main_box examine_box" v-if=""> | |||
| <van-row type="flex" justify="space-between" align="center"> | |||
| <van-col span="5">审核<br/>意见</van-col> | |||
| <van-col span="19"> | |||
| @@ -241,7 +241,7 @@ | |||
| </van-col> | |||
| </van-row> | |||
| </div> | |||
| <div class="main_box examine_box"> | |||
| <div class="main_box examine_box" v-if="applicationDetail.needVillageAudit"> | |||
| <van-row type="flex" justify="space-between" align="center"> | |||
| <van-col span="5">村级<br/>审核<br/>意见</van-col> | |||
| <van-col span="19"> | |||
| @@ -253,7 +253,7 @@ | |||
| </van-col> | |||
| </van-row> | |||
| </div> | |||
| <div class="main_box examine_box"> | |||
| <div class="main_box examine_box" v-if="applicationDetail.needTownAudit"> | |||
| <van-row type="flex" justify="space-between" align="center"> | |||
| <van-col span="5">镇级<br/>审核<br/>意见</van-col> | |||
| <van-col span="19"> | |||
| @@ -266,7 +266,7 @@ | |||
| </van-row> | |||
| </div> | |||
| <div class="main_box examine_box"> | |||
| <div class="main_box examine_box" v-if="applicationDetail.needAgricultureAudit"> | |||
| <van-row type="flex" justify="space-between" align="center"> | |||
| <van-col span="5">农业<br/>农村<br/>部门<br/>审查<br/>意见</van-col> | |||
| <van-col span="19"> | |||
| @@ -301,7 +301,7 @@ | |||
| </van-row> | |||
| </div> | |||
| <div class="main_box examine_box"> | |||
| <div class="main_box examine_box" v-if="applicationDetail.needNatureAudit"> | |||
| <van-row type="flex" justify="space-between" align="center"> | |||
| <van-col span="5">自然<br/>资源<br/>部门<br/>意见</van-col> | |||
| <van-col span="19"> | |||
| @@ -316,9 +316,9 @@ | |||
| </van-row> | |||
| </div> | |||
| <div class="main_box examine_box"> | |||
| <div class="main_box examine_box" v-if="applicationDetail.needAgricultureShow"> | |||
| <van-row type="flex" justify="space-between" align="center"> | |||
| <van-col span="5">农业<br/>农村<br/>部门<br/>审查<br/>意见</van-col> | |||
| <van-col span="5">其他<br/>部门<br/>意见<br/>(住宅<br/>部门)</van-col> | |||
| <van-col span="19"> | |||
| <van-field v-model="value" label="建筑类型" placeholder="请选择" readonly input-align="right" is-link arrow-direction="down"/> | |||
| <van-field v-model="value" label="图纸类型" placeholder="请选择" readonly input-align="right" is-link arrow-direction="down"/> | |||