123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!--pages/minePages/wfwzxxcx/wfwzxxcx.wxml-->
- <scroll-view class="wfwzxxcx-container" scroll-y enhanced show-scrollbar="{{false}}">
- <view class="seize-a-seat"></view>
- <view class="content-container">
- <view class="mp-component-tip">查询信息</view>
- <view class="cxxx-form">
- <view class="form-item">
- <view class="item-label">企业名称</view>
- <view class="item-value">
- <view class="select" bind:tap="selectEnterprice">{{enterPrice.nsrmc || '请选择企业'}}</view>
- </view>
- </view>
- <view class="form-item">
- <view class="item-label">开始日期</view>
- <view class="item-value">
- <picker class="picker" mode="date" value="{{startDate}}" data-type="0" bindchange="seleDate">
- <view class="picker-date">{{startDate}}</view>
- </picker>
- </view>
- </view>
- <view class="form-item">
- <view class="item-label">结束日期</view>
- <view class="item-value">
- <picker class="picker" mode="date" value="{{endDate}}" data-type="1" bindchange="seleDate">
- <view class="picker-date">{{endDate}}</view>
- </picker>
- </view>
- </view>
- </view>
- <view class="mp-component-tip">查询结果</view>
- <view class="result-form" wx:for="{{resultList}}" wx:key="index">
- <view class="result-form-item">
- <view class="result-form-label">违法违章名称</view>
- <view class="result-form-value">{{item.wfxwmc}}</view>
- </view>
- <view class="result-form-item">
- <view class="result-form-label">违法行为类型</view>
- <view class="result-form-value">{{item.wfxwlxmc}}</view>
- </view>
- <view class="result-form-item">
- <view class="result-form-label">所属期起止</view>
- <view class="result-form-value">{{tools.dateFormat(item)}}</view>
- </view>
- <view class="result-form-item">
- <view class="result-form-label">处罚金额</view>
- <view class="result-form-value">{{item.cfje}}</view>
- </view>
- <view class="result-form-item">
- <view class="result-form-label"><text>违法行为处\n理状态</text></view>
- <view class="result-form-value">{{item.wfxwclztmc}}</view>
- </view>
- <view class="result-form-item">
- <view class="result-form-label">违法事实</view>
- <view class="result-form-value">{{item.wfss}}</view>
- </view>
- </view>
- </view>
- <view class="safe-area"></view>
- </scroll-view>
- <pop show="{{enterpriceTypeShow}}" bindclose="close">
- <view class="pop1-title">选择企业名称</view>
- <scroll-view class="pop1Contain" scroll-y="{{true}}" enhanced="{{true}}" show-scrollbar="{{false}}">
- <view wx:if="{{enterPriceList.length>0}}" class="pop1list" wx:for="{{enterPriceList}}" wx:key="index" hover-class="buttonActive" data-item="{{item}}" bind:tap="selectedEnterprice">{{item.nsrmc}}</view>
- <view wx:if="{{enterPriceList.length==0}}" class="pop1list">暂无企业</view>
- </scroll-view>
- </pop>
- <wxs module="tools">
- var dateFormat = function (e, i) {
- if (e) {
- var s = e.sssqq.substring(0,10)
- var e = e.sssqz.substring(0,10)
- return s + '——' + e
- } else {
- return ""
- }
- }
- var tools = {
- dateFormat: dateFormat,
- }
- module.exports = tools;
- </wxs>
|