细节修改

main
zsk 2 years ago
parent ec81602e44
commit 5058d7d35c

@ -997,9 +997,9 @@ let data = {
console.log(window.location.href); console.log(window.location.href);
} else { } else {
if (window.location.origin.indexOf('www') > -1) { if (window.location.origin.indexOf('www') > -1) {
window.location.href = 'http://www.ibocai.cn/#/' + url; window.location.href = 'https://a.matripe.com.cn/stock/index.html#/' + url;
} else { } else {
window.location.href = 'http://ibocai.cn/#/' + url window.location.href = 'https://a.matripe.com.cn/stock/index.html#/' + url
} }
}; };
} else if (url == "boundtel") {// 前台特殊处理 } else if (url == "boundtel") {// 前台特殊处理

@ -91,16 +91,7 @@ service.interceptors.response.use(
if (response.data.code === 200) { if (response.data.code === 200) {
return response.data; return response.data;
} else { } else {
if (response.config.url == "/yishoudan/agency/getCreatorTel") { message.error(response.data.message);
return {
data: {
tel: 1,
telEncrypt: 1
}
};
} else {
message.error(response.data.msg);
}
return Promise.reject(new Error(msg)); return Promise.reject(new Error(msg));
} }
} else { } else {

@ -8,7 +8,7 @@
</div> </div>
</div> </div>
<div> <div>
<a-button type="primary" @click="openAdd" :icon="h(PlusOutlined)">导入用户</a-button> <a-button type="primary" @click="openAdd" :icon="h(PlusOutlined)">新增用户</a-button>
<!-- <a-button type="" class="g_border_d g_ml_16" @click="handleToForm('add', { id: 0 })" :icon="h(DownloadOutlined)">导出模版</a-button> --> <!-- <a-button type="" class="g_border_d g_ml_16" @click="handleToForm('add', { id: 0 })" :icon="h(DownloadOutlined)">导出模版</a-button> -->
<!-- <!--
<a-dropdown :trigger="['click']"> <a-dropdown :trigger="['click']">
@ -212,6 +212,7 @@ const submitForm = ()=>{
if(modalInfo.value.id){ if(modalInfo.value.id){
delete params.password;
updateUserApi(params).then((res)=>{ updateUserApi(params).then((res)=>{
showAdd.value = false; showAdd.value = false;
message.success("修改成功"); message.success("修改成功");

@ -9,8 +9,8 @@
<img src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/ibocai/loginLogo.svg" style="width: 74px; text-align: center" alt /> <img src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/ibocai/loginLogo.svg" style="width: 74px; text-align: center" alt />
</div> </div>
<ul class="loginchange centerall g_flex_row_center g_mt_30 g_mb_24"> <ul class="loginchange centerall g_flex_row_center g_mt_30 g_mb_24">
<li class="g_pb_4 g_fs_14 g_fw_600 g_mr_52" :class="{ loginactive: loginType === 1 }" @click="loginType = 1">密码登录</li> <!-- <li class="g_pb_4 g_fs_14 g_fw_600 g_mr_52" :class="{ loginactive: loginType === 1 }" @click="loginType = 1">密码登录</li>
<li class="g_pb_4 g_fs_14 g_fw_600" :class="{ loginactive: loginType === 2 }" @click="loginType = 2">验证码登录</li> <li class="g_pb_4 g_fs_14 g_fw_600" :class="{ loginactive: loginType === 2 }" @click="loginType = 2">验证码登录</li> -->
</ul> </ul>
<a-form :model="loginInfo" @finish="submitInfo" @validate="watchValidate" hideRequiredMark :colon="false" @finishFailed="onFinishFailed" :label-col="{ span: 2 }" :wrapper-col="{ span: 20 }" autocomplete="off" ref="loginInfoForm" style> <a-form :model="loginInfo" @finish="submitInfo" @validate="watchValidate" hideRequiredMark :colon="false" @finishFailed="onFinishFailed" :label-col="{ span: 2 }" :wrapper-col="{ span: 20 }" autocomplete="off" ref="loginInfoForm" style>
<div v-if="loginType == 1"> <div v-if="loginType == 1">
@ -111,14 +111,13 @@ const loginInfo = ref({
}); });
const loginInfoForm = ref(); const loginInfoForm = ref();
const watchValidate = (e1) => { const watchValidate = (e1) => {
console.log(e1);
setTimeout(() => { // setTimeout(() => {
loginInfoForm.value.clearValidate(); // loginInfoForm.value.clearValidate();
}, 3000); // }, 3000);
}; };
const submitInfo = (e) => { const submitInfo = (e) => {
console.log(loginInfo.value.password);
let obj = e; let obj = e;
// if (loginType.value == 2) { // if (loginType.value == 2) {
// obj.loginType = 1; // obj.loginType = 1;

Loading…
Cancel
Save