拆分导出文件名称修改

This commit is contained in:
caoyang
2022-04-07 11:20:09 +08:00
parent 5dc67d8a5f
commit 93edc979d9
3 changed files with 15 additions and 13 deletions
@@ -48,7 +48,7 @@
<a-input-number class="box-input"
:placeholder="$t('PleaseEnter')+item.db_field_txt"
:disabled="disabled"
v-model="formInline[item.db_field_name]" :min="1" :max="99999999"/>
v-model="formInline[item.db_field_name]" :max="99999999"/>
</a-form-model-item>
</div>
</a-col>
@@ -666,9 +666,10 @@
// console.log('vallll',this.contentList)
this.$refs.splitEditForm.validate(valid=>{
if(valid){
this.submitFlag=true
this.confirmLoading = true
if(this.submitFlag){
this.loading = true
if(!this.submitFlag){
this.submitFlag=true
let url = ''
if (this.formInline.id) {
url = this.url.updateInfo
@@ -709,7 +710,7 @@
})
.then( (res) =>{
if (res.data.success) {
this.confirmLoading = false
this.loading = false
this.$message.success(this.$t('OperationSuccessful'))
this.visible=false
// this.$emit('closeVisible',false)
@@ -728,7 +729,7 @@
.catch( (error) =>{
console.log(error);
}).finally(()=>{
this.confirmLoading=false
this.loading=false
this.submitFlag=false
})
}
@@ -748,8 +749,8 @@
// console.log('contentList111111',this.contentList)
this.$refs.numberForm.validate(valid=>{
if(valid){
this.numberFlag=true
if(this.numberFlag){
if(!this.numberFlag){
this.numberFlag=true
for(let i=this.contentList.length;i>this.addIndex;i--){
this.contentList[i+this.numberForm.textNumber-1]=this.contentList[i-1]
}