| | |
| | | <button class="op3" size="mini" plain @tap.stop="audit(item, 1)">反审核</button> |
| | | <button class="op3" size="mini" plain @tap.stop="fileUpload(item)">文件上传</button> |
| | | <button class="op3" size="mini" plain @tap.stop="getImage(item)">预览图片</button> |
| | | <!-- <button class="op3" size="mini" plain @tap.stop="Reject(item)">驳回</button> --> |
| | | <button class="op3" size="mini" plain @tap.stop="Reject(item)">驳回</button> |
| | | <button class="op5" size="mini" plain @tap.stop="operations = -1">取消操作</button> |
| | | </view> |
| | | </uni-card> |
| | |
| | | }) |
| | | if(mode==1){ |
| | | this.showDialog(item["hmainid"]); |
| | | }else{ |
| | | setTimeout(() => { |
| | | this.cmdSearch() |
| | | }, 2000) |
| | | } |
| | | this.$forceUpdate() |
| | | setTimeout(() => { |
| | | this.cmdSearch() |
| | | }, 2000) |
| | | |
| | | }else { |
| | | CommonUtils.showTips({ |
| | | title: '温馨提示', |
| | |
| | | |
| | | }, |
| | | //反审核提交意见 |
| | | showDialog(HInterID) { |
| | | async showDialog(HInterID) { |
| | | uni.showModal({ |
| | | title: '请提交反审核意见', |
| | | editable: true, |
| | | placeholderText: '请输入内容', |
| | | success: (result) => { |
| | | success: async (result) => { |
| | | if (result.confirm) { |
| | | try { |
| | | let res = CommonUtils.doRequest2Sync({ |
| | | let res = await CommonUtils.doRequest2Sync({ |
| | | url: '/LMES/AuditFlowOpinion', |
| | | data: { |
| | | "sWhere": result.content, |
| | |
| | | if (count > 0) { |
| | | uni.showToast({ |
| | | icon: 'none', |
| | | title: Message |
| | | title: "意见提交成功" |
| | | }) |
| | | |
| | | this.cmdSearch(); |
| | | } else { |
| | | uni.showToast({ |
| | | icon: 'none', |
| | |
| | | } = res.data |
| | | if (count > 0) { |
| | | if(data.length>0){ |
| | | |
| | | const imageUrl = res.data.data[0]["url"]; |
| | | //正则表达式获取服务器路径倒数第二个内容 |
| | | const regex = /^(.*\/)[^\/]+\/[^\/]*\/?$/; |