lilei 2 年之前
父节点
当前提交
4e6d13fd64
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      pages/userCenter/index.vue

+ 7 - 7
pages/userCenter/index.vue

@@ -26,10 +26,10 @@
 				<u-cell-item  index="1" @click="toPage(4)" title="系统参数" v-if="$hasPermissions('M_ARStatement_mobile')">
 					<u-icon slot="icon" name="xitongcanshu-05" custom-prefix="iscm-icon" size="42" color="#00aaff"></u-icon>
 				</u-cell-item>
-				<u-cell-item icon="man-delete" icon-size="38" :icon-style="{color:'#00aaff'}" index="1" @click="closeAccount" title="注销账户"></u-cell-item>
 				<u-cell-item icon="reload" icon-size="35" :icon-style="{color:'#00aaff'}" index="1" @click="resetPrint" title="重置打印机"></u-cell-item>
 			</u-cell-group>
 			<u-cell-group>
+				<u-cell-item icon="man-delete" icon-size="38" :icon-style="{color:'#00aaff'}" index="1" @click="closeAccount" title="注销账户"></u-cell-item>
 				<!-- <u-cell-item icon="info-circle" icon-size="38" :icon-style="{color:'#00aaff'}" index="1" @click="toPage" title="关于我们"></u-cell-item> -->
 				<u-cell-item icon="level" icon-size="34" :icon-style="{color:'#00aaff'}" index="2" @click="toPage(2)" :value="curVer.version" title="版本检查"></u-cell-item>
 				<u-cell-item icon="file-text" icon-size="36" :icon-style="{color:'#00aaff'}" index="0" @click="toPage(0)" title="服务协议及隐私政策"></u-cell-item>
@@ -181,14 +181,14 @@
 				const _this = this;
 				clzConfirm({
 					title: '提示',
-					content: '如果您选择注销账户,您的账户信息将被全部清除,将无法使用iSCM系统。如果您确认注销,可提供注册账号,发送邮件到car_octopus@sina.com。1-3个工作日即可完成注销。',
+					content: '账户注销后将不能再使用iSCM系统,且您的所有相关数据将被删除,确定注销吗?',
 					success: function(res) {
 						if (res.confirm || res.index == 0) {
-							// logoff().then(ret => {
-							// 	if(ret.status == 200){
-							// 		_this.toLogin()
-							// 	}
-							// })
+							logoff().then(ret => {
+								if(ret.status == 200){
+									_this.toLogin()
+								}
+							})
 						}
 					}
 				});