bug修改
This commit is contained in:
@@ -267,6 +267,7 @@
|
||||
deleteAction(`tag/onlCgformArea/delete`, { id: val }).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'));
|
||||
this.queryParams.pageNo=1
|
||||
this.loadData()
|
||||
}else{
|
||||
this.$message.warning(this.$t('operationFailed'));
|
||||
|
||||
@@ -353,6 +353,7 @@
|
||||
deleteAction(`sys/dictItem/delete`, params).then(res => {
|
||||
if(res.success) {
|
||||
this.$message.success(this.$t('OperationSuccessful'));
|
||||
this.queryParams.pageNo=1
|
||||
this.loadData()
|
||||
}else{
|
||||
this.$message.warning(this.$t('operationFailed'));
|
||||
@@ -381,6 +382,7 @@
|
||||
async () => {
|
||||
deleteAction(`sys/category/deleteBatch`, params).then(res => {
|
||||
if(res.success){
|
||||
this.queryParams.pageNo=1
|
||||
this.loadData()
|
||||
this.$message.success(this.$t('OperationSuccessful'))
|
||||
}else{
|
||||
@@ -394,7 +396,7 @@
|
||||
}
|
||||
},
|
||||
ok(val){
|
||||
this.queryParams.pageNo=val.pageSize
|
||||
this.queryParams.pageNo=val.pageNo
|
||||
this.queryParams.pageSize=val.pageSize
|
||||
this.loadData()
|
||||
}
|
||||
|
||||
@@ -32,17 +32,17 @@
|
||||
:label-col="labelCol"
|
||||
:wrapper-col="wrapperCol"
|
||||
>
|
||||
<a-form-model-item ref="tagName" :label="$t('LabeItemName')" prop="dictName">
|
||||
<a-form-model-item ref="tagName" :label="$t('LabeItemName')" prop="dictName" class="tag-item">
|
||||
<a-input
|
||||
v-model="form.dictName"
|
||||
:placeholder="$t('PleaseEnterLabelName')"
|
||||
/>
|
||||
</a-form-model-item>
|
||||
<a-form-model-item :label="$t('LabelType')" prop="attributeType" v-if="isEdit==1">
|
||||
<a-form-model-item :label="$t('LabelType')" prop="attributeType" v-if="isEdit==1" class="tag-item">
|
||||
<j-dict-select-tag type="list" v-model="form.attributeType" dictCode="attribute_type" :placeholder="$t('PleaseSelectLabelType')" />
|
||||
</a-form-model-item>
|
||||
|
||||
<a-form-model-item ref="describe" :label="$t('describe')" prop="description">
|
||||
<a-form-model-item ref="describe" :label="$t('describe')" prop="description" class="tag-item">
|
||||
<a-input
|
||||
v-model="form.description"
|
||||
:placeholder="$t('PleaseEnterDescription')"
|
||||
@@ -141,10 +141,10 @@
|
||||
form:{},
|
||||
rules:{
|
||||
dictName:[{ required: true, message: this.$t('PleaseEnterLabelName'), trigger: 'change' },
|
||||
{ min: 1, max: 100, message: this.$t('LengthBe1to100'), trigger: 'blur' }],
|
||||
{ min:1, max: 30, message: this.$t('cantExeed')+'30'+this.$t('characters'), trigger: 'blur' },],
|
||||
attributeType:[
|
||||
{ required: true, message: this.$t('PleaseSelectLabelType'), trigger: 'blur' },
|
||||
|
||||
{ min:1, max: 300, message: this.$t('cantExeed')+'300'+this.$t('characters'), trigger: 'blur' },
|
||||
],
|
||||
},
|
||||
// typeVisible:{},
|
||||
@@ -326,6 +326,7 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.page{
|
||||
margin-top: 20px;
|
||||
text-align: right;
|
||||
@@ -351,6 +352,13 @@
|
||||
.ant-modal-footer{
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.tag-content{
|
||||
.tag-item{
|
||||
.ant-col-4{
|
||||
min-width: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user