fix: BUG修改

This commit is contained in:
kun 2024-05-20 17:20:19 +08:00
parent 30e02139cf
commit e87430651b
3 changed files with 17 additions and 9 deletions

View File

@ -2,11 +2,11 @@
NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用)
VITE_API_URL = 'http://192.168.34.155:6688'
# VITE_API_URL = 'http://192.168.34.155:6688'
# VITE_API_URL = 'http://183.63.230.59:6090'
# VITE_API_URL = 'http://2xliv7gs.shenzhuo.vip:55296'
VITE_WPAPI_URL = "http://jxjzw.zhgdyun.com:8081"
# VITE_API_URL = "http://jxjzw.zhgdyun.com:9013"
VITE_API_URL = "http://jxjzw.zhgdyun.com:9013"
# 上传
# VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

View File

@ -34,7 +34,7 @@
margin-bottom: 5px;
}
.el-tree-node__content:hover {
background: #09405f;
background: #0890b4;
color: #ffffff;
font-size: 20px;
}
@ -42,8 +42,9 @@
color: #c4c4c4;
}
.el-tree-node__children .el-tree-node__content:hover {
background: #09405f;
color: #0bc4f0;
background: #0890b4;
color: #ffffff;
// color: #0bc4f0;
font-size: 20px;
}
.el-tree-node__label {
@ -65,9 +66,10 @@
}
:deep(.el-tree--highlight-current) {
.el-tree-node.is-current > .el-tree-node__content {
background-color: #09405f;
background: #0890b4;
.el-tree-node__label {
color: #0bc4f0;
// color: #0bc4f0;
color: #fff;
font-size: 20px;
}
.is-leaf {

View File

@ -169,8 +169,9 @@
<el-button
class="btnStyle"
type="primary"
@click="copyBool = true"
v-copy="
`https://hyjgxt.cn:6090/cockpit/#/login&nbsp;&nbsp;&nbsp;${ruleForm.phone}&nbsp;&nbsp;&nbsp;${ruleForm.password}`
`地址:https://hyjgxt.cn:6090/cockpit/#/login&nbsp;&nbsp;&nbsp;账号:${ruleForm.account}&nbsp;&nbsp;&nbsp;手机号:${ruleForm.phone}&nbsp;&nbsp;&nbsp;密码:${ruleForm.password}`
"
> </el-button
>
@ -212,6 +213,7 @@ const showIsAuthority = ref(false);
const isOpen = ref(false);
const governNameList = ref([]);
const baseUrl = import.meta.env.VITE_API_URL;
const copyBool = ref(false);
const filelist = ref([]);
const ruleForm = ref({
enterpriseName: "",
@ -427,6 +429,10 @@ const rules = ref<FormRules>({
});
const confirmSubmit = (ruleFormRef: FormInstance | undefined) => {
if (!ruleFormRef) return;
if (!copyBool.value) {
ElMessage.error("请先复制账号密码以及手机号和登录地址");
return;
}
ruleFormRef.validate(async (valid, fields) => {
if (valid) {
ruleForm.value.enterpriseMains = [
@ -552,7 +558,7 @@ onMounted(() => {
position: relative;
}
.copy-content-box {
border: 2px solid #087ba4;
border: 2px solid #5181f6;
border-radius: 4px;
padding: 11px 11px 5px 11px;
margin-bottom: 20px;