forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-14 52aa9f64e5dea1c0e30bc1094fa580c3851d8f9d
Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh
2 files added
19 files modified
345 ■■■■ changed files
gz-customerSystem/src/api/appUrl.js 2 ●●● patch | view | raw | blame | history
gz-customerSystem/src/components/NewTableSearch/index.jsx 17 ●●●●● patch | view | raw | blame | history
gz-customerSystem/src/router/router.js 8 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/styles/theme.less 2 ●●● patch | view | raw | blame | history
gz-customerSystem/src/views/comprehensive/index.jsx 30 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/comprehensive/index.less 16 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/disputeLedger/index.jsx 39 ●●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/disputeLedger/index.less patch | view | raw | blame | history
gz-wxparty/api/api.js 2 ●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterFlow/index.js 27 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterFlow/index.json 4 ●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterFlow/index.wxml 48 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterFlow/index.wxss 14 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterList/index.js 64 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterList/index.wxml 31 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/myRegisterList/index.wxss 19 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/register/index.js 8 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/register/index.json 2 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/register/index.wxml 4 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/speechToText/index.js 7 ●●●● patch | view | raw | blame | history
gz-wxparty/utils/util.js 1 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/api/appUrl.js
@@ -2,7 +2,7 @@
 * @Company: hugeInfo
 * @Author: ldh
 * @Date: 2022-02-16 11:25:57
 * @LastEditTime: 2024-09-14 10:03:46
 * @LastEditTime: 2024-09-14 15:43:38
 * @LastEditors: lwh
 * @Version: 1.0.0
 * @Description: api地址
gz-customerSystem/src/components/NewTableSearch/index.jsx
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { Form, Row, Col, Input, DatePicker, Select, Button, TreeSelect } from 'antd';
import { DownOutlined } from '@ant-design/icons';
import { DownOutlined, SearchOutlined } from '@ant-design/icons';
import * as $$ from '../../utils/utility';
import './index.less';
@@ -16,8 +16,9 @@
 * rowNum, // 一行放多少个搜索item
 * handleRest, // 重置
 * handleSearch, // 搜索
 * exportButton //导出按钮
 */
const NewTableSearch = ({ form, itemData, labelLength = 5, rowNum = 3, handleReset, handleSearch }) => {
const NewTableSearch = ({ form, itemData, labelLength = 5, rowNum = 3, handleReset, handleSearch, exportButton }) => {
  const [searchMore, setSearchMore] = useState(false);
  const span = 24 / rowNum;
@@ -127,11 +128,14 @@
      })}
      <Row style={{ marginTop: '16px' }}>
        <Col span={24} style={{ textAlign: 'left' }}>
          <Button className="public-buttonMargin" onClick={handleReset}>
            重置
          </Button>
          <Button type="primary" htmlType="submit" onClick={handleSearch}>
          <Button className="public-buttonMargin" type="primary" htmlType="submit" icon={<SearchOutlined />} onClick={handleSearch}>
            查询
          </Button>
          <Button className="public-buttonMargin" type="primary" ghost htmlType="submit" onClick={exportButton}>
            导出查询结果
          </Button>
          <Button onClick={handleReset}>
            重置条件
          </Button>
          {display && (
            <span className="tableSearch-searchMore" onClick={() => setSearchMore(!searchMore)}>
@@ -151,6 +155,7 @@
  rowNum: PropTypes.number,
  handleReset: PropTypes.func,
  handleSearch: PropTypes.func,
  exportButton: PropTypes.func,
};
export default NewTableSearch;
gz-customerSystem/src/router/router.js
@@ -2,8 +2,8 @@
 * @Company: hugeInfo
 * @Author: ldh
 * @Date: 2022-03-28 11:22:41
 * @LastEditTime: 2024-09-10 14:15:11
 * @LastEditors: dminyi 1301963064@qq.com
 * @LastEditTime: 2024-09-14 16:09:40
 * @LastEditors: lwh
 * @Version: 1.0.0
 * @Description: 路由
 */
@@ -128,6 +128,8 @@
// 综合查询
import Comprehensive from '../views/comprehensive';
// 纠纷台账
import DisputeLedger from '../views/disputeLedger';
// 数据分析
import DataSearch from '../views/statistic/dataSearch';
@@ -234,6 +236,8 @@
                        <Route path="workflowManage/workflowManageDetail" element={<WorkflowManageDetail />} />
                        {/* 综合查询 */}
                        <Route path="comprehensive" element={<Comprehensive />} />
            {/* 纠纷台账 */}
                        <Route path="account" element={<DisputeLedger />} />
                        {/* 数据分析 */}
                        <Route path="dataSearch" element={<DataSearch />} />
                        {/* 调解视窗成功页 */}
gz-customerSystem/src/styles/theme.less
@@ -16,7 +16,7 @@
@warning-color: #FA8C16; // 警告色
@warning-bg-color: #fdf6e0; // 警告色背景
@error-color: #F53F3F; // 错误色
@font-size-base: 14px; // 主字号
@font-size-base: 16px; // 主字号
@line-height-base: 1.5715;
@heading-color: rgba(0, 0, 0, 0.85); // 标题色
@text-color: rgba(0, 0, 0, 0.85); // 主文本色
gz-customerSystem/src/views/comprehensive/index.jsx
@@ -1,6 +1,6 @@
import React, { useEffect, useState } from 'react';
import Page from '../../components/Page/index';
import NewPage from '../../components/NewPage/index';
import { Form, Typography, Space, Tooltip } from 'antd';
import { FolderFilled } from '@ant-design/icons';
import * as $$ from '../../utils/utility';
@@ -48,10 +48,11 @@
      { title: '纠纷类型', width: 150, dataIndex: 'caseTypeName' },
      { title: '承办部门', width: 150, dataIndex: 'mediateDeptName' },
      { title: '配合部门', width: 150, dataIndex: 'assistUnitName' },
      { title: '化解结果', width: 80, dataIndex: 'mediResult' },
      { title: '办结时间', width: 80, dataIndex: 'closeTime' },
      // { title: '申请方', dataIndex: 'plaintiffList' },
      // { title: '被申请方', dataIndex: 'defendantList' },
      // 22_00025-1 成功 22_00025-2 化解不成功
      { title: '化解结果', width: 100, dataIndex: 'mediResult', render: (text) => <div className={text === '22_00025-1' ? 'comprehensive-green' : text === '22_00025-2' ? 'comprehensive-red' : '-'} >{text === '22_00025-1' ? '化解成功' : text === '22_00025-2' ? '化解不成功' : '-'}</div> },
      { title: '办结时间', width: 100, dataIndex: 'closeTime', render: (text) => <span>{$$.dateFormat(text)}</span> },
      { title: '申请方', dataIndex: 'action', render: (text, record) => <div>{record.plaintiffList?.length > 0 ? record.plaintiffList?.map(i => i.trueName)?.join(',') : '-'}</div> },
      { title: '被申请方', dataIndex: 'action', render: (text, record) => <div>{record.defendantList?.length > 0 ? record.defendantList?.map(i => i.trueName)?.join(',') : '-'}</div> },
      { title: '登记机构', dataIndex: 'inputUnitName' },
      {
        title: '操作',
@@ -125,6 +126,12 @@
    getCaseInfoData(paramsObj);
  }
  // 导出数据
  function downloadXls() {
    window.open(`${$$.appUrl.baseUrl}/dyh-mediate/api/web/caseInfo/exportQueryAll`);
  };
  // 搜索 or 重置
  function handleSearch(type, session) {
    let paramsObj = {};
@@ -184,11 +191,16 @@
  return (
    <Page pageHead={{ title: '综合查询', subtitle: '管理员名下综合查询列表' }}>
      <div className="myMediation">
        <div className="myMediation-search">
    <NewPage
      pageHead={
        { breadcrumbData: [{ title: '工作台' }, { title: '综合查询' }], title: '综合查询' }
      }
    >
      <div className="comprehensive">
        <div className="pageSearch">
          <div className='comprehensive-title'>查询条件</div>
          <NewTableSearch
            exportButton={downloadXls}
            labelLength={6}
            form={form}
            itemData={[
@@ -246,7 +258,7 @@
          />
        </div>
      </div>
    </Page>
    </NewPage>
  );
};
gz-customerSystem/src/views/comprehensive/index.less
@@ -1,9 +1,17 @@
.comprehensive {
    position: relative;
    margin: 0 16px;
    &-title {
        // margin: 0 16px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0,0,0,0.85);
    margin-bottom: 16px;
        font-size: 16px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.85);
        margin-bottom: 16px;
    }
    &-green {
        color: #00b42a;
    }
    &-red {
        color: #f53f3f;
    }
}
gz-customerSystem/src/views/disputeLedger/index.jsx
New file
@@ -0,0 +1,39 @@
/*
 * @Company: hugeInfo
 * @Author: lwh
 * @Date: 2024-09-14 15:59:17
 * @LastEditTime: 2024-09-14 16:03:34
 * @LastEditors: lwh
 * @Version: 1.0.0
 * @Description:
 */
import React, { useState, useEffect, useMemo } from 'react';
import * as $$ from '../../utils/utility';
import { Form, Typography, Button, Space } from 'antd';
import { useLocation, useNavigate, useSearchParams } from 'react-router-dom';
import NewPage from '../../components/NewPage/index';
const { Link } = Typography;
// 调度中心列表
function getMyMediationDataApi(submitData) {
  return $$.ax.request({ url: 'caseDisp/pageQuery', type: 'get', data: submitData, service: 'disp' });
}
// 获取列表分类tab
function getTabsDataApi() {
  return $$.ax.request({ url: 'caseDisp/getApplyCanal', type: 'get', service: 'disp' });
}
const DisputeLedger = () => {
  return (
    <NewPage
      pageHead={
        { breadcrumbData: [{ title: '工作台' }, { title: '纠纷台账' }], title: '纠纷台账' }
      }
    ></NewPage>
  )
}
export default DisputeLedger;
gz-customerSystem/src/views/disputeLedger/index.less
gz-wxparty/api/api.js
@@ -8,7 +8,7 @@
  // === 测试环境 ===
  // debug: 'https://gz.hugeinfo.com.cn/',
  debug: 'http://qbkwa3.natappfree.cc/',
  debug: 'http://h6pq6x.natappfree.cc/',
  img: 'http://120.79.193.119:9103/wx414ae04ac3f10b4e/images/',
  assets: 'http://120.79.193.119:9103/wx414ae04ac3f10b4e/js/',
  txt: 'http://120.79.193.119:9103/wx414ae04ac3f10b4e/txt/',
gz-wxparty/pages/myRegisterFlow/index.js
@@ -2,6 +2,16 @@
const $$ = require('../../utils/util');
const app = getApp();
// 详情接口
function getByIdApi(param) {
  return $$.request({
    url: 'caseTask/listCaseFlow',
    type: 'get',
    submitData: param || {},
    service: 'mediate'
  })
}
Page({
  /**
@@ -38,10 +48,25 @@
    ]
  },
  // 获取纠纷案件详情
  async getById(data) {
    $$.showLoading();
    const res = await getByIdApi({
      caseId: data.caseId
    });
    $$.hideLoading();
    if (res.type) {
      let data = res.data || [];
      this.setData({
        flows: data
      });
    }
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    this.getById(options);
  },
})
gz-wxparty/pages/myRegisterFlow/index.json
@@ -1,4 +1,6 @@
{
  "navigationBarTitleText": "办理流程",
  "usingComponents": {}
  "usingComponents": {
    "time-format": "../../components/time-format/index"
  }
}
gz-wxparty/pages/myRegisterFlow/index.wxml
@@ -3,59 +3,59 @@
  <view class="flex" wx:for="{{flows}}" data-item="{{ item }}" data-index="{{ index }}" wx:key="index">
    <view class="left">
      <view class="icon">
        <van-icon size='16' name="{{imgUrl}}myRegisterList_5.png" />
        <image class="icon-image" src="{{imgUrl}}myRegisterList_5.png" mode="" />
      </view>
      <view wx:if="{{index < 3}}" class="line"></view>
    </view>
    <view class="right" style="margin-bottom:{{index<flows.length-1 ?'32rpx':'0'}}">
      <view class="list-content-flex margin-top">
        <view class="list-content-value">{{item.title}}</view>
        <view class="list-content-value">{{item.processName}}</view>
      </view>
      <view wx:if="{{item.status==='1'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===1}}" class="list-content-flex margin-top">
        <view class="list-content-title">反映形式:</view>
        <view class="list-content-value">{{item.name1}}</view>
        <view class="list-content-value">{{item.visitWayName}}</view>
      </view>
      <view wx:if="{{item.status==='1'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===1}}" class="list-content-flex margin-top">
        <view class="list-content-title">申请时间:</view>
        <view class="list-content-value">{{item.name2}}</view>
        <time-format format="YYYY-MM-DD HH:mm" value="{{item.showTime}}" />
      </view>
      <view wx:if="{{item.status==='1'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===1}}" class="list-content-flex margin-top">
        <view class="list-content-title">纠纷类型:</view>
        <view class="list-content-value">{{item.name3}}</view>
        <view class="list-content-value">{{item.caseTypeName}}</view>
      </view>
      <view wx:if="{{item.status==='2'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===2}}" class="list-content-flex margin-top">
        <view class="list-content-title">受理时间:</view>
        <view class="list-content-value">{{item.name4}}</view>
        <time-format format="YYYY-MM-DD HH:mm" value="{{item.showTime}}" />
      </view>
      <view wx:if="{{item.status==='2'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===2}}" class="list-content-flex margin-top">
        <view class="list-content-title">承办部门:</view>
        <view class="list-content-value">{{item.name5}}</view>
        <view class="list-content-value">{{item.mediateUnitName}}</view>
      </view>
      <view wx:if="{{item.status==='3'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===3}}" class="list-content-flex margin-top">
        <view class="list-content-title">办结时间:</view>
        <view class="list-content-value">{{item.name6}}</view>
        <time-format format="YYYY-MM-DD HH:mm" value="{{item.showTime}}" />
      </view>
      <view wx:if="{{item.status==='3'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===3}}" class="list-content-flex margin-top">
        <view class="list-content-title">化解结果:</view>
        <view class="list-content-value {{item.name7==='1'? 'green':item.name7==='2'? 'red':''}}">{{item.name7_1}}</view>
        <view class="list-content-value {{item.mediResult==='22_00025-1'? 'green':item.mediResult==='22_00025-2'? 'red':''}}">{{item.mediResultName||'-'}}</view>
      </view>
      <view wx:if="{{item.status==='4'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===4}}" class="list-content-flex margin-top">
        <view class="list-content-title">评价时间:</view>
        <view class="list-content-value">{{item.name8}}</view>
        <time-format format="YYYY-MM-DD HH:mm" value="{{item.showTime}}" />
      </view>
      <view wx:if="{{item.status==='4'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===4}}" class="list-content-flex margin-top">
        <view class="list-content-title">评价人:</view>
        <view class="list-content-value">{{item.name9}}</view>
        <view class="list-content-value">{{item.evaluateUserName}}</view>
      </view>
      <view wx:if="{{item.status==='4'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===4}}" class="list-content-flex margin-top">
        <view class="list-content-title">评价等级:</view>
        <view class="list-content-value">
          <van-rate value="{{item.name10}}" size="{{ 18 }}" count="5" color="#ffd21e" void-icon="star" void-color="#C9CDD4" bind:change="onChange" />
          <van-rate value="{{item.evaluateGrade}}" size="{{ 18 }}" count="5" color="#ffd21e" void-icon="star" void-color="#C9CDD4" bind:change="onChange" />
        </view>
      </view>
      <view wx:if="{{item.status==='4'}}" class="list-content-flex margin-top">
      <view wx:if="{{item.processStep===4}}" class="list-content-flex margin-top">
        <view class="list-content-title">评语:</view>
        <view class="list-content-value">{{item.name11}}</view>
        <view class="list-content-value">{{item.evaluateRemark}}</view>
      </view>
    </view>
  </view>
gz-wxparty/pages/myRegisterFlow/index.wxss
@@ -9,11 +9,19 @@
}
.icon {
  width: 15px;
  height: 15px;
  width: 36rpx;
  height: 36rpx;
  background: #e8f3ff;
  border-radius: 50%;
  padding: 6rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12rpx;
}
.icon-image {
  width: 24rpx;
  height: 24rpx;
}
.line {
gz-wxparty/pages/myRegisterList/index.js
@@ -12,6 +12,17 @@
  })
}
function getfilesApi(param) {
  return $$.request({
    url: 'fileInfo/listByMainIdAndType',
    type: 'get',
    submitData: param || {},
    service: 'sys'
  })
}
Page({
  /**
@@ -19,6 +30,7 @@
   */
  data: {
    imgUrl: $$.url.img,
    fileUrl: $$.baseUrl + $$.url.fileShowUrl,
    search: {
      page: 1,
      size: 10,
@@ -134,7 +146,9 @@
          ...i,
          plaintiffNames: i.plaintiffList.length > 0 ? i.plaintiffList.map(i => i.trueName).join('、') : '-',
          defendantNames: i.defendantList.length > 0 ? i.defendantList.map(i => i.trueName).join('、') : '-',
          show: index === 0 ? true : false
          show: index === 0 ? true : false,
          newAgreeContent: i.agreeContent ? i.agreeContent?.length > 75 ? i.agreeContent.slice(0, 75) + '...' : i.agreeContent : '',
          agreeContentShow: i.agreeContent?.length > 75 ? true : false,
        })),
        total: res.data.totalElements || 0
      });
@@ -159,6 +173,51 @@
    })
  },
  // 展示协议要点
  agreeContentClick(e) {
    let item = e.currentTarget.dataset.item;
    this.setData({
      showData: {
        visible: true,
        title: item.agreeContent
      }
    })
  },
  // 关闭协议要点
  agreeContentClosePopup(e) {
    this.setData({
      showData: {
        visible: false,
        title: ''
      }
    })
  },
  // 查看协议文书
  async agreeClick(e) {
    let item = e.currentTarget.dataset.item;
    $$.showLoading();
    const res = await getfilesApi({
      mainId: item.id,
      ownerType: '22_00018-302',
    });
    $$.hideLoading();
    if (res.type) {
      let data = res.data || [];
      if (data?.length === 0) {
        $$.showToast({
          title: '暂无协议文书',
          duration: 1000
        });
      }
      wx.previewImage({
        current: `${this.data.fileUrl}${data[0].showUrl}`,
        urls: data.map(item => `${this.data.fileUrl}${item.showUrl}`) // 需要预览的图片http链接列表
      });
    }
  },
  // 评价
  evaluate(e) {
    let id = e.currentTarget.dataset.id;
@@ -177,8 +236,7 @@
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
  },
  onLoad(options) {},
  onShow() {
    this.pageQuery(this.data.search)
gz-wxparty/pages/myRegisterList/index.wxml
@@ -40,14 +40,22 @@
      <view class="list-content-title">被申请方</view>
      <view class="list-content-value">{{item.defendantNames}}</view>
    </view>
    <view wx:if="{{item.processStatus>1}}" class="list-content-flex margin-top">
    <view wx:if="{{item.processStatus===2||item.processStatus===3}}" class="list-content-flex margin-top">
      <view class="list-content-title">承办部门</view>
      <view class="list-content-value">{{item.mediateDeptName||'-'}}</view>
    </view>
    <view wx:if="{{item.processStatus>2}}" class="list-content-flex margin-top">
    <view wx:if="{{item.processStatus===3}}" class="list-content-flex margin-top">
      <view class="list-content-title">化解结果</view>
      <view wx:if="{{item.mediResult===1}}" class="list-content-value green-title">{{item.mediResultName||'-'}}</view>
      <view wx:if="{{item.mediResult===2}}" class="list-content-value red-title">{{item.mediResultName||'-'}}</view>
      <view wx:if="{{item.mediResult==='22_00025-1'}}" class="list-content-value green-title">{{item.mediResultName||'-'}}</view>
      <view wx:if="{{item.mediResult==='22_00025-2'}}" class="list-content-value red-title">{{item.mediResultName||'-'}}</view>
    </view>
    <view wx:if="{{item.agreeType==='24_00003-1'}}" class="list-content-flex margin-top">
      <view class="list-content-title">协议要点</view>
      <view wx:if="{{item.agreeContentShow}}" class="list-content-value">{{item.newAgreeContent||'-'}}<text bindtap="agreeContentClick" data-item="{{item}}" class="public-color">更多</text></view>
    </view>
    <view wx:if="{{item.agreeType==='24_00003-2'}}" class="list-content-flex margin-top">
      <view class="list-content-title">协议文书</view>
      <view bindtap="agreeClick" data-item="{{item}}" class="list-content-value list-detail-r">查看</view>
    </view>
    <view class="list-border"></view>
    <view class="list-detail" bindtap="GoPage" data-url="{{'../../pages/myRegisterDetail/index?id='+item.id}}">
@@ -64,7 +72,7 @@
      </view>
      <view class="list-detail-r">查看</view>
    </view>
    <view wx:if="{{item.processStatus>1}}" bindtap="GoPage" data-url="../../pages/myRegisterFlow/index" class="list-detail">
    <view wx:if="{{item.processStatus>1}}" bindtap="GoPage" data-url="{{'../../pages/myRegisterFlow/index?caseId='+item.id}}" class="list-detail">
      <view class="list-detail-l">
        <van-icon size='16' name="{{imgUrl}}myRegisterList_3.png" />
        <view class="list-detail-title">办理流程</view>
@@ -94,4 +102,17 @@
      <van-icon wx:if="{{item.hover}}" size='15' name="{{imgUrl}}myRegisterList_5.png" />
    </view>
  </view>
</view>
<van-overlay show="{{ showData.visible }}" bind:click="agreeContentClosePopup">
</van-overlay>
<view wx:if="{{ showData.visible }}" class="showData-title">
  <view class="showData-title-view">
    <view class="showData-title-label">协议要点</view>
    <view>{{showData.title}}</view>
  </view>
  <view class="">
  </view>
</view>
gz-wxparty/pages/myRegisterList/index.wxss
@@ -157,4 +157,23 @@
.one-add-person-tip .van-popup--center {
  top: 198rpx !important;
}
.showData-title {
  background-color: #fff;
  position: absolute;
  min-height: 538rpx;
  bottom: 0rpx;
  width: 100%;
  z-index: 991;
}
.showData-title-view {
  padding: 40rpx 32rpx;
}
.showData-title-label {
  font-size: 34rpx;
  line-height: 50rpx;
  margin-bottom: 24rpx;
}
gz-wxparty/pages/register/index.js
@@ -485,8 +485,10 @@
  //选择纠纷类型 、跳转事项概况语音描述,跳转事项申请语音描述
  caseTypeGoPage(e) {
    let url = e.currentTarget.dataset.url;
    let type = e.currentTarget.dataset.type;
    let value = e.currentTarget.dataset.value;
    wx.navigateTo({
      url: url,
      url: url + '?type=' + type + '&value=' + value,
    });
  },
@@ -526,9 +528,9 @@
              that.setData({
                submitData: {
                  ...that.data.submitData,
                  [key]: that.data.submitData.caseDes + wordsResult
                  [key]: that.data.submitData[key] + wordsResult
                },
                [keyNum]: (that.data.submitData.caseDes + wordsResult).length
                [keyNum]: (that.data.submitData[keyNum] + wordsResult).length
              });
            }
          },
gz-wxparty/pages/register/index.json
@@ -3,8 +3,6 @@
  "usingComponents": {
    "steps": "../../components/steps/index",
    "mediate-detail": "../../components/mediate-detail/index",
    "recording": "../../components/recording/index",
    "textarea": "../../components/textarea/index",
    "ellipsis-text": "../../components/ellipsis-text/index"
  }
}
gz-wxparty/pages/register/index.wxml
@@ -127,7 +127,7 @@
                <image src="{{imgUrl}}imgOcr.png" mode="" />识别图片
              </view>
              <view style="padding: 0 8rpx;">|</view>
              <view bindtap="caseTypeGoPage" data-url="../../pages/speechToText/index?type=caseDes" class="textarea-img">
              <view bindtap="caseTypeGoPage" data-type="caseDes" data-value="{{submitData.caseDes}}" data-url="../../pages/speechToText/index" class="textarea-img">
                <image src="{{imgUrl}}voiceOcr.png" mode="" />语音描述
              </view>
            </view>
@@ -146,7 +146,7 @@
                <image src="{{imgUrl}}imgOcr.png" mode="" />识别图片
              </view>
              <view style="padding: 0 8rpx;">|</view>
              <view bindtap="caseTypeGoPage" data-url="../../pages/speechToText/index?type=caseClaim" class="textarea-img">
              <view bindtap="caseTypeGoPage" data-type="caseClaim" data-value="{{submitData.caseClaim}}" data-url="../../pages/speechToText/index" class="textarea-img">
                <image src="{{imgUrl}}voiceOcr.png" mode="" />语音描述
              </view>
            </view>
gz-wxparty/pages/speechToText/index.js
@@ -166,11 +166,14 @@
   */
  onLoad(options) {
    let {
      type
      type,
      value
    } = options
    console.log('type', type);
    this.setData({
      key: type
      key: type,
      value,
      number: value?.length || 0,
    })
    wx.getSetting({
      success(res) {
gz-wxparty/utils/util.js
@@ -194,6 +194,7 @@
  });
};
// 超出文字使用省略号
const ellipsis = ({
  value,
  len