|
|
@@ -216,6 +216,15 @@
|
|
|
<el-dialog v-model="dialogVisible" :title="$t('personalCenter.editProfile')" width="784" :destroy-on-close="true">
|
|
|
<el-form ref="userFormRef" :model="userInfo" label-width="auto" label-position="top" :rules="rules">
|
|
|
<el-row :gutter="16">
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item :label="$t('personalCenter.nickName')" prop="nickName">
|
|
|
+ <el-input v-model="userInfo.nickName" :placeholder="$t('personalCenter.pinickName')" class="inputStyle"
|
|
|
+ :input-style="{
|
|
|
+ backgroundColor: 'transparent',
|
|
|
+ }" maxlength="15" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t('personalCenter.uploadAvatar')">
|
|
|
<!-- 图片类型 -->
|
|
|
@@ -224,17 +233,6 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item :label="$t('personalCenter.nickName')" prop="nickName">
|
|
|
- <el-input v-model="userInfo.nickName" :placeholder="$t('personalCenter.pinickName')" class="inputStyle"
|
|
|
- :input-style="{
|
|
|
- backgroundColor: 'transparent',
|
|
|
- }" />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- </el-row>
|
|
|
<el-row :gutter="16">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t('personalCenter.loginPhone')">
|
|
|
@@ -289,7 +287,7 @@
|
|
|
<el-row :gutter="16">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t('personalCenter.n8nAccout')">
|
|
|
- <el-input readonly v-model="userInfo.n8nAccount" :placeholder="$t('personalCenter.createN8n')"
|
|
|
+ <el-input disabled v-model="userInfo.n8nAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' : 'personalCenter.createN8n')"
|
|
|
class="inputStyle" :input-style="{
|
|
|
backgroundColor: 'transparent',
|
|
|
}">
|
|
|
@@ -314,7 +312,7 @@
|
|
|
<el-row :gutter="16">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t('personalCenter.cozeAccout')">
|
|
|
- <el-input readonly v-model="userInfo.cozeAccount" :placeholder="$t('personalCenter.createCoze')"
|
|
|
+ <el-input disabled v-model="userInfo.cozeAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' :'personalCenter.createCoze')"
|
|
|
class="inputStyle" :input-style="{
|
|
|
backgroundColor: 'transparent',
|
|
|
}">
|
|
|
@@ -340,7 +338,7 @@
|
|
|
<el-row :gutter="16">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t('personalCenter.difyAccout')">
|
|
|
- <el-input readonly v-model="userInfo.difyAccount" :placeholder="$t('personalCenter.createDify')"
|
|
|
+ <el-input disabled v-model="userInfo.difyAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' :'personalCenter.createDify')"
|
|
|
class="inputStyle" :input-style="{
|
|
|
backgroundColor: 'transparent',
|
|
|
}">
|
|
|
@@ -366,7 +364,7 @@
|
|
|
|
|
|
<el-col :span="12">
|
|
|
<el-form-item :label="$t('personalCenter.fastGptAccout')">
|
|
|
- <el-input readonly v-model="userInfo.fastGptAccount" :placeholder="$t('personalCenter.createFastGpt')"
|
|
|
+ <el-input disabled v-model="userInfo.fastGptAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' :'personalCenter.createFastGpt')"
|
|
|
class="inputStyle" :input-style="{
|
|
|
backgroundColor: 'transparent',
|
|
|
}">
|
|
|
@@ -398,7 +396,9 @@
|
|
|
{{ tag }}
|
|
|
</el-tag>
|
|
|
<el-input v-if="inputVisible" ref="InputRef" v-model="inputValue" class="w-20" size="small"
|
|
|
- @keyup.enter="handleInputConfirm" @blur="handleInputConfirm" maxlength="5">
|
|
|
+ @keyup.enter="handleInputConfirm" @blur="handleInputConfirm" maxlength="5" :placeholder="
|
|
|
+ $t('personalCenter.psrjnbq')
|
|
|
+ ">
|
|
|
<template #append>
|
|
|
<el-button :icon="Plus" />
|
|
|
</template></el-input>
|