From 5ba9921fb11703c89de646c1176dbfa0f59bc4cd Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 01 八月 2023 09:27:12 +0800
Subject: [PATCH] yxh
---
src/views/project/travelexpenseslist/index.vue | 2
src/views/project/travelexpenseslistrecord/index.vue | 6 +
src/views/project/documentfiles/index.vue | 2
src/views/project/donateannex/index.vue | 2
src/utils/request.js | 2
src/views/project/travelexpenseslist/eidt.vue | 2
src/views/home/index.vue | 4
src/views/project/fund/expertFeeFundApply/index.vue | 247 +++++++++++++++++++++++++++++--------------------
src/views/project/fund/fundApply/index.vue | 2
src/views/project/medicalcostfundapplycheck/index.vue | 2
src/views/project/travelexpenseslist/Modifydetails/index.vue | 3
src/views/project/fund/medicalCostFundApply/index.vue | 4
src/views/project/components/annexupload/index.vue | 2
13 files changed, 165 insertions(+), 115 deletions(-)
diff --git a/src/utils/request.js b/src/utils/request.js
index 078d22e..c3acfca 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -98,7 +98,7 @@
Message({
message: message,
type: 'error',
- duration: 30* 1000
+ duration: 10* 1000
})
return Promise.reject(error)
}
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 441b195..34fac9c 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -1641,13 +1641,13 @@
donateorgans = res.data;
console.log("donateorgans:" + JSON.stringify(donateorgans))
} catch (e) {}
- debugger
+ //debugger
try {
let res = await getdonateNumberByMonth(params);
organList = res.data;
console.log("organList:" + JSON.stringify(organList))
} catch (e) {}
- debugger
+ //debugger
console.log(donateorgans);
let arr = [];
for (let i = 0; i < 12; i++) {
diff --git a/src/views/project/components/annexupload/index.vue b/src/views/project/components/annexupload/index.vue
index 4e94aee..718dd8f 100644
--- a/src/views/project/components/annexupload/index.vue
+++ b/src/views/project/components/annexupload/index.vue
@@ -311,7 +311,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
console.log("涓婁紶鏂囦欢鍚庯細" + JSON.stringify(this.fileList));
},
diff --git a/src/views/project/documentfiles/index.vue b/src/views/project/documentfiles/index.vue
index d5d6185..64bf2be 100644
--- a/src/views/project/documentfiles/index.vue
+++ b/src/views/project/documentfiles/index.vue
@@ -698,7 +698,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
//console.log("涓婁紶鏂囦欢鍚庯細" + JSON.stringify(this.fileList));
},
diff --git a/src/views/project/donateannex/index.vue b/src/views/project/donateannex/index.vue
index 5da777f..35b88b9 100644
--- a/src/views/project/donateannex/index.vue
+++ b/src/views/project/donateannex/index.vue
@@ -1044,7 +1044,7 @@
}
}
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
diff --git a/src/views/project/fund/expertFeeFundApply/index.vue b/src/views/project/fund/expertFeeFundApply/index.vue
index d92089c..4593a19 100644
--- a/src/views/project/fund/expertFeeFundApply/index.vue
+++ b/src/views/project/fund/expertFeeFundApply/index.vue
@@ -96,10 +96,10 @@
<template slot-scope="scope">
<el-button v-if="scope.row.recordstatus == -1 ||
scope.row.recordstatus == 1
- " size="mini" type="text" icon="el-icon-edit" @click="(scope.row)">涓婃姤</el-button>
+ " size="mini" type="text" icon="el-icon-edit" @click="handleUp(scope.row)">涓婃姤</el-button>
<el-button v-if="scope.row.recordstatus == -1 ||
scope.row.recordstatus == 1
- " size="mini" type="text" icon="el-icon-edit" @click="date(scope.row)">淇敼</el-button>
+ " size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">淇敼</el-button>
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)">鏌ョ湅</el-button>
<!-- v-hasPermi="['project:expretfund:edit']" -->
<el-button v-if="scope.row.recordstatus == -1 ||
@@ -137,6 +137,14 @@
</el-form-item>
</el-col>
<el-col :span="5">
+ <el-form-item label="缁忓姙浜�" prop="username">
+ <el-select v-model="form.username" placeholder="鐢宠浜�" clearable filterable allow-create style="width: 100%">
+ <el-option v-for="dict in userlist" :key="dict.index" :label="dict.nickname"
+ :value="dict.nickname"></el-option>
+ </el-select>
+ </el-form-item>
+ </el-col>
+ <el-col :span="5">
<el-form-item label="鎵�灞炵粍鍒�" prop="deptmentname">
<el-input v-model="form.deptmentname" placeholder="璇疯緭鍏ユ墍灞炵粍鍒�" clearable />
</el-form-item>
@@ -144,13 +152,6 @@
<el-col :span="5">
<el-form-item label="缁勯暱" prop="managername">
<el-input v-model="form.managername" placeholder="璇疯緭鍏ョ粍闀�" clearable />
- </el-form-item>
- </el-col><el-col :span="5">
- <el-form-item label="缁忓姙浜�" prop="username">
- <el-select v-model="form.username" placeholder="鐢宠浜�" clearable filterable allow-create style="width: 100%">
- <el-option v-for="dict in userlist" :key="dict.index" :label="dict.nickname"
- :value="dict.nickname"></el-option>
- </el-select>
</el-form-item>
</el-col>
</el-row>
@@ -178,25 +179,38 @@
</el-form-item>
</el-col>
<el-col :span="5">
- <el-form-item label="鎹愮尞鑰�" prop="name">
- <el-input :disabled="true" v-model="form.name" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" />
+ <el-form-item label="鑱旂郴鐢佃瘽" prop="phone">
+ <el-input v-model="form.phone" placeholder="璇疯緭鍏ヨ仈绯荤數璇�" />
</el-form-item>
</el-col>
+
</el-row>
<el-row style="text-align: left">
+ <!--
<el-col :span="5">
<el-form-item label="鍚堣閲戦" prop="amountrequested">
<el-input v-model="form.amountrequested" placeholder="鐢宠閲戦" :disabled="true" />
</el-form-item>
</el-col>
+ -->
<el-col :span="5">
- <el-form-item label="绋庡墠閲戦" prop="pretaxcost">
+ <el-form-item label="鐢宠閲戦" prop="pretaxcost">
<el-input v-model="form.pretaxcost" placeholder="绋庡墠閲戦鍚堣" :disabled="true" />
</el-form-item>
</el-col>
<el-col :span="5">
+ <el-form-item label="搴旂即绋�" prop="taxcost">
+ <el-input v-model="form.taxcost" placeholder="搴旂即绋庨噾棰濆悎璁�" :disabled="true" />
+ </el-form-item>
+ </el-col><!--
+ <el-col :span="5">
<el-form-item label="绋庡悗閲戦" prop="pretaxcost">
<el-input v-model="form.taxedcost" placeholder="绋庡悗閲戦鍚堣" :disabled="true" />
+ </el-form-item>
+ </el-col>-->
+ <el-col :span="5">
+ <el-form-item label="鎹愮尞鑰�" prop="name">
+ <el-input :disabled="true" v-model="form.name" placeholder="璇疯緭鍏ユ崘鐚�呭鍚�" />
</el-form-item>
</el-col>
<el-col :span="5">
@@ -362,7 +376,8 @@
</template>
</el-table-column>
</el-table>
- </el-row> <!--
+ </el-row>
+ <!--
<el-row>
<el-col :span="7">
<el-form-item label="棰勬敮閲戦" prop="prepaidamount">
@@ -402,20 +417,20 @@
</el-form-item>
</el-col>
</el-row>
-
+ -->
<el-row>
<el-col :span="12">
<el-form-item label="璐圭敤鐢宠闄勪欢" align="left" prop="annexbankcard">
<el-upload size="mini" class="upload-demo" :action="uploadFileUrl" :file-list="fileList" multiple
:limit="20" :headers="headers" :on-success="(response, file, fileList) =>
uploadSccess(response, file, fileList)
- " :on-preview="downFile" :disabled='dialogType == "detail"' :on-error="loadError"
+ " :on-preview="downFile" :disabled='dialogType == "detail"' :on-error="handleUploadError"
:on-exceed="handleExceed" :on-remove="remove" accept="image/*,.pdf">
<el-button :disabled='dialogType == "detail"' size="small" type="primary">涓婁紶</el-button>
</el-upload>
</el-form-item>
</el-col>
- </el-row> -->
+ </el-row>
<el-row v-if="dialogType == 'detail'">
<el-table :data="fundflowList" border>
<el-table-column label="瀹℃牳浜�" align="center" width="120" prop="checkusername" />
@@ -539,6 +554,7 @@
listDonatebaseinfo,
getDonatebaseinfo
} from "@/api/project/donatebaseinfo";
+
import {
onelistFund,
listFund,
@@ -555,6 +571,7 @@
batchUploadFund,
getdetailsByItemId
} from "@/api/project/fund";
+
import {
onelistFunds,
listFunddetails,
@@ -575,13 +592,16 @@
getTaxationByBeneFiciaryNo,
getTaxBeforeByAfterMoney
} from "@/api/project/funddetail";
+
import { listFundflow } from "@/api/project/fundflow";
+
import {
listOrganization,
getOrganization,
listReportname,
listUser
} from "@/api/project/organization";
+
import {
listExternalperson,
getExternalperson,
@@ -591,6 +611,7 @@
updateExternalperson,
exportExternalperson
} from "@/api/project/externalperson";
+
import { getUserProfile } from "@/api/system/user";
import Li_area_select from "@/components/Address";
import OrgSelecter from "@/views/project/components/orgselect";
@@ -603,7 +624,9 @@
Li_area_select,
OrgSelecter,
},
+
name: "fundApply",
+
dicts: [
//"sys_consolationfundlevel",
//"sys_OrganizationType",
@@ -619,11 +642,12 @@
"sys_recordstatus",
"sys_professionaltitle"
],
+
data() {
//杩欓噷瀛樻斁鏁版嵁
return {
// 閬僵灞�
- loading: true,
+ loading: false,
// 瀵煎嚭閬僵灞�
exportLoading: false,
total: 0,
@@ -729,9 +753,6 @@
//鏄惁鏄笓瀹惰垂鐨凮PO瀹℃壒浜哄憳
ismanager: false,
-
-
-
unitList: [],
dialogType: "edit",
fundflowList: [],
@@ -795,38 +816,33 @@
computed: {},
//鐩戞帶data涓殑鏁版嵁鍙樺寲
watch: {},
- // mounted(){
- // this.getUsermsg()
- // },
+ //鐢熷懡鍛ㄦ湡 - 鍒涘缓瀹屾垚锛堝彲浠ヨ闂綋鍓峵his瀹炰緥锛�
+ created() {
+ this.getList();
+ this.getBaseInfoList();
+ this.getCurFundType();
+ this.getUserList();
+ this.getUnitList();
+
+ },
+
+ //鐢熷懡鍛ㄦ湡 - 鎸傝浇瀹屾垚锛堝彲浠ヨ闂瓺OM鍏冪礌锛�
+ mounted() {
+ this.selectReporters();
+ this.getUsermsg();
+ this.getExternalpersonList();
+ },
+
+ beforeCreate() { }, //鐢熷懡鍛ㄦ湡 - 鍒涘缓涔嬪墠
+ beforeMount() { }, //鐢熷懡鍛ㄦ湡 - 鎸傝浇涔嬪墠
+ beforeUpdate() { }, //鐢熷懡鍛ㄦ湡 - 鏇存柊涔嬪墠
+ updated() { }, //鐢熷懡鍛ㄦ湡 - 鏇存柊涔嬪悗
+ beforeDestroy() { }, //鐢熷懡鍛ㄦ湡 - 閿�姣佷箣鍓�
+ destroyed() { }, //鐢熷懡鍛ㄦ湡 - 閿�姣佸畬鎴�
+ activated() { }, //濡傛灉椤甸潰鏈塳eep-alive缂撳瓨鍔熻兘锛岃繖涓嚱鏁颁細瑙﹀彂
+
//鏂规硶闆嗗悎
methods: {
- //鐢熷懡鍛ㄦ湡 - 鍒涘缓瀹屾垚锛堝彲浠ヨ闂綋鍓峵his瀹炰緥锛�
- created() {
- console.log("getUnitList", 1);
- this.getUnitList();
- console.log("getBaseInfoList", 2);
- this.getBaseInfoList();
- console.log("getlistUser", 3);
- this.getlistUser();
- console.log("getCurFundType", 4);
- this.getCurFundType();
- console.log("getList", 5);
- this.getList();
- console.log("last", 6);
- },
- //鐢熷懡鍛ㄦ湡 - 鎸傝浇瀹屾垚锛堝彲浠ヨ闂瓺OM鍏冪礌锛�
- mounted() {
- this.selectReporters();
- this.getUsermsg();
- this.getlistExternalperson();
- },
- beforeCreate() { }, //鐢熷懡鍛ㄦ湡 - 鍒涘缓涔嬪墠
- beforeMount() { }, //鐢熷懡鍛ㄦ湡 - 鎸傝浇涔嬪墠
- beforeUpdate() { }, //鐢熷懡鍛ㄦ湡 - 鏇存柊涔嬪墠
- updated() { }, //鐢熷懡鍛ㄦ湡 - 鏇存柊涔嬪悗
- beforeDestroy() { }, //鐢熷懡鍛ㄦ湡 - 閿�姣佷箣鍓�
- destroyed() { }, //鐢熷懡鍛ㄦ湡 - 閿�姣佸畬鎴�
- activated() { }, //濡傛灉椤甸潰鏈塳eep-alive缂撳瓨鍔熻兘锛岃繖涓嚱鏁颁細瑙﹀彂
/** 鎼滅储鎸夐挳鎿嶄綔 */
handleQuery() {
@@ -841,16 +857,6 @@
this.handleQuery();
},
- /** 涓嬭浇鏂囦欢鎸夐挳鎿嶄綔 */
- downFile(item) {
- const url = process.env.VUE_APP_BASE_API + item.url
- var a = document.createElement('a');
- var event = new MouseEvent('click');
- a.download = item.name;
- a.href = url;
- a.dispatchEvent(event);
- },
-
/** 鏂板鎸夐挳鎿嶄綔 */
handleAdd() {
if (this.curCase.id) {
@@ -860,13 +866,14 @@
this.form.donorno = this.curCase.donorno;
this.form.name = this.curCase.name;
this.form.infoid = this.curCase.id;
+ console.log("defaultperson", this.defaultperson);
this.form.username = this.defaultperson.nickName;
this.form.userno = this.defaultperson.userName;
- // this.form.phone = this.defaultperson.phone;
-
+ this.form.phone = this.defaultperson.phonenumber;
this.form.deptmentname = this.defaultperson.dept.deptName;
this.form.deptmentno = this.defaultperson.dept.deptId;
this.form.managername = this.defaultperson.dept.leader;
+
// this.form.createTime = nowdate;
//this.open = true;
//this.initFundApplyForm();
@@ -1005,7 +1012,7 @@
},
/** 涓婃姤鎸夐挳鎿嶄綔 */
- handleup(row) {
+ handleUp(row) {
this.$confirm("鏄惁纭灏嗙櫥璁拌褰曚笂鎶ワ紵", "鎻愮ず", {
confirmButtonText: "纭畾",
cancelButtonText: "鍙栨秷",
@@ -1166,23 +1173,42 @@
if (this.form.id != null) {
//鎹愮尞鑰�
this.form.donorname = this.curCase.name;
- }
- else {
+
+ updateFund(this.form).then((response) => {
+ if (response.code === 200) {
+ this.loading = false;
+ for (let m = 0; m < this.fundDetails.length; m++) {
+ if (this.fundDetails[m].id > 0) {
+ updateFunddetail(this.fundDetails[m]).then((response2) => { this.$modal.msgError("涓撳鍔冲姟璐逛繚瀛樺け璐�1锛�" + response.msg); });
+ } else {
+ addFunddetail(this.fundDetails[m]).then((response2) => { this.$modal.msgError("涓撳鍔冲姟璐逛繚瀛樺け璐�2锛�" + response.msg); });
+ }
+ }
+ this.$modal.msgSuccess("涓撳鍔冲姟璐逛繚瀛樻垚鍔燂紒");
+ } else {
+ this.$modal.msgError("涓撳鍔冲姟璐逛繚瀛樺け璐ワ細" + response.msg);
+ }
+
+ });
+
+ } else {
this.form.recordstatus = -1;
+
+ batchUploadFund(this.form).then((response) => {
+ if (response.code === 200) {
+ this.selectDonotor(this.curCase);
+ } else {
+ this.$modal.msgError("涓撳鍔冲姟璐逛繚瀛樺け璐ワ細" + response.msg);
+ }
+ });
}
-
- batchUploadFund(this.form).then((response) => {
- if (response.code === 200) {
- this.$modal.msgSuccess("涓撳鍔冲姟璐逛繚瀛樻垚鍔燂紒");
- this.selectDonotor(this.curCase);
- } else {
- this.$modal.msgError("涓撳鍔冲姟璐逛繚瀛樺け璐ワ細" + response.msg);
- }
- });
-
//鍏抽棴绐楀彛
this.loading = false;
this.dialogOpen = false;
+ // this.getfundList();
+ this.getList();
+ this.selectDonotor(this.curCase);
+
}
});
},
@@ -1451,6 +1477,7 @@
/** 鏌ヨ鎹愮尞浜洪亾鎱伴棶閲戝垪琛� */
getList() {
+ console.log("getList", "getList");
this.loading = true;
this.queryParams.params = {};
if (null != this.daterangeReporttime && "" != this.daterangeReporttime) {
@@ -1461,12 +1488,11 @@
// this.queryParams.residencetown = this.$refs.areaSelect.getQu();
listDonatebaseinfo(this.queryParams).then((response) => {
this.donatebaseinfoList = response.rows;
- console.log("this.queryParams", this.queryParams)
- console.log("this.donatebaseinfoList", this.donatebaseinfoList)
this.total = response.total;
this.loading = false;
});
},
+
getUnitList() {
listOrganization(3).then((response) => {
for (let i = 0; i < response.rows.length; i++) {
@@ -1478,6 +1504,7 @@
}
});
},
+
getBaseInfoList() {
this.loading = true;
listDonatebaseinfo(this.queryParams).then((response) => {
@@ -1492,6 +1519,7 @@
this.curCase = row;
this.getfundList();
},
+
getfundList() {
this.loading = true;
this.reset();
@@ -1667,7 +1695,7 @@
},
//鑾峰彇涓撳鍒楄〃
- getlistExternalperson() {
+ getExternalpersonList() {
listExternalperson().then((res) => {
this.personlist = res.rows;
});
@@ -1711,11 +1739,33 @@
});
},
- getlistUser() {
+ getUserList() {
listUser().then((res) => {
console.log("listUser", res);
this.userlist = res.data;
});
+ },
+
+ //绛涙煡鍑哄搴旂殑璐圭敤椤圭洰
+ searchItemType(val, scope) {
+ let result = [];
+ if (val != "") {
+ let tempItemArr = scope.row.itemArr;
+ for (let i = 0; i < tempItemArr.length; i++) {
+ let pym = tempItemArr[i].itempinyin;
+ if (pym != null && pym != undefined && pym != "") {
+ if (pym.indexOf(val) != -1) {
+ result.push(tempItemArr[i]);
+ }
+ }
+ }
+ scope.row.itemArr = result;
+ } else {
+ getItemNames(scope.row.applytype).then((res) => {
+ scope.row.itemArr = res.data;
+ //this.$set(this.fundDetails, rowindex, row);
+ });
+ }
},
deleteRows(row, index, rows) {
@@ -1878,36 +1928,29 @@
});
},
- //绛涙煡鍑哄搴旂殑璐圭敤椤圭洰
- searchItemType(val, scope) {
- let result = [];
- if (val != "") {
- let tempItemArr = scope.row.itemArr;
- for (let i = 0; i < tempItemArr.length; i++) {
- let pym = tempItemArr[i].itempinyin;
- if (pym != null && pym != undefined && pym != "") {
- if (pym.indexOf(val) != -1) {
- result.push(tempItemArr[i]);
- }
- }
- }
- scope.row.itemArr = result;
- } else {
- getItemNames(scope.row.applytype).then((res) => {
- scope.row.itemArr = res.data;
- //this.$set(this.fundDetails, rowindex, row);
- });
- }
- },
+
//鏂囦欢涓婁紶
handleUploadError() { },
+
+ /** 涓嬭浇鏂囦欢鎸夐挳鎿嶄綔 */
+ downFile(item) {
+ const url = process.env.VUE_APP_BASE_API + item.url
+ var a = document.createElement('a');
+ var event = new MouseEvent('click');
+ a.download = item.name;
+ a.href = url;
+ a.dispatchEvent(event);
+ },
+
remove(file) {
this.fileList.splice(this.fileList.indexOf(file), 1)
},
+
handleExceed() {
this.$message.error(`涓婁紶鏂囦欢鏁伴噺涓嶈兘瓒呰繃 ${5} 涓�!`);
},
+
//鏂囦欢涓婁紶鎴愬姛鍥炶皟
uploadSccess(response, file, fileList) {
//鑾峰彇闄勪欢淇℃伅浣嶇疆
@@ -1916,14 +1959,14 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
},
-
};
+
</script>
<style scoped>
/* @import url(); 寮曞叆鍏叡css绫� */
diff --git a/src/views/project/fund/fundApply/index.vue b/src/views/project/fund/fundApply/index.vue
index d79a315..b1872b8 100644
--- a/src/views/project/fund/fundApply/index.vue
+++ b/src/views/project/fund/fundApply/index.vue
@@ -1470,7 +1470,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
diff --git a/src/views/project/fund/medicalCostFundApply/index.vue b/src/views/project/fund/medicalCostFundApply/index.vue
index 2fe9dd2..763a956 100644
--- a/src/views/project/fund/medicalCostFundApply/index.vue
+++ b/src/views/project/fund/medicalCostFundApply/index.vue
@@ -1499,7 +1499,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
// 涓嬭浇鏂囦欢
@@ -1537,11 +1537,13 @@
this.getlistUser();
// this.getUnitList();
},
+
//鐢熷懡鍛ㄦ湡 - 鎸傝浇瀹屾垚锛堝彲浠ヨ闂瓺OM鍏冪礌锛�
mounted() {
this.getBankAccount();
this.getUsermsg();
},
+
beforeCreate() { }, //鐢熷懡鍛ㄦ湡 - 鍒涘缓涔嬪墠
beforeMount() { }, //鐢熷懡鍛ㄦ湡 - 鎸傝浇涔嬪墠
beforeUpdate() { }, //鐢熷懡鍛ㄦ湡 - 鏇存柊涔嬪墠
diff --git a/src/views/project/medicalcostfundapplycheck/index.vue b/src/views/project/medicalcostfundapplycheck/index.vue
index 070533a..0bcef46 100644
--- a/src/views/project/medicalcostfundapplycheck/index.vue
+++ b/src/views/project/medicalcostfundapplycheck/index.vue
@@ -1621,7 +1621,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
// 涓嬭浇鏂囦欢
diff --git a/src/views/project/travelexpenseslist/Modifydetails/index.vue b/src/views/project/travelexpenseslist/Modifydetails/index.vue
index 6555bac..f83dde9 100644
--- a/src/views/project/travelexpenseslist/Modifydetails/index.vue
+++ b/src/views/project/travelexpenseslist/Modifydetails/index.vue
@@ -787,7 +787,8 @@
console.log(this.fileListto);
this.rbDetails[this.atpresent].annexfilesList = this.fileListto;
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
+ console.log(response.msg);
}
},
// 鐐瑰嚮绁ㄦ嵁
diff --git a/src/views/project/travelexpenseslist/eidt.vue b/src/views/project/travelexpenseslist/eidt.vue
index 44e0fba..21ab711 100644
--- a/src/views/project/travelexpenseslist/eidt.vue
+++ b/src/views/project/travelexpenseslist/eidt.vue
@@ -418,7 +418,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
//console.log("涓婁紶鏂囦欢鍚庯細" + JSON.stringify(this.fileList));
},
diff --git a/src/views/project/travelexpenseslist/index.vue b/src/views/project/travelexpenseslist/index.vue
index e1aebcb..81e70dc 100644
--- a/src/views/project/travelexpenseslist/index.vue
+++ b/src/views/project/travelexpenseslist/index.vue
@@ -1439,7 +1439,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
diff --git a/src/views/project/travelexpenseslistrecord/index.vue b/src/views/project/travelexpenseslistrecord/index.vue
index f5642d3..15cfedf 100644
--- a/src/views/project/travelexpenseslistrecord/index.vue
+++ b/src/views/project/travelexpenseslistrecord/index.vue
@@ -947,6 +947,10 @@
},
/** 淇敼鎸夐挳鎿嶄綔 */
handleUpdate(row) {
+ this.$router.push({
+ path: "/finance/travelexpenseslist/Modifydetails/",
+ query: { id: row.id, pos: 4 }
+ });
this.dialogType = "edit";
const id = row.id || this.ids;
this.checkObj.fundid = id;
@@ -1313,7 +1317,7 @@
this.$modal.msgSuccess(response.msg);
this.fileList.push({ name: response.fileName, url: response.fileName });
} else {
- this.$modal.msgError(response.msg);
+ console.log(response.msg);;
}
},
--
Gitblit v1.9.3