Merge remote-tracking branch 'origin/StableVersion' into dev_vite

This commit is contained in:
X1627315083
2025-09-22 14:10:18 +08:00
22 changed files with 105 additions and 75 deletions

View File

@@ -50,10 +50,10 @@
<div v-if="!isEditEmail">{{ userDetail.email }}</div>
<input v-else type="text" :value="editEmail">
</div>
<div class="icon">
<!-- <div class="icon">
<i v-if="!isEditEmail" class="fi fi-rr-edit" @click="openEdit('email')"></i>
<i v-else class="fi fi-br-check" @click="editChek('email')"></i>
</div>
</div> -->
</div>
</div>
<div class="content_item_user_left_detail_bottom">

View File

@@ -28,7 +28,7 @@
optionFilterProp="label"
:options="countryList"
:field-names="{ label: locale == 'CHINESE_SIMPLIFIED'?'labelCn':'label' }"
placeholder="Please select"
:placeholder="`${$t('account.plaseSelect')} ${$t('account.Country')}`"
allowClear
show-search
></a-select>

View File

@@ -22,7 +22,7 @@
</a-range-picker>
</div>
<!-- <div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"

View File

@@ -77,10 +77,12 @@ import { PieChart } from 'echarts/charts';
import { LabelLayout } from 'echarts/features';
import { useStore } from "vuex";
import { CanvasRenderer } from 'echarts/renderers';
import { useI18n } from 'vue-i18n'
export default defineComponent({
components: {
},
setup() {
const {t} = useI18n()
const store:any = useStore()
let filter:any = reactive({
dataList:computed(()=>{
@@ -115,7 +117,7 @@ export default defineComponent({
let data:any = []
rv.names.forEach((item:any,index:number) => {
let obj = {
name : item,
name : t(`admin.${item}`),
value:rv.values[index],
}
data.push(obj)

View File

@@ -22,7 +22,7 @@
</a-range-picker>
</div>
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"
@@ -365,11 +365,11 @@ export default defineComponent({
ellipsis:true
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:150,
width:200,
ellipsis:true
},
{

View File

@@ -26,7 +26,7 @@
<a-select v-model:value="userType" size="large" style="width:250px" optionFilterProp="label" :options="state" placeholder="Please select" allowClear show-search></a-select>
</div> -->
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"
@@ -292,11 +292,11 @@ export default defineComponent({
},
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:100,
width:200,
},
{
title: "Create Date",

View File

@@ -92,7 +92,7 @@
/>
</div>
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<input
:disabled="title != 'Add'"
:class="{active:title != 'Add'}"

View File

@@ -150,11 +150,11 @@ export default defineComponent({
},
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:100,
width:200,
},
{
title: "Create Date",

View File

@@ -177,11 +177,11 @@ export default defineComponent({
},
},
{
title: "Country",
title: "Country or Region",
align: "center",
dataIndex: "country",
key: "country",
width:100,
width:200,
},
{
title: "Create Date",

View File

@@ -23,7 +23,7 @@
</a-range-picker>
</div>
<div class="admin_state_item">
<span>Country:</span>
<span>Country or Region:</span>
<a-select
v-model:value="country"
:allowClear="true"

View File

@@ -519,7 +519,7 @@ function showPanel(event) {
}
visible.value = true;
closePanel.value = true
// closePanel.value = true
isEditing.value = true;
// 初始化液化管理器并准备液化环境

View File

@@ -743,7 +743,7 @@ export default defineComponent({
data = data.filter((item:any) => item !== element.taskId);
console.log(data)
this.fileList = this.fileList.filter((item:any) => item.taskId !== element.taskId);
message.info(this.t('Generate.everyTimeEffectPoor'));
// message.info(this.t('Generate.everyTimeEffectPoor'));
}
});
if((data.length == 0)){

View File

@@ -608,30 +608,31 @@ export default defineComponent({
setImageIndex(index:any){
if(this.isNext)return
let this_ = this
if(this.imgType == 'Printboard' || this.imgType == 'Sketchboard'){
this.isNext = true
new Promise((resolve,reject)=>{
Modal.confirm({
title: this.t('scaleImage.submitCanvas'),
icon: createVNode(ExclamationCircleOutlined),
okText: 'Yes',
cancelText: 'No',
mask:false,
centered:true,
onOk() {
this_.scaleImageIndex = index
this_.isNext = false
resolve('')
},
onCancel(){
this_.isNext = false
resolve('')
}
});
})
}else{
this.scaleImageIndex = index
}
// if(this.imgType == 'Printboard' || this.imgType == 'Sketchboard'){
// this.isNext = true
// new Promise((resolve,reject)=>{
// Modal.confirm({
// title: this.t('scaleImage.submitCanvas'),
// icon: createVNode(ExclamationCircleOutlined),
// okText: 'Yes',
// cancelText: 'No',
// mask:false,
// centered:true,
// onOk() {
// this_.scaleImageIndex = index
// this_.isNext = false
// resolve('')
// },
// onCancel(){
// this_.isNext = false
// resolve('')
// }
// });
// })
// }else{
// this.scaleImageIndex = index
// }
this.scaleImageIndex = index
},
LikeFile(item:any,str:string){
let parent:any = this.$parent

View File

@@ -105,7 +105,7 @@
<span>
I agree to the
<a href="https://code-create.com.hk/aida-terms-and-conditions/" style="text-decoration: underline;color: #000;">Terms</a>,
<a href="aida.com.hk/privacy-policy.html" target="_blank" style="text-decoration: underline;color: #000;">Privacy Policy</a>,
<a href="https://aida.com.hk/privacy-policy.html" target="_blank" style="text-decoration: underline;color: #000;">Privacy Policy</a>,
and Fees.
</span>
</label>

View File

@@ -88,7 +88,7 @@
<span>
I agree to the
<a href="https://code-create.com.hk/aida-terms-and-conditions/" style="text-decoration: underline;color: #000;">Terms</a>,
<a href="aida.com.hk/privacy-policy.html" target="_blank" style="text-decoration: underline;color: #000;">Privacy Policy</a>,
<a href="https://aida.com.hk/privacy-policy.html" target="_blank" style="text-decoration: underline;color: #000;">Privacy Policy</a>,
and Fees.
</span>
</label>

View File

@@ -109,7 +109,7 @@
<span>
I agree to the
<a href="https://code-create.com.hk/aida-terms-and-conditions/" style="text-decoration: underline;color: #000;">Terms</a>,
<a href="aida.com.hk/privacy-policy.html" target="_blank" style="text-decoration: underline;color: #000;">Privacy Policy</a>,
<a href="https://aida.com.hk/privacy-policy.html" target="_blank" style="text-decoration: underline;color: #000;">Privacy Policy</a>,
and Fees.
</span>
</label>

View File

@@ -441,6 +441,8 @@ export default defineComponent({
if(userDetail.value.systemList.indexOf(1) == -1){
return message.info(t('newScaleImage.jsContent1'))
}
return message.info(t('newScaleImage.jsContent2'))
if(imgData.scaleImageData.openSource == 0){
return message.info(t('newScaleImage.jsContent2'))
}

View File

@@ -812,31 +812,32 @@ methods: {
},
setImageIndex(index:any){
if(this.isNext)return
let this_ = this
if(this.isCanvas){
this.isNext = true
new Promise((resolve,reject)=>{
Modal.confirm({
title: this.t('scaleImage.submitCanvas'),
icon: createVNode(ExclamationCircleOutlined),
okText: 'Yes',
cancelText: 'No',
mask:false,
centered:true,
onOk() {
this_.scaleImageIndex = index
this_.isNext = false
resolve('')
},
onCancel(){
this_.isNext = false
resolve('')
}
});
})
}else{
this.scaleImageIndex = index
}
// let this_ = this
// if(this.isCanvas){
// this.isNext = true
// new Promise((resolve,reject)=>{
// Modal.confirm({
// title: this.t('scaleImage.submitCanvas'),
// icon: createVNode(ExclamationCircleOutlined),
// okText: 'Yes',
// cancelText: 'No',
// mask:false,
// centered:true,
// onOk() {
// this_.scaleImageIndex = index
// this_.isNext = false
// resolve('')
// },
// onCancel(){
// this_.isNext = false
// resolve('')
// }
// });
// })
// }else{
// this.scaleImageIndex = index
// }
this.scaleImageIndex = index
},
LikeFile(item:any,str:string){
let parent:any = this.$parent

View File

@@ -752,7 +752,8 @@ export default {
editUser: "修改个人信息",
notModifiable: "没有修改次数",
remainingModifications: "本月剩余次数:",
Country: "国家",
plaseSelect:"请选择",
Country: "国家或地区",
CompanyName: "职业",
Status: "状态",
Valid: "有效",
@@ -1375,5 +1376,16 @@ export default {
jsContent1:'邮箱格式有误',
jsContent2:'请检查所有带 * 号的内容',
jsDelete:'确定删除这一项吗',
Design:'设计',
SingleDesign:'单品设计',
MoodBoard:'情绪版',
PrintBoard:'印花板',
SketchBoard:'线稿板',
Pattern:'设计',
Logo:'标志',
Slogan:'标语',
ToProductImage:'产品图',
Relight:'打光',
ChatRobot:'对话生成',
},
};

View File

@@ -752,7 +752,8 @@ export default {
editUser: "Change Information",
notModifiable: "Not modifiable",
remainingModifications: "Remaining this month:",
Country: "Country",
plaseSelect:"Please select",
Country: "Country or Region",
CompanyName: "Occupation",
Status: "Status",
Valid: "Valid",
@@ -1375,5 +1376,16 @@ export default {
jsContent1:'The email format is incorrect',
jsContent2:'Please check the input box marked with *',
jsDelete:'Are you sure you want to delete this item?',
Design:'Design',
SingleDesign:'SingleDesign',
MoodBoard:'MoodBoard',
PrintBoard:'PrintBoard',
SketchBoard:'SketchBoard',
Pattern:'Pattern',
Logo:'Logo',
Slogan:'Slogan',
ToProductImage:'ToProductImage',
Relight:'Relight',
ChatRobot:'ChatRobot',
},
};

View File

@@ -266,7 +266,7 @@ const userHabit : Module<UserHabit,RootState> = {
// data.systemUser = 0
state.userDetail.affiliate = data.affiliate
state.userDetail.systemUser = data.systemUser
// state.userDetail.systemUser = 1
// state.userDetail.systemUser = 7
// 身份列表1可以使用aida系统2:可以使用affiliate页面3系统管理员用户
state.userDetail.systemList = []
if(data.systemUser != 0)state.userDetail.systemList.push(1)

View File

@@ -1823,7 +1823,7 @@ export default defineComponent({
}else if(element.status == 'Fail' || element.status == 'Invalid'){
data = data.filter((item:any) => item !== element.taskId);
this.generateList[str] = this.generateList[str].filter((item:any) => item.taskId !== element.taskId);
message.info(this.t('Generate.everyTimeEffectPoor'));
// message.info(this.t('Generate.everyTimeEffectPoor'));
}
});
if((data.length == 0)){