forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-29 9c7c21e8eacda173feb418bdfe739f7f97358233
bug修复
21 files modified
264 ■■■■ changed files
SunshineIns/src/data/menu.js 2 ●●● patch | view | raw | blame | history
SunshineIns/src/page/ActiveManageEdit.jsx 39 ●●●● patch | view | raw | blame | history
SunshineIns/src/page/ExamineEdit.jsx 4 ●●●● patch | view | raw | blame | history
SunshineIns/src/page/Login.jsx 2 ●●● patch | view | raw | blame | history
SunshineIns/src/page/NoInspectionReportDetail.jsx 43 ●●●● patch | view | raw | blame | history
SunshineIns/src/page/NoInspectionReportList.jsx 7 ●●●●● patch | view | raw | blame | history
SunshineIns/src/page/QuestionDetail.jsx 2 ●●● patch | view | raw | blame | history
SunshineIns/src/page/SignIn.jsx 13 ●●●●● patch | view | raw | blame | history
SunshineIns/src/page/policeSecurityEdit.jsx 4 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/app.js 4 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/fzpxInfo/fzpxInfo.js 1 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/index/index.js 4 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/index/index.wxml 56 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/myTranslate/myTranslate.wxml 2 ●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/rzcx/rzcx.wxml 16 ●●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/xsjb/xsjb.js 4 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/xsuojbInfo/xsuojbInfo.js 44 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/xsuojbInfo/xsuojbInfo.wxml 2 ●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js 3 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.wxml 10 ●●●● patch | view | raw | blame | history
SunshineLnsMinApp/pages/zdyf/zdyf.js 2 ●●● patch | view | raw | blame | history
SunshineIns/src/data/menu.js
@@ -120,7 +120,7 @@
},
{
  id: 'noInspectionReportList',
  name: '未检举报',
  name: '举报管理',
  icon: active,
  iconCheck: activeCheck,
  path: '/noInspectionReportList'
SunshineIns/src/page/ActiveManageEdit.jsx
@@ -510,16 +510,18 @@
            title: '报名方',
            dataIndex: 'proposerName',
            key: 'proposerName'
        }, {
            title: '报名方性质',
            dataIndex: 'signerType',
            key: 'signerType',
            render: text => (<span>{text == 1 ? '个人' : '企业'}</span>)
        }, {
            title: '报名人数',
            dataIndex: 'signNum',
            key: 'signNum',
        }, {
        },
        // {
        //     title: '报名方性质',
        //     dataIndex: 'signerType',
        //     key: 'signerType',
        //     render: text => (<span>{text == 1 ? '个人' : '企业'}</span>)
        // }, {
        //     title: '报名人数',
        //     dataIndex: 'signNum',
        //     key: 'signNum',
        // },
        {
            title: '审核状态',
            dataIndex: 'signStatus',
            key: 'signStatus',
@@ -539,10 +541,11 @@
                        cancelText="不通过"
                    >
                        <a href="#">审核</a>
                    </Popconfirm> : <span disabled>审核</span>
                    </Popconfirm> : <span disabled></span>
            )
        }];
        console.log('savedate.activityStatus', savedate.activityStatus)
        console.log('savedate.activityType', savedate.activityType)
        return (
            <div className="app-page">
                <Spin spinning={loading}>
@@ -701,21 +704,21 @@
                        }
                        {
                            activityType == 'act_1' ? (dateSource.length > 0 ?
                            savedate.activityType == 'act_1' ? (dateSource.length > 0 ?
                                <div style={divStyle}>
                                    <Divider orientation="left" style={{ margin: '20px', width: '97%' }}>报名人员信息</Divider>
                                    <TableView columns={columns} data={dateSource} pageSize='6' size='small' />
                                </div> : null) : null
                        }
                        {
                            activityType == 'act_2' || activityType == 'act_3' ? (dateSource.length > 0 ?
                            savedate.activityType == 'act_2' || savedate.activityType == 'act_3' ? (dateSource.length > 0 ?
                                <div style={divStyle}>
                                    <Divider orientation="left" style={{ margin: '20px', width: '97%' }}>报名名单</Divider>
                                    <TableView columns={act2columns} data={dateSource} pageSize='6' size='small' />
                                </div> : null) : null
                        }
                        {
                            activityType == 'act_2' || activityType == 'act_3' ? (dateSource.length > 0 ?
                            savedate.activityType == 'act_2' || savedate.activityType == 'act_3' ? (dateSource.length > 0 ?
                                <div style={divStyle}>
                                    <Divider orientation="left" style={{ margin: '20px', width: '97%' }}>培训结果</Divider>
                                    <div style={divStyle}>
@@ -742,7 +745,7 @@
                        }
                        {
                            activityType == 'act_1' && (
                            savedate.activityType == 'act_1' && (
                                savedate.activityStatus == null || savedate.activityStatus == 0 ?
                                    <div style={{ display: 'flex', justifyContent: 'center' }}>
                                        <Button style={{ marginRight: '15px', width: '150px' }} type="primary" onClick={this.submit}>提交</Button>
@@ -762,7 +765,7 @@
                            )
                        }
                        {
                            activityType == 'act_2' || activityType == 'act_3' && (
                            savedate.activityType == 'act_2' || savedate.activityType == 'act_3' ? (
                                savedate.activityStatus == null || savedate.activityStatus == 0 ?
                                    <div style={{ display: 'flex', justifyContent: 'center' }}>
                                        <Button style={{ marginRight: '15px', width: '150px' }} type="primary" onClick={this.submit}>提交</Button>
@@ -779,7 +782,7 @@
                                                <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button>
                                            </div>
                                    )
                            )
                            ) : '123'
                        }
                    </BusDetailView>
SunshineIns/src/page/ExamineEdit.jsx
@@ -69,7 +69,7 @@
                        ...res,
                    },
                    loading: false,
                    fileList: res.list ? res.list.map((item, index) => ({ uid: index, id: item.id, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.id}?online=false` })) : []
                    fileList: res.list ? res.list.map((item, index) => ({ uid: uid, id: item.uid, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.uid}?online=false` })) : []
                });
            })
@@ -249,7 +249,7 @@
                showRemoveIcon: false
            },
            onDownload: (file) => {
                Fetch.attachmentDownload(file.id)
                Fetch.attachmentDownload(file.uid)
                    .then(res => {
                        message.success("下载成功!");
                    });
SunshineIns/src/page/Login.jsx
@@ -23,7 +23,7 @@
  }
  componentDidMount() {
    document.title = '南沙区人民检察院阳光检务后台管理登录';
    document.title = '南沙区人民检察院便利化诉讼服务智能平台管理后台';
  }
  //登录
  onClick = (userName, password) => {
SunshineIns/src/page/NoInspectionReportDetail.jsx
@@ -11,7 +11,7 @@
import LineView from "../view/LineView";
import HeadView from "../view/HeadView";
import Fetch from "../fetch";
import {domain} from "../fetch/_fetch";
import { domain } from "../fetch/_fetch";
const { TextArea } = Input;
const replyAdmin = {
  display: 'block',
@@ -102,12 +102,13 @@
    };
    const { detail, data } = this.state;
    const { flag } = this.props.match.params;
    console.log(data)
    return (
      <div className="app-page">
        <HeadView history={this.props.history} />
        <Breadcrumb style={{ padding: '20px' }}>
          <Breadcrumb.Item><a href="">后台中心</a></Breadcrumb.Item>
          <Breadcrumb.Item>未检举报</Breadcrumb.Item>
          <Breadcrumb.Item><a href="index.html#/noInspectionReportList">未检举报</a></Breadcrumb.Item>
          <Breadcrumb.Item>未检举报详情</Breadcrumb.Item>
        </Breadcrumb>
        <BusDetailView>
          <div>
@@ -158,10 +159,10 @@
                  (
                    data.type != 21 ?
                      < div style={{ marginRight: "10px" }} key={key}>
                        <a href={domain + 'api/v1/attachment/image/'+data.id} target='_black'> <img src={domain + 'api/v1/attachment/image/'+data.id} width='70' height='70' /></a>
                        <a href={domain + 'api/v1/attachment/image/' + data.id} target='_black'> <img src={domain + 'api/v1/attachment/image/' + data.id} width='70' height='70' /></a>
                      </div>
                      : < div style={{ marginRight: "10px" }} key={key}>
                        <a href={domain + 'api/v1/attachment/image/'+data.id} target='_black'><video src={domain + 'api/v1/attachment/image/'+data.id} width='70' height='70'></video></a>
                        <a href={domain + 'api/v1/attachment/image/' + data.id} target='_black'><video src={domain + 'api/v1/attachment/image/' + data.id} width='70' height='70'></video></a>
                      </div>
                  )
                ))
@@ -169,24 +170,22 @@
            </div>
          </LineView>
          {
            data.ReplyLogs ?
            detail.tipoffResult ?
              <LineView title="回复记录" style="15vh">
                {data.ReplyLogs.map((contacts, key) => (
                  <div style={{ width: '100%', height: '70px' }} key={key}>
                    {contacts.userType === 1 ?
                      <React.Fragment>
                        <div style={timeUser} >{contacts.replyerName}:{moment(contacts.createTime).format('YYYY/MM/DD HH:mm:ss')}</div>
                        <div style={replyUser}>{contacts.content}</div>
                      </React.Fragment>
                      :
                      <React.Fragment>
                        <div style={timeAdmin} > {contacts.replyerName}:{moment(contacts.createTime).format('YYYY/MM/DD HH:mm:ss')}</div>
                        <div style={replyAdmin}>{contacts.content}</div>
                      </React.Fragment>
                    }
                  </div>
                ))}
                <table>
                  <tbody>
                    <tr>
                      <td className="table-vaule1">回复人</td>
                      <td className="table-vaule2">{detail.handlerName}</td>
                      <td className="table-vaule3">回复时间</td>
                      <td className="table-vaule4">{moment(detail.handleTime).format('YYYY/MM/DD HH:mm:ss')}</td>
                    </tr>
                    <tr>
                      <td className="table-vaule1">回复内容</td>
                      <td className="table-vaule2">{detail.tipoffResult}</td>
                    </tr>
                  </tbody>
                </table>
              </LineView>
              : null}
          {
SunshineIns/src/page/NoInspectionReportList.jsx
@@ -31,9 +31,10 @@
    return (
      <div className="app-page">
        <HeadView history={this.props.history} />
        <LinkView sed="未检举报" local="未检举报" />
        <NoInspectionReportTableList history={this.props.history} />
        {/* <LinkView sed="未检举报" local="未检举报" /> */}
        <div style={{ background: '#fff', margin: 20 }}>
          <NoInspectionReportTableList history={this.props.history} />
        </div>
      </div>
    );
  }
SunshineIns/src/page/QuestionDetail.jsx
@@ -106,7 +106,7 @@
                      问卷描述:{initData.content || '暂无'}
                    </h4>
                    <h4 style={{ marginBottom: 0 }}>
                      业务类型:{typeStatus(  ) || '暂无'}
                      业务类型:{typeStatus(initData.businessType) || '暂无'}
                    </h4>
                  </div>
                </div>
SunshineIns/src/page/SignIn.jsx
@@ -30,15 +30,18 @@
    }
    componentDidMount() {
        document.title = '签到上墙';
        this.getData();
        setInterval(() => this.getData(), 5000)
    }
    componentWillMount() {
        this.getData()
    }
    getData = () => {
        // signinfo
        const { id } = this.props.match.params;
        this.setState({ loading: true })
        // this.setState({ loading: true })
        Fetch.signinfo(id)
            .then(res => {
                console.log(res)
@@ -46,7 +49,7 @@
                    code: res.data.code,
                    personList: res.data.personList,
                    activityName: res.data.activityName,
                    loading: false,
                    // loading: false,
                });
            })
    }
@@ -90,7 +93,7 @@
                                        </div>
                                        {
                                            item.signStatus == 3 ?
                                                <div style={{ padding: '0 12px',width:'168px' }}>
                                                <div style={{ padding: '0 12px', width: '168px' }}>
                                                    <div>签到人:{item.proposerName}</div>
                                                    <div>签到时间:{moment(item.updateTime).format(format)}</div>
                                                </div> : ''
SunshineIns/src/page/policeSecurityEdit.jsx
@@ -69,7 +69,7 @@
                        ...res,
                    },
                    loading: false,
                    fileList: res.list ? res.list.map((item, index) => ({ uid: index, id: item.id, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.id}?online=false` })) : []
                    fileList: res.list ? res.list.map((item, index) => ({ uid: uid, id: item.uid, name: item.name, status: 'done', url: domain + `/api/v1/attachment/download/${item.uid}?online=false` })) : []
                });
            })
@@ -249,7 +249,7 @@
                showRemoveIcon: false
            },
            onDownload: (file) => {
                Fetch.attachmentDownload(file.id)
                Fetch.attachmentDownload(file.uid)
                    .then(res => {
                        message.success("下载成功!");
                    });
SunshineLnsMinApp/app.js
@@ -10,8 +10,8 @@
  globalData: {
    userInfo: null,
    pageData: {},
    // url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge',
    url: 'http://1p885086k1.iok.la/nsjc-charge',
    url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge',
    // url: 'http://1p885086k1.iok.la/nsjc-charge',
    // url: 'http://192.168.0.31:8085/nsjc-charge',
    imgUrl: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge',
    // url: 'http://nsjc.vaiwan.com/nsjc-charge',
SunshineLnsMinApp/pages/fzpxInfo/fzpxInfo.js
@@ -67,7 +67,6 @@
              signStatus: options.signStatus
            })
          } else {
            sign
            if (options.flag == 'true') {
              //可报名
              console.log('可报名')
SunshineLnsMinApp/pages/index/index.js
@@ -38,11 +38,7 @@
    }, {
      name: '检务公开'
    }, {
      name: '法治培训'
    }, {
      name: '知识产权'
    }, {
      name: '营商环境'
    }],
  },
  //事件处理函数
SunshineLnsMinApp/pages/index/index.wxml
@@ -149,7 +149,10 @@
            自贸区法律服务
          </view>
        </view>
        <view class="bg-img" style="margin: 6px;height: 78px;flex: 1; line-height: 78px;">
        <view class="bg-img" data-str="yshjqyfw" data-id="9" bindtap='clinkFunction' style="background-image: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577104674828&di=1ad5819ce06281fb5090a4038980917e&imgtype=0&src=http%3A%2F%2Fimage.sike.news.cn%2Fuploads%2F2019%2F05%2F2019-05-2451.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
            营商环境
          </view>
        </view>
      </view>
    </view>
@@ -209,6 +212,21 @@
    <!-- 南检活动 -->
    <view class='VerticalNav-flex' wx:if="{{moduleDiv==5}}">
      <view class='VerticalNav-flex-t'>
        <view class="bg-img" data-str="fzpx" bindtap='linkFunction' style="background-image: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1291150546,1510144282&fm=26&gp=0.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
            法治培训
          </view>
        </view>
        <view class="bg-img" style="margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-img" data-str="fzxkt" bindtap='linkFunction' style="background-image: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1291150546,1510144282&fm=26&gp=0.jpg');">
            <view class="bg-shadeTop">
              法治小课堂
            </view>
          </view>
        </view>
        <!-- <view class='VerticalNav-flex-div'></view> -->
      </view>
      <view class='VerticalNav-flex-t'>
        <view class="bg-img" bindtap='activity' style="background-image: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1576727840095&di=c57a0f0d43a2b175981b679f8e328428&imgtype=0&src=http%3A%2F%2Fwx2.sinaimg.cn%2Fcrop.0.0.738.415.1000%2F006ba4mely1fmndnl221jj30m50bjq5i.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
            活动一览
@@ -262,31 +280,17 @@
    </view>
    <!-- 法治培训服务 -->
    <view class='VerticalNav-flex' wx:if="{{moduleDiv==7}}">
      <view class='VerticalNav-flex-t'>
        <view class="bg-img" data-str="fzpx" bindtap='linkFunction' style="background-image: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1291150546,1510144282&fm=26&gp=0.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
            法治培训
          </view>
        </view>
        <view class="bg-img" style="margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-img" data-str="fzxkt" bindtap='linkFunction' style="background-image: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1291150546,1510144282&fm=26&gp=0.jpg');">
            <view class="bg-shadeTop">
              法治小课堂
            </view>
          </view>
        </view>
        <!-- <view class='VerticalNav-flex-div'></view> -->
      </view>
    <!-- <view class='VerticalNav-flex' wx:if="{{moduleDiv==7}}"> -->
      <!-- <view class='VerticalNav-flex-t'>
    <!-- <view class='VerticalNav-flex-t'>
        <view class='VerticalNav-flex-div'>信访预约</view>
        <view class='VerticalNav-flex-div'>监督联络站</view>
      </view> -->
    </view>
    <!-- </view> -->
    <!-- 知识产权 -->
    <view class='VerticalNav-flex' wx:if="{{moduleDiv==8}}">
    <view class='VerticalNav-flex' wx:if="{{moduleDiv==7}}">
      <view class='VerticalNav-flex-t'>
        <view class="bg-img" data-str="lawInfo" data-id="9" bindtap='clinkFunction' style="background-image: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577104674828&di=1ad5819ce06281fb5090a4038980917e&imgtype=0&src=http%3A%2F%2Fimage.sike.news.cn%2Fuploads%2F2019%2F05%2F2019-05-2451.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
@@ -308,7 +312,7 @@
            典型案例
          </view>
        </view>
        <view class="bg-img" style="margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-img" data-str="xsuojb" bindtap='linkFunction' style="background-image: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1291150546,1510144282&fm=26&gp=0.jpg');">
            <view class="bg-shadeTop">
@@ -322,7 +326,7 @@
    </view>
    <!-- 营商环境 -->
    <view class='VerticalNav-flex' wx:if="{{moduleDiv==9}}">
    <!-- <view class='VerticalNav-flex' wx:if="{{moduleDiv==8}}">
      <view class='VerticalNav-flex-t'>
        <view class="bg-img" data-str="yshjqyfw" data-id="9" bindtap='clinkFunction' style="background-image: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577104674828&di=1ad5819ce06281fb5090a4038980917e&imgtype=0&src=http%3A%2F%2Fimage.sike.news.cn%2Fuploads%2F2019%2F05%2F2019-05-2451.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
@@ -330,15 +334,15 @@
          </view>
        </view>
        <view class="bg-img" style="margin: 6px;height: 78px;flex: 1; line-height: 78px;">
        </view>
        <!-- <view class="bg-img" data-str="createSub" data-id="9" bindtap='clinkFunction' style="background-image: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577104674828&di=1ad5819ce06281fb5090a4038980917e&imgtype=0&src=http%3A%2F%2Fimage.sike.news.cn%2Fuploads%2F2019%2F05%2F2019-05-2451.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
        </view> -->
    <!-- <view class="bg-img" data-str="createSub" data-id="9" bindtap='clinkFunction' style="background-image: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1577104674828&di=1ad5819ce06281fb5090a4038980917e&imgtype=0&src=http%3A%2F%2Fimage.sike.news.cn%2Fuploads%2F2019%2F05%2F2019-05-2451.jpg');margin: 6px;height: 78px;flex: 1; line-height: 78px;">
          <view class="bg-shadeTop">
            问卷调查
          </view>
        </view> -->
      </view>
    <!-- </view>
    </view>
    </view> -->
  </view>
</div>
SunshineLnsMinApp/pages/myTranslate/myTranslate.wxml
@@ -11,7 +11,7 @@
            <!-- <div class="businessSchedule-top-img">
        <image src="{{item.iconSrc}}" class="businessSchedule-top-img"></image>
      </div> -->
            <div class="businessSchedule-top-title">{{item.activityTitle}}</div>
            <div class="businessSchedule-top-title">{{item.activityType}}</div>
            <div class="businessSchedule-top-status backgroundorange-title" wx:if="{{item.signStatus==1}}">未审核</div>
            <div class="businessSchedule-top-status backgroundorange-title" wx:if="{{item.signStatus==2}}">未签到</div>
            <div class="businessSchedule-top-status backgroundorange-title" wx:if="{{item.signStatus==3}}">已签到</div>
SunshineLnsMinApp/pages/rzcx/rzcx.wxml
@@ -1,6 +1,11 @@
<!--pages/rzcx/rzcx.wxml-->
<div class="boxshadow">
  <div class="publicSnapshot-main">
    <span class="red-title"></span>
    <span>申请人姓名</span>
    <input data-name="createrName" bindinput="inputChange" disabled="{{disabled}}" value='{{picturesInfo.createrName}}'></input>
  </div>
  <div class="publicSnapshot-message">
    <span></span>
    <span>照片上传</span>
@@ -27,17 +32,6 @@
  </div>
</div>
<div class="index-gray"></div>
<div class="boxshadow">
  <div class="publicSnapshot-message">
    <span></span>
    <span>申请理由</span>
  </div>
  <div class="border-bottom"></div>
  <div class="publicSnapshot-main" style='display:block'>
    <textarea data-name="reason" bindinput="inputChange" disabled="{{disabled}}" value='{{picturesInfo.reason}}' placeholder="请输入备注内容" />
  </div>
</div>
<div wx:if="{{approveLogs.length == 1}}">
  <div class="index-gray"></div>
SunshineLnsMinApp/pages/xsjb/xsjb.js
@@ -152,8 +152,8 @@
            icon: 'success',
            duration: 2000
          })
          wx.navigateTo({
            url: '../zhwj/zhwj',
          wx.navigateBack({
            delta: 2
          })
        }
      }
SunshineLnsMinApp/pages/xsuojbInfo/xsuojbInfo.js
@@ -37,7 +37,7 @@
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  onLoad: function(options) {
    const id = options.id || 'new';
    let that = this;
    var userinfo = wx.getStorageSync("user");
@@ -48,7 +48,7 @@
      data: {
        id,
      },
      success: function (res) {
      success: function(res) {
        console.log('res', res);
        var dataSet = res.data;
        var evalList1000 = dataSet.attachments || [];
@@ -111,32 +111,32 @@
  onSubmit() {
    console.log(this.data.thisData)
    if(!this.data.thisData.tipoffObject){
    if (!this.data.thisData.tipoffObject) {
      return app.showModal("请填写举报对象!");
    }
    if(!this.data.thisData.tipoffAction){
    if (!this.data.thisData.tipoffAction) {
      return app.showModal("请选择举报行为!");
    }
    if(!this.data.thisData.tipoffAddress){
    if (!this.data.thisData.tipoffAddress) {
      return app.showModal("请填写发生地!");
    }
    if(!this.data.thisData.tipoffContent){
    if (!this.data.thisData.tipoffContent) {
      return app.showModal("请填写具体事项!");
    }
    if(!this.data.evalList){
    if (!this.data.evalList) {
      return app.showModal("请上传证明材料!");
    }
    if(!this.data.thisData.tipoffType){
    if (!this.data.thisData.tipoffType) {
      return app.showModal("请选择方式!");
    }
    if(this.data.thisData.tipoffType=='2'){
      if(!this.data.thisData.createrName){
    if (this.data.thisData.tipoffType == '2') {
      if (!this.data.thisData.createrName) {
        return app.showModal("请填写姓名!");
      }
      if(!this.data.thisData.createrMobile){
      if (!this.data.thisData.createrMobile) {
        return app.showModal("请填写手机号码!");
      }
      if(!this.data.thisData.createrAddress){
      if (!this.data.thisData.createrAddress) {
        return app.showModal("请填写联系方式!");
      }
    }
@@ -147,15 +147,15 @@
      header: {
        "Content-Type": "application/json"
      },
      success: function (res) {
      success: function(res) {
        if (res.data.code == 0) {
          wx.showToast({
            title: '提交成功!',
            icon: 'success',
            duration: 2000
          })
          wx.navigateTo({
            url: '../zhwj/zhwj',
          wx.navigateBack({
            delta: 2
          })
        }
      }
@@ -163,10 +163,10 @@
  },
  // 选择地理位置
  chooseLocation: function (e) {
  chooseLocation: function(e) {
    const that = this;
    wx.chooseLocation({
      success: function (res) {
      success: function(res) {
        console.log('res', res);
        that.setData({
          thisData: {
@@ -179,7 +179,7 @@
  },
  //添加图片
  joinPicture: function (e) {
  joinPicture: function(e) {
    console.log(e)
    var that = this;
    console.log(that)
@@ -187,13 +187,13 @@
  },
  // 删除图片
  clearImg: function (e) {
  clearImg: function(e) {
    var that = this;
    app.clearImg(e, that);
  },
  //预览图片
  previewImage: function (e) {
  previewImage: function(e) {
    app.previewImage(e);
  },
@@ -206,13 +206,13 @@
      this.setData({
        [key]: e.detail.value,
        [`display${key}`]: e.detail.label,
        showInfo:true,
        showInfo: true,
        thisData: {
          ...this.data.thisData,
          [key]: e.detail.value,
        }
      });
    }else{
    } else {
      this.setData({
        [key]: e.detail.value,
        [`display${key}`]: e.detail.label,
SunshineLnsMinApp/pages/xsuojbInfo/xsuojbInfo.wxml
@@ -50,7 +50,7 @@
            <div class="activity-uploadImage">
                <view class="educt_hasupload_pic" wx:for="{{evalList.evalList1000}}" wx:key="index">
                    <image src="{{item.pic}}" class="upload" bindtap="previewImage" data-src="{{item.pic}}"></image>
                    <image src="{{del}}" bindtap='clearImg' data-index="{{index}}" id="{{item.id}}" data-associatetypeid="{{1000}}"></image>
                    <image src="{{del}}" class="{{imgdisabled? 'displayNone':'activity-uploadImag-del'}}" bindtap='clearImg' data-index="{{index}}" id="{{item.id}}" data-associatetypeid="{{1000}}"></image>
                </view>
                <view bindtap="joinPicture" data-index="{{0}}" data-associatetypeid="{{1000}}">
                    <image class="{{disabled? 'educt_upload_add activity-uploadImag-icon':'displayNone activity-uploadImag-icon'}}" src="{{add}}"></image>
SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.js
@@ -7,6 +7,7 @@
   */
  data: {
    wjgk: './../../images/wjgk.jpg',
    qiyefuwu: app.globalData.imgUrl + '/images/qiyefuwu.png',
    dongtai1_1: app.globalData.imgUrl + '/image/dongtai1-1.jpg',
    dongtai2_1: app.globalData.imgUrl + '/image/dongtai2-1.jpg',
    dongtai3_1: app.globalData.imgUrl + '/image/dongtai3-1.jpg',
@@ -71,7 +72,7 @@
    var that = this;
    wx.showLoading();
    wx.request({
      url: app.globalData.url + '/api/question/examination',
      url: app.globalData.url + '/api/question/publicMsgQuery',
      data: {
        page: 1,
        size: 1000,
SunshineLnsMinApp/pages/yshjqyfw/yshjqyfw.wxml
@@ -1,18 +1,18 @@
<!--pages/zhwj/zhwj.wxml-->
<view class="bg-img padding-tb-xl" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/juxing.png');height: 414rpx;">
<view class="bg-img padding-tb-xl" style="background-image: url('https://nsjcy.hugeinfo.com.cn/nsjc-charge/image/qiyefuwu.png');height: 414rpx;">
</view>
<view class="zhwj-list">
    <view class="zhwj-list-flex">
        <view class="zhwj-list-flex-l" data-str="zscqdxal" bindtap='linkFunction'>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj1.png');"></view>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj6.png');"></view>
            <view class="zhwj-list-flex-l-text">
                <view class="text-black text-bold text-lg">典型案例</view>
            </view>
        </view>
        <view class="zhwj-list-flex-r" data-str="zdyf" bindtap='linkFunction'>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj2.png');"></view>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj4.png');"></view>
            <view class="zhwj-list-flex-l-text">
                <view class="text-black text-bold text-lg">主动预防</view>
            </view>
@@ -20,13 +20,13 @@
    </view>
    <view class="zhwj-list-flex">
        <view class="zhwj-list-flex-l" data-str="flcx" bindtap='linkFunction'>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj3.png');"></view>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj5.png');"></view>
            <view class="zhwj-list-flex-l-text">
                <view class="text-black text-bold text-lg">法律查询</view>
            </view>
        </view>
        <view class="zhwj-list-flex-r" data-str="createSubList" bindtap='linkFunction'>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj4.png');"></view>
            <view class="cu-avatar round margin-left zhwj-list-flex-l-img" style="background-image: url('https://xnwj.gznsjc.gov.cn/nsjc-charge/image/zuj3.png');"></view>
            <view class="zhwj-list-flex-l-text">
                <view class="text-black text-bold text-lg">企业体检</view>
            </view>
SunshineLnsMinApp/pages/zdyf/zdyf.js
@@ -21,7 +21,7 @@
    var that = this;
    wx.showLoading();
    wx.request({
      url: app.globalData.url + '/api/article/publicMsgQuery',
      url: app.globalData.url + '/api/question/publicMsgQuery',
      data: {
        page: 1,
        size: 1000,