Commit 50fc6c88 authored by qinj's avatar qinj

页面loading

parent c146265d
......@@ -6,6 +6,7 @@
<div class="basic-info">
<ele-form-section v-model="formData"
:rules="rules"
v-loading='loading'
:sections="sections">
<template v-slot:ExtLockRsp_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
......@@ -370,9 +371,12 @@ export default {
})
},
getList() {
this.loading=true
getCustomer({ objectID: this.id }).then((resp) => {
this.loading=false
resp.results[0].ExtChannelType_SDK = null
this.formData = resp.results[0]
this.formData.ExtChannelType_SDK=null
if (this.formData.ExtProcessNode_SDK != 2) {
this.rules.ExtChannelType_SDK = []
}
......
......@@ -6,6 +6,7 @@
<div class="basic-info">
<ele-form-section v-model="formData"
:rules="rules"
v-loading='loading'
:sections="sections">
<template v-slot:ExtLockCity_SDK="{ formData }">
<!-- 插槽内容有el-form-item组件包裹 -->
......@@ -339,7 +340,9 @@ export default {
window.open(row.FileURL)
},
getList() {
this.loading=true
getCustomer({ objectID: this.id }).then((resp) => {
this.loading=false
this.formData = resp.results[0]
const app = { provinceCode: resp.results[0].ExtProvince_SDK }
this.$request(Country.searchCity, app).then((resp) => {
......
......@@ -483,7 +483,7 @@ export default {
})
} else {
this.btnloading = false
this.$message.warning('请上传附件,输入必填信息!')
this.$message.warning('请输入必填信息!')
}
});
......
......@@ -644,7 +644,7 @@ export default {
})
} else {
this.btnloading = false
this.$message.warning('请上传附件,输入必填信息!')
this.$message.warning('请输入必填信息!')
}
});
......
......@@ -2,6 +2,7 @@
<div class="app-container">
<div class="table-container">
<el-table :data="tableData"
v-loading='btnloading'
border
style="width: 100%">
<el-table-column prop="FileName"
......@@ -24,6 +25,7 @@ export default {
data () {
return {
tableData:[],
btnloading:false,
page:{
currentPage:1,
pageSize:10
......@@ -36,7 +38,9 @@ export default {
methods:{
getList(){
this.page.typeCode='121'
this.btnloading=true
getModels(this.page).then((resp)=>{
this.btnloading=false
this.tableData=resp.results
})
},
......
......@@ -2,6 +2,7 @@
<div class="app-container">
<div class="table-container">
<el-table :data="tableData"
v-loading='btnloading'
border
style="width: 100%">
<el-table-column prop="FileName"
......@@ -24,6 +25,7 @@ export default {
data () {
return {
tableData:[],
btnloading:false,
page:{
currentPage:1,
pageSize:10
......@@ -37,7 +39,9 @@ export default {
getList(){
this.page.typeCode='121'
this.page.fileLabel='3'
this.btnloading=true
getModels(this.page).then((resp)=>{
this.btnloading=false
this.tableData=resp.results
})
},
......
......@@ -2,6 +2,7 @@
<div class="app-container">
<div class="table-container">
<el-table :data="tableData"
v-loading='btnloading'
border
style="width: 100%">
<el-table-column prop="FileName"
......@@ -24,6 +25,7 @@ export default {
data () {
return {
tableData:[],
btnloading:false,
page:{
currentPage:1,
pageSize:10
......@@ -37,7 +39,9 @@ export default {
getList(){
this.page.typeCode='121'
this.page.fileLabel='2'
this.btnloading=true
getModels(this.page).then((resp)=>{
this.btnloading=false
this.tableData=resp.results
})
},
......
......@@ -3,6 +3,7 @@
<div class="table-container">
<el-table :data="tableData"
border
v-loading='btnloading'
style="width: 100%">
<el-table-column prop="FileName"
label="名称">
......@@ -24,6 +25,7 @@ export default {
data () {
return {
tableData:[],
btnloading:false,
page:{
currentPage:1,
pageSize:10
......@@ -37,7 +39,9 @@ export default {
getList(){
this.page.typeCode='121'
this.page.fileLabel='1'
this.btnloading=true
getModels(this.page).then((resp)=>{
this.btnloadin=false
this.tableData=resp.results
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment