修改禅道已知bug
This commit is contained in:
@@ -745,4 +745,6 @@ module.exports = {
|
||||
noComment:'No comment',
|
||||
theReceived:'The final version can be made only when the list confirmation status and task confirmation status of all data are received',
|
||||
notEvaluated:'Not evaluated',
|
||||
cannotExceed:'cannot exceed',
|
||||
Characters:'Characters',
|
||||
}
|
||||
@@ -750,4 +750,6 @@ module.exports = {
|
||||
noComment:'暂无评论',
|
||||
theReceived:'所有数据的清单确认状态和任务确认状态都为接受才可以定版',
|
||||
notEvaluated:'未评估',
|
||||
cannotExceed:'不能超出',
|
||||
Characters:'个字符',
|
||||
}
|
||||
@@ -429,7 +429,7 @@
|
||||
|| res.field_show_type === '11') {
|
||||
rule.push({
|
||||
max: res.db_length,
|
||||
message: res.db_field_txt + '不能超出' + res.db_length + '个字符',
|
||||
message: res.db_field_txt + this.$t('cannotExceed') + res.db_length + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -290,6 +290,12 @@
|
||||
fixed: 'left',
|
||||
scopedSlots: { customRender: 'titleName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('zoneOfApplication'),
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
dataIndex: 'region_dictText'
|
||||
},
|
||||
{
|
||||
title: this.$t('scopeOfApplication'),
|
||||
align: 'center',
|
||||
@@ -308,12 +314,6 @@
|
||||
ellipsis: true,
|
||||
dataIndex: 'correspondingStandardName'
|
||||
},
|
||||
{
|
||||
title: this.$t('zoneOfApplication'),
|
||||
align: 'center',
|
||||
ellipsis: true,
|
||||
dataIndex: 'region_dictText'
|
||||
},
|
||||
{
|
||||
title: this.$t('implementationCategory'),
|
||||
align: 'center',
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="name">
|
||||
<a-input class="box-input-add"
|
||||
v-model="formInline.name"
|
||||
v-model.trim="formInline.name"
|
||||
:placeholder="$t('PleaseEnter')+$t('VirtualListName')"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
@@ -107,12 +107,13 @@
|
||||
<a-col :span="24">
|
||||
<div class="box-title-text-add">
|
||||
<div class="title-text-add">
|
||||
<span class="Required">*</span>
|
||||
<span class="title-text-text" :title="$t('instructionForUse')">{{$t('instructionForUse')}}</span>
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="instructionForUse">
|
||||
<a-form-model-item class="itemModel" prop="useExplain">
|
||||
<a-textarea
|
||||
:placeholder="$t('PleaseEnter')+$t('instructionForUse')"
|
||||
v-model="formInline.useExplain" :rows="4"/>
|
||||
v-model.trim="formInline.useExplain" :rows="4"/>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
@@ -139,11 +140,30 @@
|
||||
selectedRowKeys: [],
|
||||
formInline: {},
|
||||
rules: {
|
||||
name: [{
|
||||
required: true,
|
||||
message: this.$t('VirtualListName') + this.$t('cannotEmpty'),
|
||||
trigger: 'blur'
|
||||
}]
|
||||
name: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('VirtualListName') + this.$t('cannotEmpty'),
|
||||
trigger: 'blur'
|
||||
},
|
||||
{
|
||||
max: 100,
|
||||
message: this.$t('VirtualListName') + this.$t('cannotExceed') + 100 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
useExplain: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('instructionForUse') + this.$t('cannotEmpty'),
|
||||
trigger: 'blur'
|
||||
},
|
||||
{
|
||||
max: 500,
|
||||
message: this.$t('instructionForUse') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
visible: false,
|
||||
dataSource: [],
|
||||
@@ -200,6 +220,9 @@
|
||||
this.title = '新增'
|
||||
this.formInline = {}
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.ruleForm.clearValidate()
|
||||
})
|
||||
},
|
||||
//批量删除
|
||||
handleDel() {
|
||||
@@ -229,6 +252,9 @@
|
||||
this.title = '编辑'
|
||||
this.formInline = JSON.parse(JSON.stringify(item))
|
||||
this.visible = true
|
||||
this.$nextTick(() => {
|
||||
this.$refs.ruleForm.clearValidate()
|
||||
})
|
||||
},
|
||||
//撤回
|
||||
withdraw(val) {
|
||||
|
||||
@@ -218,34 +218,34 @@
|
||||
message: this.$t('pleaseEnterTheCorrectWebAddress')
|
||||
}
|
||||
],
|
||||
projectNameId:[
|
||||
projectNameId: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('entryName') + this.$t('cannotEmpty'),
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
targetMarket:[
|
||||
targetMarket: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('targetMarket') + this.$t('cannotEmpty'),
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
projectStatus:[
|
||||
projectStatus: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('projectStatus') + this.$t('cannotEmpty'),
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
studioEngineerName:[
|
||||
studioEngineerName: [
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('StudioEngineer') + this.$t('cannotEmpty'),
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
]
|
||||
},
|
||||
disabled: false,
|
||||
projectNameList: [],
|
||||
@@ -269,12 +269,16 @@
|
||||
this.visible = true
|
||||
this.title = '新增'
|
||||
this.formInline = {}
|
||||
this.$nextTick(() => {
|
||||
this.$refs.ruleForm.clearValidate()
|
||||
})
|
||||
},
|
||||
editModel(value) {
|
||||
this.visible = true
|
||||
this.title = '编辑'
|
||||
this.$nextTick(() => {
|
||||
this.formInline = value
|
||||
this.$refs.ruleForm.clearValidate()
|
||||
})
|
||||
},
|
||||
handleCancel() {
|
||||
@@ -323,9 +327,9 @@
|
||||
this.formInline[value] = id
|
||||
this.formInline = { ...this.formInline }
|
||||
},
|
||||
projectNameChange(value){
|
||||
projectNameChange(value) {
|
||||
console.log(value)
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user