1 files added
21 files modified
| | |
| | | height: 100vh; |
| | | } |
| | | .table-vaule1{ |
| | | width: 10%; |
| | | width: 25%; |
| | | } |
| | | .table-vaule2 { |
| | | width: 50%; |
| | | color: #000; |
| | | } |
| | | .table-vaule3{ |
| | | width: 10%; |
| | | width: 25%; |
| | | } |
| | | .table-vaule4 { |
| | | color: #000; |
| | |
| | | |
| | | // export const base = 'http://xnwj.gznsjc.gov.cn'; |
| | | // export const base = 'http://1p885086k1.iok.la'; |
| | | |
| | | //export const base = 'http://120.79.193.119:9021/'; |
| | | export const base = 'http://localhost:6060'; |
| | | |
| | | export const domain = base + '/nsjc-charge/'; |
New file |
| | |
| | | import fetch from './_fetch'; |
| | | import { message } from 'antd'; |
| | | export default (id) => fetch(`api/entry/delete?id=${id}`) |
| | | .catch( |
| | | error => message.error('详情加载失败,请联系管理员', 2) |
| | | ); |
| | |
| | | import searchLawDelete from './searchLawDelete'; |
| | | import questionFindPersonById from './questionFindPersonById'; |
| | | import getAnswer from './getAnswer'; |
| | | import entryDelete from './entryDelete'; |
| | | |
| | | export default { |
| | | domain, |
| | |
| | | searchLawSave, |
| | | searchLawDelete, |
| | | questionFindPersonById, |
| | | getAnswer |
| | | getAnswer, |
| | | entryDelete |
| | | }; |
| | |
| | | import fetch from './_fetch'; |
| | | import { message } from 'antd'; |
| | | export default ({ page, size, status }) => |
| | | fetch(`api/question/query?size=${size}&page=${page}&status=${status||''}`) |
| | | export default ({ page, size, status ,title}) => |
| | | fetch(`api/question/query?size=${size}&page=${page}&status=${status||''}&title=${title || ''}`) |
| | | .then(json => json) |
| | | .catch(error => message.error('详情加载失败,请联系管理员', 2)); |
| | |
| | | })) |
| | | } |
| | | |
| | | selectonClick = () => { |
| | | selectonClick = (value) => { |
| | | this.setState({ |
| | | questionnaireModal: true, |
| | | modalLoading: true |
| | | }) |
| | | Fetch.questionQuery({ |
| | | status: 3, |
| | | title : value, |
| | | page: this.state.page, |
| | | size: this.state.pageSize, |
| | | }) |
| | |
| | | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | selClick = () =>{ |
| | | this.selectonClick(""); |
| | | } |
| | | |
| | | selectCancelModel = () => { |
| | |
| | | ) |
| | | }]; |
| | | const questionnaireColumns = [{ |
| | | title: '主题', |
| | | title: '问卷标题', |
| | | dataIndex: 'title', |
| | | key: 'title', |
| | | ellipsis: true, |
| | |
| | | <Button type="link" onClick={this.questionnaireCancle}>查看</Button> |
| | | <Button type="link" onClick={this.questionnaireDel}>删除</Button> |
| | | </div> : |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selectonClick}>请选择</Button> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selClick}>请选择</Button> |
| | | } |
| | | </Col> |
| | | </Row> |
| | |
| | | <Button type="link" onClick={this.questionnaireCancle}>查看</Button> |
| | | <Button type="link" disabled onClick={this.questionnaireDel}>删除</Button> |
| | | </div> : |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selectonClick}>请选择</Button> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.selClick}>请选择</Button> |
| | | } |
| | | </Col> |
| | | </Row> |
| | |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> |
| | | </div> |
| | | ) |
| | | ) : '123' |
| | | ) : '' |
| | | } |
| | | |
| | | </BusDetailView> |
| | |
| | | enterButton="查询" |
| | | size="large" |
| | | style={{ margin: '12px' }} |
| | | onSearch={value => this.questionnaireSearch(value)} |
| | | onSearch={value => this.selectonClick(value)} |
| | | /> |
| | | |
| | | <Table |
| | |
| | | } |
| | | |
| | | confirm = (e) => { |
| | | console.log(e); |
| | | this.setState({ loading: true }) |
| | | Fetch.socialDelete(e).then(res => { |
| | | if (res.code == 0) { |
| | | Fetch.entryDelete(e).then(res => { |
| | | if (res.statuscode == 1) { |
| | | console.log(res) |
| | | this.setState({ loading: false }) |
| | | message.success('删除成功'); |
| | |
| | | <React.Fragment> |
| | | <Divider type="vertical" /> |
| | | <Popconfirm |
| | | title="确认删除任务吗?" |
| | | title="确认删除申请吗?" |
| | | id={record.id} |
| | | onConfirm={e => this.confirm(record.id)} |
| | | okText="确定" |
| | |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td>审批结论</td> |
| | | <td>审批意见</td> |
| | | <td> |
| | | <TextArea |
| | | placeholder="请输入审批意见及理由" |
| | |
| | | loading: false |
| | | }) |
| | | }) |
| | | |
| | | } |
| | | |
| | | onDetail = (_text, _record) => { |
| | |
| | | onDel = (_text, _record) => { |
| | | Fetch.businessDel({ businessId: _text.businessId }).then(res => { |
| | | if (res.code == 0) { |
| | | message.warning('正在更新列表'); |
| | | message.success('删除成功'); |
| | | this.onTableChange(); |
| | | } |
| | | }, err => { |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | ] |
| | | const activityStatusIds = { |
| | | 0: '未开始', |
| | |
| | | } |
| | | |
| | | const activityStatusList = [ |
| | | 0, |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 2 |
| | | ] |
| | | export default class CareList extends React.Component { |
| | | constructor(props) { |
| | |
| | | <div style={{ marginLeft: '90%', marginBottom: '20px', marginTop: '20px' }}> |
| | | <Button type="primary" size='large' onClick={() => this.showModal('new')}>新建任务</Button> |
| | | </div> |
| | | {/* <Breadcrumb style={{ padding: '20px' }}> |
| | | <Breadcrumb style={{ padding: '20px' }}> |
| | | <Breadcrumb.Item><a href="">后台中心</a></Breadcrumb.Item> |
| | | <Breadcrumb.Item>社会关护</Breadcrumb.Item> |
| | | </Breadcrumb> */} |
| | | </Breadcrumb> |
| | | <div style={{ background: '#fff', margin: 20 }}> |
| | | <CommonSearchForm |
| | | {...this.props} |
| | |
| | | </Breadcrumb> |
| | | <TableBtnView name={''} key={resetKey}> |
| | | <Input placeholder="根据姓名模糊查询" style={{ width: "200px" }} name='userName' onChange={this.onInputChange} /> |
| | | <Input placeholder="根据电话号码模糊查询" style={{ width: "200px" }} name='mobile' onChange={this.onInputChange} /> |
| | | <Input placeholder="根据联系方式模糊查询" style={{ width: "200px" }} name='mobile' onChange={this.onInputChange} /> |
| | | <Input placeholder="根据拍摄地址模糊查询" style={{ width: "200px" }} name='address' onChange={this.onInputChange} /> |
| | | <Select |
| | | style={{ width: 200 }} |
| | |
| | | <Option value="2">涉黑涉恶违法犯罪保护伞</Option> |
| | | <Option value="3">其他</Option> |
| | | </Select> |
| | | <Input placeholder="根据内容模糊查询" style={{ width: "200px" }} name='content' onChange={this.onInputChange} /> |
| | | <Input placeholder="根据举报说明模糊查询" style={{ width: "200px" }} name='content' onChange={this.onInputChange} /> |
| | | <Select |
| | | style={{ width: 200 }} |
| | | placeholder="根据状态查询" |
| | |
| | | handleOk = () => { |
| | | this.setState({ loading: true }); |
| | | const { savedate } = this.state; |
| | | if (!savedate.companyName) { |
| | | this.setState({ |
| | | loading: false |
| | | }); |
| | | return message.warning("公司名称不能为空"); |
| | | } |
| | | if (savedate.companyTel) { |
| | | if (!validator.mobile(savedate.companyTel)) { |
| | | this.setState({ |
| | |
| | | }); |
| | | return message.warning("电话号码格式不正确"); |
| | | } |
| | | }else{ |
| | | this.setState({ |
| | | loading: false |
| | | }); |
| | | return message.warning("电话号码为空"); |
| | | } |
| | | if (!savedate.companyAccount) { |
| | | this.setState({ |
| | | loading: false |
| | | }); |
| | | return message.warning("账号不能为空"); |
| | | } |
| | | if (!savedate.companyPassword) { |
| | | this.setState({ |
| | | loading: false |
| | | }); |
| | | return message.warning("密码不能为控"); |
| | | } |
| | | Fetch.socialCompanySave(savedate) |
| | |
| | | globalData: { |
| | | userInfo: null, |
| | | pageData: {}, |
| | | // url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | url: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | // url: 'http://1p885086k1.iok.la/nsjc-charge', |
| | | // url: 'http://localhost:6060/nsjc-charge', |
| | | //url: 'http://localhost:6060/nsjc-charge', |
| | | imgUrl: 'https://nsjcy.hugeinfo.com.cn/nsjc-charge', |
| | | url: 'http://nsjc.vaiwan.com/nsjc-charge', |
| | | //url: 'http://nsjc.vaiwan.com/nsjc-charge', |
| | | // imgUrl: 'http://nsjc.vaiwan.com/nsjc-charge' |
| | | }, |
| | | // 过滤数组 |
| | |
| | | font-size: 14px; |
| | | color: #333; |
| | | margin-right: auto; |
| | | width: 20%; |
| | | width: 25%; |
| | | } |
| | | |
| | | .agentInfo-main span:nth-child(3) { |
| | |
| | | scanEvildoing: function (e) { |
| | | var name = this.data.name; |
| | | if (name == '公益随手拍') { |
| | | wx.navigateTo({ |
| | | url: '../video/video', |
| | | }) |
| | | app.getPermission( '../video/video') |
| | | } else { |
| | | wx.navigateTo({ |
| | | url: '../scanEvildoing/scanEvildoing?id=new', |
| | |
| | | }else if (id ==5) { |
| | | this.setData({ |
| | | numberArray: [{ |
| | | nav: "控申业务流程", time: "发布时间: 2018-06-21", |
| | | text: [{ img:"http://www.gzns.gov.cn/nsjcy/newygjw/bszn/201806/W020180622729218592008.png"}, |
| | | { img: "http://www.gzns.gov.cn/nsjcy/newygjw/bszn/201806/W020180622729218605904.png" }, |
| | | { img: "http://www.gzns.gov.cn/nsjcy/newygjw/bszn/201806/W020180622729218606806.png" }, |
| | | { img: "http://www.gzns.gov.cn/nsjcy/newygjw/bszn/201806/W020180622729218618091.png" }, |
| | | nav: "控申业务流程", time: "发布时间: 2019-06-21", |
| | | text: [{ img:"http://nsjcy.hugeinfo.com.cn/nsjc-charge/image/zn/1.png"}, |
| | | { img: "http://nsjcy.hugeinfo.com.cn/nsjc-charge/image/zn/2.png" }, |
| | | { img: "http://nsjcy.hugeinfo.com.cn/nsjc-charge/image/zn/3.png" }, |
| | | { img: "http://nsjcy.hugeinfo.com.cn/nsjc-charge/image/zn/4.png" }, |
| | | ] |
| | | }] |
| | | }) |
| | |
| | | } |
| | | const { |
| | | evalList1001, |
| | | evalList1002, |
| | | evalList1003, |
| | | evalList1004, |
| | | evalList1014 |
| | | } = this.data.evalList; |
| | | if (evalList1001.length == 0) { |
| | | return app.showModal("请上传申请人身份证正反面!"); |
| | | |
| | | if (caseQuery.relation == 1 || caseQuery.relation == 2) { |
| | | if (evalList1002.length == 0) { |
| | | return app.showModal("请上传律师证!"); |
| | | } |
| | | if (evalList1003.length == 0) { |
| | | return app.showModal("请上传律师所函!"); |
| | | } |
| | | if (evalList1004.length == 0) { |
| | | return app.showModal("请上传授权委托书(或法律援助公函)!"); |
| | | } |
| | | } |
| | | if (evalList1001.length < 2) { |
| | | return app.showModal("请至少上传两张身份证附件!") |
| | | } |
| | | if (evalList1014.length == 0) { |
| | | return app.showModal("请上传关系证明!"); |
| | | |
| | | if (caseQuery.relation == 3){ |
| | | if (evalList1001.length == 0) { |
| | | return app.showModal("请上传申请人身份证正反面!"); |
| | | } |
| | | if (evalList1001.length < 2) { |
| | | return app.showModal("请至少上传两张身份证附件!") |
| | | } |
| | | if (evalList1014.length == 0) { |
| | | return app.showModal("请上传关系证明!"); |
| | | } |
| | | } |
| | | } |
| | | var that = this; |
| | |
| | | if (!verify.email(picturesInfo.mobile)) { |
| | | return app.showModal("电子邮箱格式不正确!") |
| | | } |
| | | } else { |
| | | if(!verify.length < 5 ){ |
| | | return app.showModal("QQ号码长度最少5位!") |
| | | } |
| | | } |
| | | } |
| | | if (!picturesInfo.address) { |
| | |
| | | </picker> |
| | | <image class="publicSnapshot-main-img" src="{{user}}"></image> |
| | | </div> |
| | | <input data-name="mobile" bindinput="inputChange" disabled="{{disabled}}" value='{{picturesInfo.mobile}}'></input> |
| | | <input data-name="mobile" bindinput="inputChange" disabled="{{disabled}}" value='{{picturesInfo.mobile}}' style="width:100%"></input> |
| | | </div> |
| | | <div class="publicSnapshot-main"> |
| | | <span class="red-title"></span> |
| | |
| | | if (!scanData.content) { |
| | | return app.showModal("请填写举报事项!"); |
| | | } |
| | | |
| | | const { |
| | | evalList1017, |
| | | evalList1001 |
| | |
| | | if (evalList1017.length == 0) { |
| | | return app.showModal("请上传相关材料/照片!"); |
| | | } |
| | | debugger; |
| | | if (that.data.switch) { |
| | | scanData.isRealName = 1; |
| | | var peopleInfo = that.data.peopleInfo; |
| | |
| | | } |
| | | if (!peopleInfo.mobile) { |
| | | return app.showModal("请填写联系方式!"); |
| | | } else { |
| | | if (!verify.phone(peopleInfo.mobile)) { |
| | | return app.showModal("手机号码格式不正确!") |
| | | } |
| | | } |
| | | if (!peopleInfo.address) { |
| | | return app.showModal("请填写住所!"); |
| | | } |
| | | if (!peopleInfo.cardNo) { |
| | | return app.showModal("请填写身份证号码!"); |
| | | } else { |
| | | if (!verify.carIdNumber(peopleInfo.cardNo)) { |
| | | return app.showModal("身份证格式不正确!") |
| | | } |
| | | } |
| | | } else { |
| | | if (!verify.phone(peopleInfo.mobile)) { |
| | | return app.showModal("手机号码格式不正确!") |
| | | } |
| | | if (!verify.carIdNumber(peopleInfo.cardNo)) { |
| | | return app.showModal("身份证格式不正确!") |
| | | } |
| | | if (evalList1001.length < 2) { |
| | | return app.showModal("请至少上传两张身份证附件!") |
| | | } |
| | |
| | | |
| | | <div class="video-item"> |
| | | <div class="video-four"> |
| | | <image class="video-win" src="{{img4}}" bindtap='publicSnapshot' data-type="{{3}}"></image> |
| | | <image class="video-win" src="{{img4}}" bindtap='publicSnapshot' data-type="{{4}}"></image> |
| | | </div> |
| | | <div class="video-four"> |
| | | <image class="video-win" src="{{img5}}" bindtap='publicSnapshot' data-type="{{4}}"></image> |
| | | <image class="video-win" src="{{img5}}" bindtap='publicSnapshot' data-type="{{3}}"></image> |
| | | </div> |
| | | </div> |
| | | </div> |