BUG调整:计划、总结施工人员汇总显示不对;复制预览格式调整;支出明细-支出查询增加合计;支出明细-支出查询执行人查询条件BUG修改。

This commit is contained in:
曹磊 2024-04-01 10:59:51 +08:00
parent cd8877edc2
commit 1fe3722fad
5 changed files with 56 additions and 11 deletions

View File

@ -197,14 +197,28 @@
<view class="paging" style="display: flex;justify-content: space-between;align-items: center"> <view class="paging" style="display: flex;justify-content: space-between;align-items: center">
<view class="page_btn"> <view class="page_btn">
<!-- <view class="up_page" v-if="frontPage" @click="clickFront">上一页</view>--> <!-- <view class="up_page" v-if="frontPage" @click="clickFront">上一页</view>-->
<button type="button" size="mini" style="width: 100%;height: 100%;background-color: #FF00FF;color: white" @click="clickFront">上一页</button> <button v-if="frontPage" type="button" size="mini" style="width: 100%;height: 100%;background-color: #FF00FF;color: white;font-size: 12px;padding-top:2px;" @click="clickFront">上一页</button>
</view> </view>
<view class="page_num">{{thisPages}} {{pages}}</view> <view class="page_num">{{thisPages}} {{pages}}</view>
<view class="page_btn"> <view class="page_btn">
<!-- <view class="down_page" v-if="nextPage" @click="clickNext">下一页</view>--> <!-- <view class="down_page" v-if="nextPage" @click="clickNext">下一页</view>-->
<button type="button" size="mini" style="width: 100%;height: 100%;background-color: #FF00FF;color: white" @click="clickNext">下一页</button> <button v-if="nextPage" type="button" size="mini" style="width: 100%;height: 100%;background-color: #FF00FF;color: white;font-size: 12px;padding-top:2px;" @click="clickNext">下一页</button>
</view> </view>
</view> </view>
<div style="display: flex; justify-content: space-between; align-items: flex-end">
<div style="text-align: left;padding: 10% 0 1% 2%;font: bold 14px 新宋体">满足以上条件汇总</div>
</div>
<div style="border-bottom: 2px solid #FF00FF;"></div>
<div>
<tr class="th-row"
style="display: flex;font-size: 12px;border-bottom: 2px solid #FF00FF;font-weight: bold;border-left: 2px solid #FF00FF;border-right: 2px solid #FF00FF">
<td class="trTd" style="width: 34%;text-align: center">合计</td>
<td class="trTd" style="width: 66%;text-align: center">{{zccxhj}}</td>
</tr>
</div>
</div> </div>
<!-- 类别统计--> <!-- 类别统计-->
<div v-if="lbtj"> <div v-if="lbtj">
@ -662,6 +676,7 @@ export default {
thisPages: 1,// thisPages: 1,//
rows: 10,// rows: 10,//
total: 0,// total: 0,//
zccxhj: 0,//
dataFormZCCX: { dataFormZCCX: {
nowYear: "",// nowYear: "",//
jsdwId: '',//id jsdwId: '',//id
@ -1047,12 +1062,12 @@ export default {
}, },
// //
getZxr(){ getZxr(){
console.log("getZxr");
this.$http.request({ this.$http.request({
url: this.$http.adornUrl('/business/businesszcmx/getZxr'), url: this.$http.adornUrl('/business/businesszcmx/getZxr'),
method: 'get' method: 'get'
}).then(({data}) => { }).then(({data}) => {
this.dicZxrList = data.page; this.dicZxrList = data.page;
}) })
}, },
@ -1070,7 +1085,7 @@ export default {
searchZCCXList() { searchZCCXList() {
this.dataListZCCX = [];// this.dataListZCCX = [];//
this.dataTJList = [];//list this.dataTJList = [];//list
this.dicZxrList = [];// // this.dicZxrList = [];//
this.zxrId = ''; this.zxrId = '';
if(this.userId == 10){ if(this.userId == 10){
if(this.dataFormZCCX.writeUserId==undefined || this.dataFormZCCX.writeUserId==''){ if(this.dataFormZCCX.writeUserId==undefined || this.dataFormZCCX.writeUserId==''){
@ -1096,6 +1111,36 @@ export default {
this.dataListZCCX = data.page.list; this.dataListZCCX = data.page.list;
this.total = data.page.totalCount; this.total = data.page.totalCount;
this.pages = data.page.totalPage; this.pages = data.page.totalPage;
if(this.pages > 1){
this.frontPage = true
this.nextPage = true
}else{
this.frontPage = false
this.nextPage = false
}
if(data.page.currPage === data.page.totalPage){
this.nextPage = false
}
if(data.page.currPage === 1){
this.frontPage = false
}
}
})
this.$http.request({
url: this.$http.adornUrl('/business/businesszcmx/zccxhj'),
method: 'get',
params: this.$http.adornParams({
"jsdwId": this.dataFormZCCX.jsdwId,//id
"startTime": this.dataFormZCCX.startTime,//
"endTime": this.dataFormZCCX.endTime,//
"gjz": this.dataFormZCCX.gjz,//
"writeUserId": this.dataFormZCCX.writeUserId,//
"page": this.thisPages,
"limit": this.rows,
})
}).then(({data}) => {
if (data && data.code == 0) {
this.zccxhj = data.page.zccxhj;
} }
}) })
}, },

View File

@ -557,7 +557,7 @@ export default {
this.dataList = data.page.dataList; this.dataList = data.page.dataList;
this.workerDay = data.page.workerDay; this.workerDay = data.page.workerDay;
this.workerIdList = data.page.workerIdList; this.workerIdList = data.page.workerIdList;
this.workerNum = Math.ceil(this.workerIdList.length/3); this.workerNum = Math.ceil(this.workerIdList.length/2);
this.dataForm = {}; this.dataForm = {};
this.planTimes = data.page.planTimes; this.planTimes = data.page.planTimes;
} else { } else {

View File

@ -374,7 +374,7 @@ export default {
this.dataList = data.page.dataList; this.dataList = data.page.dataList;
this.workerDay = data.page.workerDay; this.workerDay = data.page.workerDay;
this.workerIdList = data.page.workerIdList; this.workerIdList = data.page.workerIdList;
this.workerNum = Math.ceil(this.workerIdList.length/3); this.workerNum = Math.ceil(this.workerIdList.length/2);
this.dataForm = {} this.dataForm = {}
this.planTimes = data.page.planTimes; this.planTimes = data.page.planTimes;
@ -391,7 +391,7 @@ export default {
this.dataList = data.page.dataList; this.dataList = data.page.dataList;
this.workerDay = data.page.workerDay; this.workerDay = data.page.workerDay;
this.workerIdList = data.page.workerIdList; this.workerIdList = data.page.workerIdList;
this.workerNum = Math.ceil(this.workerIdList.length/3); this.workerNum = Math.ceil(this.workerIdList.length/2);
this.dataForm = {} this.dataForm = {}
// 稿 status=1 // 稿 status=1
if(this.dataList.length==0){ if(this.dataList.length==0){

View File

@ -379,7 +379,7 @@ export default {
this.workerDay = data.page.workerDay; this.workerDay = data.page.workerDay;
this.workerIdList = data.page.workerIdList; this.workerIdList = data.page.workerIdList;
console.log(this.workerIdList) console.log(this.workerIdList)
this.workerNum = Math.ceil(this.workerIdList.length/3); this.workerNum = Math.ceil(this.workerIdList.length/2);
this.dataForm = {} this.dataForm = {}
this.planTimes = data.page.planTimes; this.planTimes = data.page.planTimes;
@ -396,7 +396,7 @@ export default {
this.dataList = data.page.dataList; this.dataList = data.page.dataList;
this.workerDay = data.page.workerDay; this.workerDay = data.page.workerDay;
this.workerIdList = data.page.workerIdList; this.workerIdList = data.page.workerIdList;
this.workerNum = Math.ceil(this.workerIdList.length/3); this.workerNum = Math.ceil(this.workerIdList.length/2);
this.dataForm = {} this.dataForm = {}
// 稿 status=1 // 稿 status=1
if(this.dataList.length==0){ if(this.dataList.length==0){

View File

@ -7,9 +7,9 @@ var Fly=require("flyio/dist/npm/wx")
var http=new Fly var http=new Fly
// 本地 // 本地
const BaseUrl='http://localhost:2222/renren-fast' // const BaseUrl='http://localhost:2222/renren-fast'
//生产 //生产
// const BaseUrl='https://www.youhuajianzhu.cn/renren-fast' const BaseUrl='https://www.youhuajianzhu.cn/renren-fast'
http.config.timeout = 1000 * 60 * 60 * 24 * 20; //设置超时 http.config.timeout = 1000 * 60 * 60 * 24 * 20; //设置超时
http.config.baseURL = BaseUrl; //填写域名 http.config.baseURL = BaseUrl; //填写域名