| | |
| | | { |
| | | "name" : "laborVisitors", |
| | | "appid" : "__UNI__BCCF400", |
| | | "appid" : "__UNI__91B8BB7", |
| | | "description" : "", |
| | | "versionName" : "1.0.0", |
| | | "versionCode" : "100", |
| | |
| | | closeOnClickOverlay |
| | | :minDate="new Date().getTime()" |
| | | mode="datetime" |
| | | :formatter="formatter" |
| | | @close="showDatetime = false" |
| | | @cancel="showDatetime = false" |
| | | @confirm="setinDate" |
| | |
| | | this.initData() |
| | | }, |
| | | methods: { |
| | | formatter(type, value) { |
| | | if (type === 'year') { |
| | | return `${value}年` |
| | | } |
| | | if (type === 'month') { |
| | | return `${value}月` |
| | | } |
| | | if (type === 'day') { |
| | | return `${value}日` |
| | | } |
| | | if (type === 'hour') { |
| | | return `${value}时` |
| | | } |
| | | if (type === 'minute') { |
| | | return `${value}分` |
| | | } |
| | | return value |
| | | }, |
| | | checkSurplus() { |
| | | const { arriveDate, reasonId, totalNum } = this.param |
| | | if(!arriveDate || !reasonId || !totalNum) return |
| | |
| | | <template> |
| | | <view class="box"> |
| | | <mp-html :content="content" /> |
| | | <!-- <mp-html :content="content" /> --> |
| | | <u-parse :content="content"></u-parse> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | <template> |
| | | <view class="box"> |
| | | <!-- <view v-html="info"></view> --> |
| | | <mp-html :content="info" /> |
| | | <!-- <mp-html :content="info" /> --> |
| | | <u-parse :content="info"></u-parse> |
| | | </view> |
| | | </template> |
| | | <script> |
| | |
| | | <template> |
| | | <view class="box"> |
| | | <!-- <view v-html="info"></view> --> |
| | | <mp-html :content="info" /> |
| | | <!-- <mp-html :content="info" /> --> |
| | | <u-parse :content="info"></u-parse> |
| | | </view> |
| | | </template> |
| | | <script> |
| | |
| | | <view class="modal">
|
| | | <!-- <view v-html="htmlText"></view> -->
|
| | | <view class="content">
|
| | | <mp-html :content="htmlText" />
|
| | | <!-- <mp-html :content="htmlText" /> -->
|
| | | <u-parse :content="htmlText"></u-parse>
|
| | | </view>
|
| | | </view>
|
| | | </u-popup>
|
| | |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view v-if="form1.type == '1'" class="list_item"> |
| | | <view v-if="form1.type == 1" class="list_item"> |
| | | <view class="list_item_label"> |
| | | <text></text> |
| | | <text>施工内容</text> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="footer"> |
| | | <view class="footer_btn" @click="onSubmit">提交</view> |
| | | <view class="footer-box"> |
| | | <view class="submit-button" @click="onSubmit">提交</view> |
| | | </view> |
| | | <!-- 入园时间 --> |
| | | <u-datetime-picker :show="show4" :minDate="new Date().getTime()" mode="datetime" :formatter="formatter" |
| | | <u-datetime-picker :show="show4" :minDate="new Date().getTime()" :formatter="formatter" mode="datetime" |
| | | @cancel="show4 = false" @confirm="setstarttime"></u-datetime-picker> |
| | | <!-- 离园时间 --> |
| | | <!-- 离园时间 --> |
| | | <u-datetime-picker v-if="form1.starttime" :show="show5" :formatter="formatter" |
| | | :minDate="formatTimeStamp(form1.starttime)" :maxDate="formatTimeStamp(form1.starttime.slice(0,10) + ' 23:59')" |
| | | mode="datetime" @cancel="show5 = false" @confirm="setendtime"></u-datetime-picker> |
| | |
| | | }, |
| | | methods: { |
| | | formatter(type, value) { |
| | | // if (type === 'year') { |
| | | // return `${value}年` |
| | | // } |
| | | // if (type === 'month') { |
| | | // return `${value}月` |
| | | // } |
| | | // if (type === 'day') { |
| | | // return `${value}日` |
| | | // } |
| | | if (type === 'year') { |
| | | return `${value}年` |
| | | } |
| | |
| | | if (type === 'day') { |
| | | return `${value}日` |
| | | } |
| | | // <<<<<<< HEAD |
| | | this.$forceUpdate() |
| | | this.closeInput() |
| | | if (type === 'hour') { |
| | | return `${value}时` |
| | | } |
| | | if (type === 'minute') { |
| | | return `${value}分` |
| | | } |
| | | // this.$forceUpdate() |
| | | // this.closeInput() |
| | | return value |
| | | }, |
| | | closeInput() { |
| | | this.$refs.keyboard.close() |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .footer-box { |
| | | width: 100%; |
| | | position: fixed; |
| | | bottom: 30rpx; |
| | | height: 80rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | .submit-button { |
| | | width: calc(100% - 60rpx); |
| | | height: 88rpx; |
| | | line-height: 88rpx; |
| | | background: #4d99a8; |
| | | border-radius: 4rpx; |
| | | color: #fff; |
| | | border-radius: 44rpx; |
| | | font-size: 32rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | |
| | | .head { |
| | | width: 100%; |
| | |
| | | <template> |
| | | <view class="box"> |
| | | <!-- <view v-html="info"></view> --> |
| | | <mp-html :content="info" /> |
| | | <!-- <mp-html :content="info" /> --> |
| | | <u-parse :content="info"></u-parse> |
| | | </view> |
| | | </template> |
| | | <script> |
| | |
| | | |
| | | export const baseUrl = 'zhyq_interface/' |
| | | // export const baseUrl = 'zhyq_interface/' |
| | | // export const baseUrl = 'http://192.168.0.173/gateway_interface/' |
| | | // export const baseUrl = 'http://10.50.250.253:8088/gateway_interface/' |
| | | // export const baseUrl = 'https://atwl.ahzyssl.com/zhyq_interface/' |
| | | export const baseUrl = 'https://atwl.ahzyssl.com/zhyq_interface/' |
| | | |
| | | export const app_url = 'https://atwl.ahzyssl.com/zhyq_h5/#/' |
| | | |