下发收集增加loding
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
<JLoading :loading="textLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -91,6 +92,7 @@ export default {
|
|||||||
editId: '',
|
editId: '',
|
||||||
visibleoperationFailed:false,
|
visibleoperationFailed:false,
|
||||||
newVisible: false,
|
newVisible: false,
|
||||||
|
textLoading:false,
|
||||||
NotSelectedRowKeysValue:[],
|
NotSelectedRowKeysValue:[],
|
||||||
labelCol: {
|
labelCol: {
|
||||||
xs: { span: 24 },
|
xs: { span: 24 },
|
||||||
@@ -220,6 +222,7 @@ export default {
|
|||||||
// _this.$message.success(this.$t('OperationSuccessful'))
|
// _this.$message.success(this.$t('OperationSuccessful'))
|
||||||
if(res.data.result.length == 0){
|
if(res.data.result.length == 0){
|
||||||
this.visibleoperationFailed = false
|
this.visibleoperationFailed = false
|
||||||
|
this.textLoading = false
|
||||||
_this.$message.success(this.$t('OperationSuccessful'))
|
_this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.$emit('areaVisibleTaskCutOffTimeflag', false)
|
this.$emit('areaVisibleTaskCutOffTimeflag', false)
|
||||||
this.$emit('GetgetTableList')
|
this.$emit('GetgetTableList')
|
||||||
@@ -227,6 +230,7 @@ export default {
|
|||||||
}else{
|
}else{
|
||||||
this.NotSelectedRowKeysValue = res.data.result
|
this.NotSelectedRowKeysValue = res.data.result
|
||||||
this.visibleoperationFailed = true
|
this.visibleoperationFailed = true
|
||||||
|
this.textLoading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
// this.$emit('areaVisibleTaskCutOffTimeflag', false)
|
// this.$emit('areaVisibleTaskCutOffTimeflag', false)
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
<JLoading :loading="textLoading">{{this.$t('pleaseWaitWhileRunning')}}</JLoading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -223,10 +224,12 @@ export default {
|
|||||||
_this.$message.success(this.$t('OperationSuccessful'))
|
_this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.$emit('areaVisibleTaskCutOffTimeAll', false)
|
this.$emit('areaVisibleTaskCutOffTimeAll', false)
|
||||||
this.$emit('GetgetTableList')
|
this.$emit('GetgetTableList')
|
||||||
|
this.textLoading = false
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
this.NotSelectedRowKeysValue = res.data.result
|
this.NotSelectedRowKeysValue = res.data.result
|
||||||
this.visibleoperationFailed = true
|
this.visibleoperationFailed = true
|
||||||
|
this.textLoading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
// this.$emit('areaVisibleTaskCutOffTime', false)
|
// this.$emit('areaVisibleTaskCutOffTime', false)
|
||||||
|
|||||||
Reference in New Issue
Block a user