| xqd
@@ -48,7 +48,7 @@
|
|
|
<view class="grid col-4 grid-square flex-sub">
|
|
|
<view class="bg-img" v-for="(item,index) in form.certificate" :key="index" :data-url="form.certificate[index]">
|
|
|
<image :src="imghost+form.certificate[index]" mode='aspectFill'></image>
|
|
|
- <view class="cu-tag bg-red" v-if="iscertificate" @click="certificateDelImg" :data-index="index">
|
|
|
+ <view class="cu-tag bg-red" v-if="iscertificate" @click="certificateDelImg" :data-index="index">
|
|
|
<text class="cuIcon-close"></text>
|
|
|
</view>
|
|
|
</view>
|
| xqd
@@ -157,7 +157,7 @@
|
|
|
</view>
|
|
|
|
|
|
<u-gap height="200" bg-color="#f0f2f5"></u-gap>
|
|
|
- <view class="bottomButton" @click="bc">提交</view>
|
|
|
+ <view class="bottomButton" @click="sendorg">提交</view>
|
|
|
<!-- <view class="bottomButton" @click="jxrz" style="background-color: #FFF;color: #0000FF;">继续认证</view> -->
|
|
|
</view>
|
|
|
|
| xqd
@@ -165,7 +165,7 @@
|
|
|
|
|
|
<script>
|
|
|
export default {
|
|
|
- components: {},
|
|
|
+ components: {},
|
|
|
onLoad() {
|
|
|
this.imghost = this.$imgHost
|
|
|
this.provinceconfirm()
|
| xqd
@@ -176,7 +176,7 @@
|
|
|
mounted() {},
|
|
|
data() {
|
|
|
return {
|
|
|
- delStatus:false,
|
|
|
+ delStatus: false,
|
|
|
action: 'https://t11.swdz.com/api/v2/Common/uploadFile',
|
|
|
//保存选择的列数
|
|
|
form: {
|
| xqd
@@ -523,6 +523,17 @@
|
|
|
// }
|
|
|
// },
|
|
|
// 保存
|
|
|
+ sendorg() {
|
|
|
+ uni.requestSubscribeMessage({
|
|
|
+ tmplIds: ['lgKBleXzoMzE-se2jBfU-_K6lZirBDyFp8rlzQhdOko'],
|
|
|
+ success: (res) => {
|
|
|
+ this.bc()
|
|
|
+ },
|
|
|
+ fail: (err) => {
|
|
|
+ this.bc()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
bc: async function() {
|
|
|
|
|
|
if (this.mechanismList[this.mechanismList.length - 1].preservation == false) {
|
| xqd
@@ -735,12 +746,14 @@
|
|
|
*
|
|
|
* */
|
|
|
delImg: async function(url) {
|
|
|
- this.delStatus= true
|
|
|
- console.log('删除图片','https://wechat.fresherbaby.com/'+url)
|
|
|
- let res = await this.$request.post('common/delFile', {"url":'https://wechat.fresherbaby.com/'+url});
|
|
|
- if(res.status==0){
|
|
|
+ this.delStatus = true
|
|
|
+ console.log('删除图片', 'https://wechat.fresherbaby.com/' + url)
|
|
|
+ let res = await this.$request.post('common/delFile', {
|
|
|
+ "url": 'https://wechat.fresherbaby.com/' + url
|
|
|
+ });
|
|
|
+ if (res.status == 0) {
|
|
|
uni.showToast({
|
|
|
- title:'删除成功'
|
|
|
+ title: '删除成功'
|
|
|
})
|
|
|
}
|
|
|
}
|