| | |
| | | </view> |
| | | <view class="third-line"> |
| | | <view class="carnum-icon"> |
| | | <image src="https://mx.jzeg.cn:9096/appimg/image/banner/carNO.png" |
| | | <image src="https://mr1.res.jzeg.cn:9096/appimg/image/banner/carNO.png" |
| | | mode="widthFix"></image> |
| | | </view> |
| | | <view class="carnum-text">{{ value.carNo || '' }}</view> |
| | |
| | | shape="circle" |
| | | @click="resetCondition"></u-button></view> |
| | | <view class="f-button"> |
| | | <u-button type="primary" :size="'mini'" shape="circle" v-if="roleType == 1 || roleType == 2" @click="download" text="导出详情"></u-button> |
| | | <u-button type="primary" :size="'mini'" shape="circle" @click="download" text="导出详情"></u-button> |
| | | </view> |
| | | <view class="confirm-button"><u-button type="primary" |
| | | text="确定" |
| | |
| | | customerName: this.customerList.filter(v => v.active == true).map(item => item.condition), |
| | | xsUser2Name: this.forwarderList.filter(v => v.active == true).map(item => item.condition), |
| | | fleetName: this.fleetList.filter(v => v.active == true).map(item => item.condition), |
| | | filedName: this.filedList.filter(v => v.active == true).map(item => item.condition), |
| | | deptName: this.filedList.filter(v => v.active == true).map(item => item.condition), |
| | | carNo: this.carNoList.filter(v => v.active == true).map(item => item.condition) |
| | | }; |
| | | |
| | |
| | | customerName: validateFn('customerName'), |
| | | xsUser2Name: validateFn('xsUser2Name'), |
| | | fleetName: validateFn('fleetName'), |
| | | filedName: validateFn('filedName'), |
| | | deptName: validateFn('deptName'), |
| | | carNo: validateFn('carNo') |
| | | }; |
| | | this.filterList = this.taskList.map(val => { |
| | |
| | | }); |
| | | this.$reqGet('downloadExcel',conditionMapping).then(res=>{ |
| | | if(res.data){ |
| | | const hostUrl = res.data.excelAddress.split("\\")[res.data.excelAddress.split("\\").length - 1] |
| | | const hostUrl = res.data.excelAddress.split("/")[res.data.excelAddress.split("/").length - 1] |
| | | // const hostUrl = res.data.excelAddress; |
| | | console.log(res.data,hostUrl,'res.data'); |
| | | if(hostUrl){ |
| | | wx.downloadFile({ |
| | | url: `${BaseUrl}/admin/sys-file/local/${hostUrl}`, |
| | | filePath:wx.env.USER_DATA_PATH+`/${hostUrl}`, |
| | | header: { |
| | | 'Authorization': 'Basic c29jaWFsOnNvY2lhbA==', //app:app |
| | | 'content-type': 'application/json', |
| | | 'CLIENT_TOC': 'Y', |
| | | 'isToken': 'false' |
| | | Authorization: 'Bearer' + ' ' + uni.getStorageSync('token'), |
| | | CLIENT_TOC: 'Y' |
| | | }, |
| | | success(res){ |
| | | console.log(res) |
| | |
| | | this.first = newV.slice(0, 10); |
| | | this.last = newV.slice(11); |
| | | this.getTmTaskCoalData(); |
| | | this.getShipping(); |
| | | } |
| | | } |
| | | } |
| | |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/blueblock.png') no-repeat; |
| | | background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/blueblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | |
| | | // display: flex; |
| | | // justify-content: center; |
| | | // align-items: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/redblock.png') no-repeat; |
| | | background: url('https://mr1.res.jzeg.cn:9096/appimg/image/banner/redblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |