| | |
| | | // APPçäº§çæ¿â |
| | | export const ProductionKanban = (data) => http.get('/AppAnalytics/ProductionKanban', { |
| | | params: data |
| | | }) |
| | | |
| | | // APPç产è¿åº¦çæ¿åæ®ä¿¡æ¯ |
| | | export const ProductionScheduleKanban = (data) => http.get('/AppAnalytics/ProductionScheduleKanban', { |
| | | params: data |
| | | }) |
| | | |
| | | // åè´§æ¡£æ¡ä¸æ |
| | | export const InventoryTreePermissions = (data) => http.get('/GeneralBasicData/InventoryTreePermissions', { |
| | | params: data |
| | | }) |
| | |
| | | "navigationStyle": "custom", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, |
| | | |
| | | |
| | | { |
| | | "path": "pages/znfx/scjd", |
| | | "style": { |
| | | "navigationBarTitleText": "ç产è¿åº¦", |
| | | "navigationStyle": "custom", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/znfx/chda", |
| | | "style": { |
| | | "navigationBarTitleText": "åè´§æ¡£æ¡", |
| | | "navigationStyle": "custom", |
| | | "enablePullDownRefresh": false |
| | | } |
| | | } |
| | | ], |
| | | "globalStyle": { |
| | |
| | | case '2400': |
| | | url = 'znfx/scfx' //çäº§åæ |
| | | break; |
| | | |
| | | |
| | | |
| | | |
| | | case '2041': |
| | | url = 'sbgl/dqby' //宿ä¿å
» |
| | | case '2401': |
| | | url = 'znfx/scjd' //ç产è¿åº¦ |
| | | break; |
| | | |
| | | |
| | | case '2042': |
| | | url = 'sbgl/wxsq' //ç»´ä¿®ç³è¯· |
| | | break; |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view> |
| | | <page-nav title="åè´§æ¡£æ¡"></page-nav> |
| | | |
| | | |
| | | <view class="flex_center" style="margin: 20rpx;"> |
| | | |
| | | <!-- #ifdef H5 --> |
| | | <u--input prefixIcon="search" prefixIconStyle="font-size: 22px;color: #909399" placeholder="请è¾å
¥åè´§ä¿¡æ¯" |
| | | style="width:100%;background-color: #fff;border-radius: 40rpx;" border="surround" |
| | | v-model="inputBoxValue" @change="confirmInputBoxValue"> |
| | | </u--input> |
| | | <!-- #endif --> |
| | | |
| | | <!-- #ifdef APP-PLUS --> |
| | | <u-input prefixIcon="search" prefixIconStyle="font-size: 22px;color: #909399" placeholder="请è¾å
¥åè´§ä¿¡æ¯" |
| | | style="width:100%;background-color: #fff;border-radius: 40rpx;" border="surround" |
| | | v-model="inputBoxValue" @change="confirmInputBoxValue"> |
| | | </u-input> |
| | | <!-- #endif --> |
| | | |
| | | |
| | | </view> |
| | | |
| | | |
| | | <u-alert :title="alertTitle" type="info"></u-alert> |
| | | |
| | | |
| | | <view style="max-height: 540px;overflow: auto;"> |
| | | <u-checkbox-group v-model="checkboxValue" iconPlacement="right" placement="column" @change="checkboxChange"> |
| | | <u-checkbox :key="item.code.trim()+'/'+item.name" |
| | | :label="item.code.trim()+'/'+item.name" :labelSize='16' :size='16' |
| | | :borderBottom='true' v-for="item in collapseArr" :name="item.code+'/'+item.name"> |
| | | </u-checkbox> |
| | | </u-checkbox-group> |
| | | </view> |
| | | |
| | | <u-button size="large" type="primary" @click="back" text="确认"> |
| | | </u-button> |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | import { |
| | | InventoryTreePermissions |
| | | } from '../../config/api.js'; |
| | | export default { |
| | | onLoad(option) { |
| | | App.watch(this.getTopRightMessageCountIsChange, 'topRightMessageCountIsChange') |
| | | |
| | | console.log(option, 66) |
| | | |
| | | this.checkboxValue = JSON.parse(option.param) |
| | | |
| | | console.log(this.checkboxValue) |
| | | }, |
| | | |
| | | onPullDownRefresh() { |
| | | setTimeout(() => { |
| | | this.init(() => { |
| | | uni.stopPullDownRefresh(); |
| | | }) |
| | | }, 1000); |
| | | }, |
| | | |
| | | data() { |
| | | return { |
| | | topRightMessageCount: '', |
| | | inputBoxValue: '', |
| | | alertTitle: '', |
| | | |
| | | collapseArr: [], |
| | | checkboxValue: [], |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.init() |
| | | |
| | | this.getInventoryTreePermissions() |
| | | }, |
| | | methods: { |
| | | init() { |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | |
| | | //è¾å
¥æ¡å车确认äºä»¶ |
| | | confirmInputBoxValue(val) { |
| | | console.log('确认', val) |
| | | this.getInventoryTreePermissions(val) |
| | | |
| | | }, |
| | | |
| | | async getInventoryTreePermissions(param) { |
| | | |
| | | const { |
| | | data: res |
| | | } = await InventoryTreePermissions(param === undefined ? '' : param) |
| | | this.collapseArr = res |
| | | this.alertTitle = '产åï¼å
±' + res.length + '个ï¼' |
| | | }, |
| | | |
| | | checkboxChange(val) { |
| | | console.log(val) |
| | | this.checkboxValue = val |
| | | }, |
| | | |
| | | back() { |
| | | let pages = getCurrentPages() // è·åå½å页颿 çå®ä¾ï¼ä»¥æ°ç»å½¢å¼ææ ç顺åºç»åºï¼ç¬¬ä¸ä¸ªå
ç´ ä¸ºé¦é¡µï¼æåä¸ä¸ªå
ç´ ä¸ºå½å页é¢ã |
| | | let prevPage = pages[pages.length - 2] //ä¸ä¸é¡µé¡µé¢å®ä¾ |
| | | uni.navigateBack({ |
| | | delta: 1, //è¿å屿°ï¼2åä¸ä¸é¡µ |
| | | success: () => { |
| | | prevPage.$vm.getCheckboxValue(this.checkboxValue) //ä¸ä¸çº§çæ¹æ³äºä»¶ |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import url('@/style/global.css'); |
| | | |
| | | ::v-deep .uicon-arrow-left>span { |
| | | display: block; |
| | | } |
| | | |
| | | ::v-deep .u-alert__text--info--light { |
| | | margin-bottom: 0; |
| | | font-size: 32rpx !important; |
| | | padding-left: 10rpx; |
| | | color: #212121 !important; |
| | | font-weight: lighter; |
| | | } |
| | | |
| | | ::v-deep .u-alert--info--light { |
| | | background-color: rgba(255, 255, 255, 0.7); |
| | | } |
| | | |
| | | ::v-deep .u-checkbox { |
| | | height: 33px !important; |
| | | padding: 5px 10px; |
| | | border-bottom: 1px solid rgb(214, 215, 217); |
| | | } |
| | | </style> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <view> |
| | | <page-nav title="ç产è¿åº¦"></page-nav> |
| | | |
| | | |
| | | <view class="flex_center" style="margin: 20rpx;"> |
| | | |
| | | <!-- #ifdef H5 --> |
| | | <u--input prefixIcon="search" prefixIconStyle="font-size: 22px;color: #909399" :placeholder="placeholder" |
| | | style="width:100%;background-color: #fff;border-radius: 40rpx;" border="surround" suffixIcon="scan" |
| | | suffixIconStyle="color: #909399;font-size: 22px;" v-model="inputBoxValue" |
| | | @change="confirmInputBoxValue"> |
| | | <template slot="suffix"> |
| | | <u-icon name="scan" color="#909399" size="24" @click="scanClick"></u-icon> |
| | | </template> |
| | | </u--input> |
| | | <!-- #endif --> |
| | | |
| | | <!-- #ifdef APP-PLUS --> |
| | | <u-input prefixIcon="search" prefixIconStyle="font-size: 22px;color: #909399" :placeholder="placeholder" |
| | | style="width:100%;background-color: #fff;border-radius: 40rpx;" border="surround" suffixIcon="scan" |
| | | suffixIconStyle="color: #909399;font-size: 22px;" v-model="inputBoxValue" |
| | | @change="confirmInputBoxValue"> |
| | | <template slot="suffix"> |
| | | <u-icon name="scan" color="#909399" size="24" @click="scanClick"></u-icon> |
| | | </template> |
| | | </u-input> |
| | | <!-- #endif --> |
| | | |
| | | <view class="flex_center marginLeft20" @click="popupShow=true"> |
| | | <u--text size='16' color='#909399' text="çé"></u--text> |
| | | <u--image :showLoading="true" src="../../static/img/sift.png" width="20px" height="20px"></u--image> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <u-alert :title="alertTitle" type="info"></u-alert> |
| | | |
| | | |
| | | <!-- æå 颿¿ --> |
| | | <!-- <u-collapse @change="change" @close="close" @open="open"> --> |
| | | <!-- @change="collapseChange" --> |
| | | <u-collapse style="max-height: 590px;overflow: auto;"> |
| | | <!-- :value='parseFloat(item.ordergoodqty)+"/"+parseFloat(item.orderqty)' --> |
| | | <u-collapse-item style="position: relative;" :title="item.ordercode" :name='item.ordercode' |
| | | :value='parseFloat(item.ordergoodqty)+"/"+parseFloat(item.orderqty)' |
| | | :label="item.children.length===0?'æªæ´¾å':''" :disabled='item.children.length===0' |
| | | v-for="item in collapseArr" :key="item.ordercode"> |
| | | |
| | | <!-- <view style="position: absolute;width: 26%;left: 44%;top:16px;"> --> |
| | | <view style="position: absolute;width: 100px;left: 44%;top:16px;" |
| | | @click="progressClick(item.ordercode)"> |
| | | <u-line-progress :percentage="parseFloat((item.ordergoodqty*100/item.orderqty).toFixed(2))" |
| | | inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress> |
| | | </view> |
| | | |
| | | <!-- <view style="position: absolute;width: 100px;right: 33px; top:13px; "> |
| | | <view class="" style="display: flex;justify-content: flex-end;"> |
| | | <view style="color: #0659ff;"> |
| | | {{parseFloat(item.ordergoodqty)}} |
| | | </view> |
| | | <view> |
| | | /{{ parseFloat(item.orderqty)}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | --> |
| | | |
| | | |
| | | <view v-if="radiovalue==='ç产工å'" style="margin:0 0 5px"> |
| | | <view class="flex_column"> |
| | | <view style="display:flex"> |
| | | <view class="titleFont" style="font-size: 14px;">产åç¼ç ï¼</view> |
| | | <view class="contentFont" style="font-size: 14px;">{{item.partcode}}</view> |
| | | </view> |
| | | <view style="display:flex"> |
| | | <view class="titleFont" style="font-size: 14px;">产ååç§°ï¼</view> |
| | | <view class="contentFont" style="font-size: 14px;">{{item.partname}}</view> |
| | | </view> |
| | | <view style="display:flex"> |
| | | <view class="titleFont" style="font-size: 14px;">产åè§æ ¼ï¼</view> |
| | | <view class="contentFont" style="font-size: 14px;">{{item.partspec?item.partspec:'/'}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <!-- {{item.children}} --> |
| | | <!-- <u--text class="u-collapse-content"> --> |
| | | <u-steps :current="-1" inactiveColor='#0659FF' direction="column"> |
| | | <view v-for="(it,ind) in item.children" :key="item.ordercode+it.name+ind" |
| | | style="display: flex;align-items: center;"> |
| | | |
| | | <u-steps-item :title="it.code+'/'+it.name+it.spec"></u-steps-item> |
| | | <view class="" style="width: 100px;"> |
| | | <u-line-progress :percentage="parseFloat((it.goodqty*100/it.planqty).toFixed(2))" |
| | | inactiveColor="#d1d6f5" height="10" activeColor="#0659ff"></u-line-progress> |
| | | </view> |
| | | <view style="width: 30%;text-align: right;"> |
| | | <view class="" style="display: flex;justify-content: flex-end;"> |
| | | <view style="color: #0659ff;"> |
| | | {{parseFloat(it.goodqty)}} |
| | | </view> |
| | | <view> |
| | | /{{ parseFloat(it.planqty)}} |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | </u-steps> |
| | | <!-- </u--text> --> |
| | | |
| | | |
| | | </u-collapse-item> |
| | | |
| | | </u-collapse> |
| | | |
| | | |
| | | <!-- å¼¹åºå± --> |
| | | <!-- closeIconPos='top-left' closeOnClickOverlay closeable='true' --> |
| | | <u-popup :show="popupShow" mode="right" @close="popupClose" @open="popupOpen"> |
| | | <view style="margin: 120px 10px 20px;" class="flex_column"> |
| | | |
| | | <view style="display: flex;"> |
| | | <view> |
| | | åæ®ç±»åï¼ |
| | | </view> |
| | | |
| | | <u-radio-group v-model="radiovalue" placement="column" @change="groupChange" |
| | | style="margin-top: 4px;"> |
| | | <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist" |
| | | :key="index+item.name" :label="item.name" iconSize='16' labelSize='16' :name="item.name"> |
| | | <!-- @change="radioChange" --> |
| | | </u-radio> |
| | | </u-radio-group> |
| | | </view> |
| | | |
| | | <view style="margin-top: 20px;display: flex;align-items: center;"> |
| | | |
| | | <view class=""> |
| | | 产åä¿¡æ¯ï¼ |
| | | </view> |
| | | <view class=""> |
| | | <u-button :hairline="true" shape="circle" icon="map" :plain="true" |
| | | style="width: 100px;height: 26px;" type="primary" text="éæ©äº§å" @click="chosePart"></u-button> |
| | | </view> |
| | | |
| | | </view> |
| | | |
| | | <view style="display: flex;flex-wrap: wrap;"> |
| | | <u-tag style="width:220rpx;" :text="item.name" v-for="item in tagArr" :key="item.code" |
| | | :closable="true" :show="item.close" @close="tagClose(item)"></u-tag> |
| | | </view> |
| | | |
| | | |
| | | |
| | | <view class="head" style="margin-top: 10px;"> |
| | | <view class="head_block" style="height: 80rpx; display: flex;justify-content: space-around;"> |
| | | <u-button :plain='today' style="width: 70px;height: 25px;" @click="dateChange('today')" |
| | | type="primary" shape="circle" text="仿¥"> |
| | | </u-button> |
| | | <u-button :plain='month' style="width: 70px;height: 25px;" @click="dateChange('month')" |
| | | type="primary" shape="circle" text="æ¬æ"> |
| | | </u-button> |
| | | <u-button :plain='custom' style="width: 70px;height: 25px;" @click="dateChange('custom')" |
| | | type="primary" shape="circle" text="èªå®ä¹"></u-button> |
| | | </view> |
| | | </view> |
| | | |
| | | <view v-if="!custom" class="flex_column" |
| | | style="display: flex;justify-content: space-around;width: 100%;"> |
| | | <view class="" style="display: flex;justify-content: space-evenly;width: 100%;"> |
| | | <view class="titleFont">å¼å§æ¥æ</view> |
| | | <view class="titleFont">~</view> |
| | | <view class="titleFont">ç»ææ¥æ</view> |
| | | </view> |
| | | |
| | | <u-button type="info" icon='calendar' iconColor="#0659FF" size="" @click="calendarClick" |
| | | :text="calendarRange"> |
| | | </u-button> |
| | | </view> |
| | | |
| | | <uni-calendar ref="calendar" :range='true' :insert="false" @confirm="calendarConfirm" /> |
| | | |
| | | </view> |
| | | </u-popup> |
| | | |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | |
| | | <script> |
| | | import { |
| | | ProductionScheduleKanban |
| | | } from '../../config/api.js'; |
| | | export default { |
| | | onLoad(option) { |
| | | |
| | | const _this = this |
| | | uni.$off('scancodedate') // æ¯æ¬¡è¿æ¥å
ç§»é¤å
¨å±èªå®ä¹äºä»¶çå¬å¨ |
| | | uni.$on('scancodedate', function(content) { |
| | | console.log("æ«æå°çå
容为:", content) |
| | | _this.getCheckScanDeviceQrCodeData(content) |
| | | }) |
| | | |
| | | |
| | | console.log(option, 8) |
| | | }, |
| | | |
| | | onPullDownRefresh() { |
| | | setTimeout(() => { |
| | | this.init(() => { |
| | | uni.stopPullDownRefresh(); |
| | | }) |
| | | }, 1000); |
| | | }, |
| | | |
| | | data() { |
| | | return { |
| | | topRightMessageCount: '', |
| | | inputBoxValue: '', |
| | | alertTitle: '', |
| | | popupShow: false, //å¼¹åºå±æ¯å¦æ¾ç¤º |
| | | collapseArr: [ //æå 颿¿æ°æ® |
| | | ], |
| | | collapseArrAll: [], //ææ |
| | | placeholder: '请è¾å
¥å·¥åä¿¡æ¯', |
| | | radiovalue: 'ç产工å', //åæ®ç±»å |
| | | // SOï¼éå®è®¢å MOï¼ç产订å POï¼ç产工å |
| | | radiolist: [{ |
| | | name: 'éå®è®¢å' |
| | | }, |
| | | { |
| | | name: 'ç产订å' |
| | | }, |
| | | { |
| | | name: 'ç产工å' |
| | | }, |
| | | ], |
| | | |
| | | today: true, |
| | | month: false, |
| | | custom: true, |
| | | |
| | | // calendarRange: new Date().toISOString().slice(0, 10) + '~' + new Date().toISOString().slice(0, |
| | | // 10), //ç³»ç»å½åæ¥æ |
| | | calendarRange: new Date().getFullYear() + '-' + (new Date().getMonth() - 1).toString().padStart( |
| | | 2, '0') + '-01' + '~' + new Date().toISOString().slice(0, 10), //å½ææ¥æ |
| | | |
| | | |
| | | |
| | | tagArr: [ |
| | | // { |
| | | // close: true, |
| | | // name: 'çµæ± å
', |
| | | // code: '1002' |
| | | // }, { |
| | | // close: true, |
| | | // name: 'çµè', |
| | | // code: '1003' |
| | | // }, { |
| | | // close: true, |
| | | // name: '8054å
æº', |
| | | // code: '1004' |
| | | // }, { |
| | | // close: true, |
| | | // name: 'G71674å²éæª', |
| | | // code: '1005' |
| | | // }, { |
| | | // close: true, |
| | | // name: '8051å
æº', |
| | | // code: '1006' |
| | | // }, |
| | | ], //å·²éä¸çäº§åæ ç¾ |
| | | |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.init() |
| | | |
| | | this.getProductionScheduleKanban() |
| | | }, |
| | | methods: { |
| | | init() { |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | |
| | | |
| | | getCheckboxValue(val) { |
| | | this.tagArr = [] |
| | | val.forEach(i => { |
| | | this.tagArr.push({ |
| | | close: true, |
| | | name: i.split('/')[1].trim(), |
| | | code: i.split('/')[0].trim() |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | // æ¥å£è·å |
| | | async getProductionScheduleKanban() { |
| | | let ordertype = '' // SOï¼éå®è®¢å MOï¼ç产订å POï¼ç产工å |
| | | switch (this.radiovalue) { |
| | | case 'ç产工å': |
| | | this.alertTitle = '工忰éï¼å
±/个ï¼' |
| | | this.placeholder = '请è¾å
¥å·¥åä¿¡æ¯' |
| | | ordertype = 'PO' |
| | | break |
| | | case 'ç产订å': |
| | | this.alertTitle = 'çäº§è®¢åæ°éï¼å
±/个ï¼' |
| | | this.placeholder = '请è¾å
¥ç产订åä¿¡æ¯' |
| | | ordertype = 'MO' |
| | | break |
| | | case 'éå®è®¢å': |
| | | this.alertTitle = 'éå®è®¢åæ°éï¼å
±/个ï¼' |
| | | this.placeholder = '请è¾å
¥éå®è®¢åä¿¡æ¯' |
| | | ordertype = 'SO' |
| | | break |
| | | } |
| | | |
| | | |
| | | const data = { |
| | | ordertype, |
| | | partcode: this.tagArr.map(i => i.code).join(','), |
| | | Ratetime: this.calendarRange, |
| | | |
| | | } |
| | | const { |
| | | data: res |
| | | } = await ProductionScheduleKanban(data) |
| | | |
| | | this.collapseArr = res |
| | | this.collapseArrAll = res |
| | | this.alertTitle = this.alertTitle.split('/')[0] + this.collapseArr.length + this.alertTitle.split('/')[ |
| | | 1] |
| | | |
| | | }, |
| | | |
| | | |
| | | //è¾å
¥æ¡å车确认äºä»¶ |
| | | confirmInputBoxValue(val) { |
| | | this.collapseArr = this.collapseArrAll.filter((p) => { |
| | | return p.ordercode.indexOf(val) !== -1 |
| | | }) |
| | | |
| | | |
| | | switch (this.radiovalue) { |
| | | case 'ç产工å': |
| | | this.alertTitle = '工忰éï¼å
±/个ï¼' |
| | | break |
| | | case 'ç产订å': |
| | | this.alertTitle = 'çäº§è®¢åæ°éï¼å
±/个ï¼' |
| | | break |
| | | case 'éå®è®¢å': |
| | | this.alertTitle = 'éå®è®¢åæ°éï¼å
±/个ï¼' |
| | | break |
| | | } |
| | | this.alertTitle = this.alertTitle.split('/')[0] + this.collapseArr.length + this.alertTitle.split('/')[ |
| | | 1] |
| | | |
| | | }, |
| | | |
| | | // ç¹å»æ«ç |
| | | scanClick() { |
| | | this.topScanClick() |
| | | }, |
| | | |
| | | // æ«ç æ¡ç¹å» |
| | | topScanClick() { |
| | | let that = this; |
| | | |
| | | uni.scanCode({ |
| | | onlyFromCamera: true, |
| | | // scanType: ['barCode', 'qrCode'], |
| | | scanType: ['qrCode'], |
| | | success: function(res) { |
| | | console.log('æ¡ç ç±»åï¼' + res.scanType); |
| | | console.log('æ¡ç å
容ï¼' + res.result); |
| | | that.scanContent = res.result; |
| | | |
| | | that.getCheckScanDeviceQrCodeData(that.scanContent); |
| | | }, |
| | | complete: function(res) { |
| | | |
| | | }, |
| | | fail: function(res) { |
| | | console.log('æ¡ç ç±»åï¼' + res.scanType); |
| | | console.log('æ¡ç å
容ï¼' + res.result); |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |
| | | getCheckScanDeviceQrCodeData(code) { |
| | | this.inputBoxValue = code |
| | | this.confirmInputBoxValue(this.inputBoxValue) |
| | | }, |
| | | |
| | | |
| | | // å¼¹åºå±æ¶èµ· |
| | | popupClose() { |
| | | this.getProductionScheduleKanban() |
| | | this.popupShow = false |
| | | }, |
| | | |
| | | // å¼¹åºå±å¼¹åº |
| | | popupOpen() { |
| | | |
| | | }, |
| | | |
| | | // éæ©äº§å |
| | | chosePart() { |
| | | let arr = [] |
| | | this.tagArr.forEach(i => { |
| | | arr.push(i.code + '/' + i.name) |
| | | }) |
| | | uni.navigateTo({ |
| | | url: './chda?param=' + JSON.stringify(arr) |
| | | }); |
| | | }, |
| | | |
| | | // tagæ ç¾å
³é |
| | | tagClose(val) { |
| | | this.tagArr.forEach((i, j) => { |
| | | if (i.code === val.code) { |
| | | i.close = false |
| | | this.tagArr.splice(j, 1) |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | // æ¶é´èå´åæ¢ |
| | | dateChange(val) { |
| | | if (val === 'today') { |
| | | this.today = false |
| | | this.month = true |
| | | this.custom = true |
| | | this.calendarRange = new Date().toISOString().slice(0, 10) + '~' + new Date().toISOString().slice(0, |
| | | 10) |
| | | } else if (val === 'month') { |
| | | this.today = true |
| | | this.month = false |
| | | this.custom = true |
| | | |
| | | this.calendarRange = new Date().getFullYear() + '-' + (new Date().getMonth() + 1).toString().padStart( |
| | | 2, '0') + '-01' + '~' + new Date().toISOString().slice(0, 10) |
| | | |
| | | } else if (val === 'custom') { |
| | | this.today = true |
| | | this.month = true |
| | | this.custom = false |
| | | this.calendarRange = new Date().getFullYear() + '-' + (new Date().getMonth() + 1).toString().padStart( |
| | | 2, '0') + '-01' + '~' + new Date().toISOString().slice(0, 10) |
| | | } |
| | | }, |
| | | |
| | | // æ¥åæ¶é´ç¹å» |
| | | calendarClick() { |
| | | this.$refs.calendar.open(); |
| | | }, |
| | | |
| | | // æ¥åç¡®å®äºä»¶ç¹å» |
| | | calendarConfirm(val) { |
| | | if (val.range.before < val.range.after) { |
| | | this.calendarRange = val.range.before + '~' + val.range.after |
| | | } else { |
| | | this.calendarRange = val.range.after + '~' + val.range.before |
| | | } |
| | | |
| | | if (val.range.before === '') { |
| | | this.calendarRange = new Date().toISOString().slice(0, 10) + '~' + val.range.after |
| | | } |
| | | if (val.range.after === '') { |
| | | this.calendarRange = val.range.before + '~' + new Date().toISOString().slice(0, 10) |
| | | } |
| | | if (val.range.before === '' && val.range.after === '') { |
| | | this.calendarRange = new Date().toISOString().slice(0, 10) + '~' + new Date().toISOString().slice(0, |
| | | 10) |
| | | } |
| | | // this.getData() |
| | | }, |
| | | |
| | | |
| | | // åéæé®åæ¢ |
| | | groupChange(val) { |
| | | console.log(val) |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | @import url('@/style/global.css'); |
| | | |
| | | ::v-deep .uicon-arrow-left>span { |
| | | display: block; |
| | | } |
| | | |
| | | ::v-deep .u-alert__text--info--light { |
| | | margin-bottom: 0; |
| | | font-size: 32rpx !important; |
| | | padding-left: 10rpx; |
| | | color: #212121 !important; |
| | | font-weight: lighter; |
| | | } |
| | | |
| | | ::v-deep .u-alert--info--light { |
| | | background-color: rgba(255, 255, 255, 0.7); |
| | | } |
| | | |
| | | ::v-deep .u-steps-item__wrapper { |
| | | background-color: #eee; |
| | | } |
| | | |
| | | ::v-deep .u-steps-item__line--column { |
| | | display: none; |
| | | } |
| | | |
| | | ::v-deep .u-slide-right-enter-active { |
| | | width: 70%; |
| | | } |
| | | |
| | | ::v-deep .uicon-calendar { |
| | | font-size: 36rpx !important; |
| | | } |
| | | |
| | | ::v-deep .u-cell__title-text { |
| | | font-size: 28rpx; |
| | | color: #212121; |
| | | } |
| | | |
| | | ::v-deep .u-cell__value { |
| | | font-size: 28rpx; |
| | | // color: transparent; |
| | | color: #212121; |
| | | |
| | | } |
| | | |
| | | ::v-deep .u-cell__label { |
| | | margin-top: 0; |
| | | line-height: 12px; |
| | | } |
| | | |
| | | ::v-deep .uicon-arrow-right { |
| | | font-size: 14px !important; |
| | | color: #212121 !important; |
| | | } |
| | | |
| | | ::v-deep .u-line-progress__text { |
| | | // margin-right: -20px; |
| | | // color: #212121; |
| | | // width: 100px; |
| | | // margin-top: 10px; |
| | | display: none; |
| | | |
| | | } |
| | | |
| | | ::v-deep .u-text__value--content { |
| | | font-size: 12px !important; |
| | | } |
| | | |
| | | ::v-deep .u-tag__close { |
| | | background: #436df5 !important; |
| | | } |
| | | </style> |
| | |
| | | |
| | | var isReady=false;var onReadyCallbacks=[]; |
| | | var isServiceReady=false;var onServiceReadyCallbacks=[]; |
| | | var __uniConfig = {"pages":["pages/login/index","pages/xtsy/index","pages/mjgl/mjcx","pages/mjgl/mjcx2","pages/mjgl/mjdj","pages/mjgl/mjby","pages/mjgl/wxsq","pages/mjgl/mjwx","pages/mjgl/wxyz","pages/mjgl/mjsj","pages/mjgl/mjxj","pages/mjgl/mjrk","pages/mjgl/mjck","pages/mjgl/mjwj","pages/mjgl/mjgh","pages/scgl/scbg","pages/wwgl/wxfl","pages/wwgl/wxsl","pages/znfx/scfx","pages/grzx/gzcl"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"JLApp","compilerVersion":"3.92","entryPagePath":"pages/login/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
| | | var __uniRoutes = [{"path":"/pages/login/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"ç»å½","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/xtsy/index","meta":{},"window":{"navigationBarTitleText":"ç³»ç»é¦é¡µ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjcx","meta":{},"window":{"navigationBarTitleText":"模å
·æ¥è¯¢","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjcx2","meta":{},"window":{"navigationBarTitleText":"模å
·æ¥è¯¢","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjdj","meta":{},"window":{"navigationBarTitleText":"模å
·ç¹æ£","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjby","meta":{},"window":{"navigationBarTitleText":"模å
·ä¿å
»","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/wxsq","meta":{},"window":{"navigationBarTitleText":"ç»´ä¿®ç³è¯·","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjwx","meta":{},"window":{"navigationBarTitleText":"模å
·ç»´ä¿®","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/wxyz","meta":{},"window":{"navigationBarTitleText":"ç»´ä¿®éªè¯","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjsj","meta":{},"window":{"navigationBarTitleText":"模å
·ä¸æº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjxj","meta":{},"window":{"navigationBarTitleText":"模å
·ä¸æº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjrk","meta":{},"window":{"navigationBarTitleText":"模å
·å
¥åº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjck","meta":{},"window":{"navigationBarTitleText":"模å
·åºåº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjwj","meta":{},"window":{"navigationBarTitleText":"模å
·å¤å","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjgh","meta":{},"window":{"navigationBarTitleText":"模å
·å½è¿","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/scgl/scbg","meta":{},"window":{"navigationBarTitleText":"ç产æ¥å·¥","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/wwgl/wxfl","meta":{},"window":{"navigationBarTitleText":"å¤ååæ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/wwgl/wxsl","meta":{},"window":{"navigationBarTitleText":"å¤åæ¶æ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/znfx/scfx","meta":{},"window":{"navigationBarTitleText":"ç产åæ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/grzx/gzcl","meta":{},"window":{"navigationBarTitleText":"å·¥èµäº§é","navigationStyle":"custom","enablePullDownRefresh":false}}]; |
| | | var __uniConfig = {"pages":["pages/login/index","pages/xtsy/index","pages/mjgl/mjcx","pages/mjgl/mjcx2","pages/mjgl/mjdj","pages/mjgl/mjby","pages/mjgl/wxsq","pages/mjgl/mjwx","pages/mjgl/wxyz","pages/mjgl/mjsj","pages/mjgl/mjxj","pages/mjgl/mjrk","pages/mjgl/mjck","pages/mjgl/mjwj","pages/mjgl/mjgh","pages/scgl/scbg","pages/wwgl/wxfl","pages/wwgl/wxsl","pages/znfx/scfx","pages/grzx/gzcl","pages/znfx/scjd","pages/znfx/chda"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"JLApp","compilerVersion":"3.92","entryPagePath":"pages/login/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; |
| | | var __uniRoutes = [{"path":"/pages/login/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"ç»å½","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/xtsy/index","meta":{},"window":{"navigationBarTitleText":"ç³»ç»é¦é¡µ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjcx","meta":{},"window":{"navigationBarTitleText":"模å
·æ¥è¯¢","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjcx2","meta":{},"window":{"navigationBarTitleText":"模å
·æ¥è¯¢","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjdj","meta":{},"window":{"navigationBarTitleText":"模å
·ç¹æ£","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjby","meta":{},"window":{"navigationBarTitleText":"模å
·ä¿å
»","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/wxsq","meta":{},"window":{"navigationBarTitleText":"ç»´ä¿®ç³è¯·","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjwx","meta":{},"window":{"navigationBarTitleText":"模å
·ç»´ä¿®","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/wxyz","meta":{},"window":{"navigationBarTitleText":"ç»´ä¿®éªè¯","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjsj","meta":{},"window":{"navigationBarTitleText":"模å
·ä¸æº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjxj","meta":{},"window":{"navigationBarTitleText":"模å
·ä¸æº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjrk","meta":{},"window":{"navigationBarTitleText":"模å
·å
¥åº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjck","meta":{},"window":{"navigationBarTitleText":"模å
·åºåº","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjwj","meta":{},"window":{"navigationBarTitleText":"模å
·å¤å","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/mjgl/mjgh","meta":{},"window":{"navigationBarTitleText":"模å
·å½è¿","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/scgl/scbg","meta":{},"window":{"navigationBarTitleText":"ç产æ¥å·¥","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/wwgl/wxfl","meta":{},"window":{"navigationBarTitleText":"å¤ååæ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/wwgl/wxsl","meta":{},"window":{"navigationBarTitleText":"å¤åæ¶æ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/znfx/scfx","meta":{},"window":{"navigationBarTitleText":"ç产åæ","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/grzx/gzcl","meta":{},"window":{"navigationBarTitleText":"å·¥èµäº§é","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/znfx/scjd","meta":{},"window":{"navigationBarTitleText":"ç产è¿åº¦","navigationStyle":"custom","enablePullDownRefresh":false}},{"path":"/pages/znfx/chda","meta":{},"window":{"navigationBarTitleText":"åè´§æ¡£æ¡","navigationStyle":"custom","enablePullDownRefresh":false}}]; |
| | | __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
| | | __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); |
| | | service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); |