Browse Source

问题修改

wulanhaote
庞东旭 3 years ago
parent
commit
3f05a6b3b6
4 changed files with 58 additions and 12 deletions
  1. +9
    -0
      src/api/onlineHome/bankAgriculture/paymentApproval.js
  2. +40
    -3
      src/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd.vue
  3. +2
    -2
      src/views/onlineHome/bankAgriculture/paymentApproval/approvalProcess.vue
  4. +7
    -7
      src/views/onlineHome/homestead/homeApproval/approvalForm.vue

+ 9
- 0
src/api/onlineHome/bankAgriculture/paymentApproval.js View File

@@ -125,6 +125,15 @@ export function approval(data) {
params:data params:data
}) })
} }

// 上传附件
export function attach(data) {
return request({
url: '/common/attach',
method: 'post',
data:data
})
}
// 删除银行转账 // 删除银行转账
export function delTransfer(id) { export function delTransfer(id) {
return request({ return request({


+ 40
- 3
src/views/onlineHome/bankAgriculture/paymentApproval/approvalAdd.vue View File

@@ -219,6 +219,11 @@
</van-popup> </van-popup>
</div> </div>
</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;"> <div style="padding: 16px 0;">
<van-row> <van-row>
<van-col span="12" align="center"> <van-col span="12" align="center">
@@ -237,7 +242,7 @@
</template> </template>


<script> <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 { export default {
name: "approvalModify", name: "approvalModify",
data() { data() {
@@ -256,6 +261,7 @@
maxDate: new Date(2025, 10, 1), maxDate: new Date(2025, 10, 1),
currentDate: new Date(), currentDate: new Date(),
form:{}, form:{},
fileList:[],


capitalExpenditureType:'', capitalExpenditureType:'',
payee:'', payee:'',
@@ -293,7 +299,16 @@
outId:null, outId:null,
ynType:'1' ynType:'1'
}, },
projectFundType:''
projectFundType:'',
//上传附件
uploadAttachmentData: {
rows: {},
visible: false,
//业务表名
tableName: "t_yinnong_transfer",
//存放目录 默认系统模块
bizPath: "upload",
},
}; };
}, },
created() { created() {
@@ -330,6 +345,11 @@
this.getDictionaries(); this.getDictionaries();
}, },
methods: { methods: {
// 返回布尔值
beforeRead(file) {
console.log(file)
console.log(this.fileList)
},
// 表单重置 // 表单重置
reset() { reset() {
this.form = { this.form = {
@@ -377,6 +397,19 @@
this.goAdd(); 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(){ getDictionaries(){
this.getDicts("capital_expenditure_type").then((res) => { this.getDicts("capital_expenditure_type").then((res) => {
for (var i = 0; i < res.data.length; i++) { for (var i = 0; i < res.data.length; i++) {
@@ -716,10 +749,14 @@
goBack(){ goBack(){
window.history.go(-1) window.history.go(-1)
}, },
//删除家庭成员
deleteChargeItme(index){ deleteChargeItme(index){
this.chargeItme.splice(index,1) this.chargeItme.splice(index,1)
}, },
goUpload(){
attach(this.uploadAttachmentData).then((response) => {
console.log(response)
});
}
}, },
} }
</script> </script>


+ 2
- 2
src/views/onlineHome/bankAgriculture/paymentApproval/approvalProcess.vue View File

@@ -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="6" align="right"><p class="icon_jian blue"><van-icon name="success" size="14" /></p></van-col>
<van-col span="18" class="textBlue">已申请 <van-col span="18" class="textBlue">已申请
<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-row>
<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-row>
</van-col> </van-col>
</van-row> </van-row>


+ 7
- 7
src/views/onlineHome/homestead/homeApproval/approvalForm.vue View File

@@ -229,7 +229,7 @@
</van-form> </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-row type="flex" justify="space-between" align="center">
<van-col span="5">审核<br/>意见</van-col> <van-col span="5">审核<br/>意见</van-col>
<van-col span="19"> <van-col span="19">
@@ -241,7 +241,7 @@
</van-col> </van-col>
</van-row> </van-row>
</div> </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-row type="flex" justify="space-between" align="center">
<van-col span="5">村级<br/>审核<br/>意见</van-col> <van-col span="5">村级<br/>审核<br/>意见</van-col>
<van-col span="19"> <van-col span="19">
@@ -253,7 +253,7 @@
</van-col> </van-col>
</van-row> </van-row>
</div> </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-row type="flex" justify="space-between" align="center">
<van-col span="5">镇级<br/>审核<br/>意见</van-col> <van-col span="5">镇级<br/>审核<br/>意见</van-col>
<van-col span="19"> <van-col span="19">
@@ -266,7 +266,7 @@
</van-row> </van-row>
</div> </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-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-col span="19">
@@ -301,7 +301,7 @@
</van-row> </van-row>
</div> </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-row type="flex" justify="space-between" align="center">
<van-col span="5">自然<br/>资源<br/>部门<br/>意见</van-col> <van-col span="5">自然<br/>资源<br/>部门<br/>意见</van-col>
<van-col span="19"> <van-col span="19">
@@ -316,9 +316,9 @@
</van-row> </van-row>
</div> </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-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-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"/>
<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"/>


Loading…
Cancel
Save