|
|
@@ -15,7 +15,6 @@
|
|
|
</div>
|
|
|
<el-row style ="margin-bottom: 20px;">
|
|
|
<el-col :span="24">
|
|
|
- <el-button size="mini" type="primary" @click="insertsuppler" v-loading.fullscreen.lock="fullscreenLoading">导入OilSuppler</el-button>
|
|
|
<el-button size="mini" type="primary" @click="insertsuppler" v-loading.fullscreen.lock="fullscreenLoading">导入OilSuppler</el-button>
|
|
|
<el-button size="mini" type="primary" @click="insertSupplerCert" v-loading.fullscreen.lock="fullscreenLoading">导入OilSupplerCert</el-button>
|
|
|
<el-button size="mini" type="primary" @click="updateSupplerCert" v-loading.fullscreen.lock="fullscreenLoading">更新SupplierTypeCodeAndInFlag</el-button>
|
|
|
@@ -164,59 +163,84 @@
|
|
|
.then(res => {
|
|
|
// this.fullscreenLoading = false
|
|
|
this.reset()
|
|
|
+ this.insertSupplerCert()
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
insertSupplerCert () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '导入OilSupplerCert'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/insertsuppliercert')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '导入OilSupplerCert'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/insertsuppliercert')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
+ this.updateSupplerCert()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '导入OilSupplerCert'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/insertsuppliercert')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
updateSupplerCert () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/updatecerttypeandinflag')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/updatecerttypeandinflag')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
+ this.updateSupplerId()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '更新SupplierTypeCodeAndInFlag'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/updatecerttypeandinflag')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
updateSupplerId () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '更新Cert表的SupplierID'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/updatesupplierid')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '更新Cert表的SupplierID'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/updatesupplierid')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
+ this.insertCertSub()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '更新Cert表的SupplierID'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/updatesupplierid')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
insertSupplerCertSub () {
|
|
|
this.$confirm('是否继续?', '提示', {
|
|
|
@@ -235,6 +259,7 @@
|
|
|
})
|
|
|
},
|
|
|
insterAnnualAudit () {
|
|
|
+ this.dialogtitle = '导入年审表'
|
|
|
this.start()
|
|
|
this.$axios.get('tmpzcgf/insterannualaudit')
|
|
|
.then(res => {
|
|
|
@@ -259,6 +284,7 @@
|
|
|
// })
|
|
|
},
|
|
|
updateAnnualAudit () {
|
|
|
+ this.dialogtitle = '跟新年审表的SupplierId和CerId'
|
|
|
this.start()
|
|
|
this.$axios.get('tmpzcgf/updateAnnualAudit')
|
|
|
.then(res => {
|
|
|
@@ -283,6 +309,7 @@
|
|
|
// })
|
|
|
},
|
|
|
insterOilPaymentInfo () {
|
|
|
+ this.dialogtitle = '导入交费记录并更新'
|
|
|
this.start()
|
|
|
this.$axios.get('tmpzcgf/insterOilPaymentInfo')
|
|
|
.then(res => {
|
|
|
@@ -307,6 +334,7 @@
|
|
|
// })
|
|
|
},
|
|
|
insterBadRecord () {
|
|
|
+ this.dialogtitle = '导入不良记录并更新'
|
|
|
this.start()
|
|
|
this.$axios.get('tmpzcgf/insterBadRecord')
|
|
|
.then(res => {
|
|
|
@@ -331,38 +359,53 @@
|
|
|
// })
|
|
|
},
|
|
|
insertCertSub () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '导入CertSub表'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/insertCertSub')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '导入CertSub表'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/insertCertSub')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '导入CertSub表'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/insertCertSub')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
updateCertSub () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '更新CertSub表'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '更新CertSub表'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
+ this.insertOilSupplierCertAppend()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '更新CertSub表'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/updateOilSupplierCertSub')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
updateCertSubclassID () {
|
|
|
this.$confirm('是否继续?', '提示', {
|
|
|
@@ -379,54 +422,78 @@
|
|
|
})
|
|
|
},
|
|
|
updateOilSupplierCertAppend () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
+ this.insertOilSupplierCertSub()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '跟新OilSupplierCertAppend表的SupplierId和CerId'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/updateOilSupplierCertAppend')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
insertOilSupplierCertAppend () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- // this.fullscreenLoading = true
|
|
|
- this.dialogtitle = '导入增项申请'
|
|
|
- this.start()
|
|
|
- this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
|
|
|
- .then(res => {
|
|
|
- // this.fullscreenLoading = false
|
|
|
- this.reset()
|
|
|
- })
|
|
|
+ this.dialogtitle = '导入增项申请'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
|
|
|
+ .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ this.reset()
|
|
|
+ this.updateOilSupplierCertAppend()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // // this.fullscreenLoading = true
|
|
|
+ // this.dialogtitle = '导入增项申请'
|
|
|
+ // this.start()
|
|
|
+ // this.$axios.get('tmpzcgf/insertOilSupplierCertAppend')
|
|
|
+ // .then(res => {
|
|
|
+ // // this.fullscreenLoading = false
|
|
|
+ // this.reset()
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
insertOilSupplierCertSub () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.fullscreenLoading = true
|
|
|
- this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
|
|
|
- .then(res => {
|
|
|
- this.fullscreenLoading = false
|
|
|
- })
|
|
|
+ this.dialogtitle = '导入增项的准入范围'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
|
|
|
+ .then(res => {
|
|
|
+ this.reset()
|
|
|
+ this.updateCertAppendIsType2()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // this.fullscreenLoading = true
|
|
|
+ // this.$axios.get('tmpzcgf/insertOilSupplierCertSub')
|
|
|
+ // .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
insertOilInfoChange () {
|
|
|
+ this.dialogtitle = '导入信息变更'
|
|
|
this.start()
|
|
|
this.$axios.get('tmpzcgf/insertOilInfoChange')
|
|
|
.then(res => {
|
|
|
@@ -451,6 +518,7 @@
|
|
|
// })
|
|
|
},
|
|
|
updateOilInfoChange () {
|
|
|
+ this.dialogtitle = '更新新信息变更'
|
|
|
this.start()
|
|
|
this.$axios.get('tmpzcgf/updateOilInfoChange')
|
|
|
.then(res => {
|
|
|
@@ -473,18 +541,25 @@
|
|
|
// })
|
|
|
},
|
|
|
updateCertAppendIsType2 () {
|
|
|
- this.$confirm('是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.fullscreenLoading = true
|
|
|
- this.$axios.get('tmpzcgf/updateCertSubIsType1')
|
|
|
- .then(res => {
|
|
|
- this.fullscreenLoading = false
|
|
|
- })
|
|
|
+ this.dialogtitle = '更新增项准入范围'
|
|
|
+ this.start()
|
|
|
+ this.$axios.get('tmpzcgf/updateCertSubIsType1')
|
|
|
+ .then(res => {
|
|
|
+ this.reset()
|
|
|
+ this.insterAnnualAudit()
|
|
|
})
|
|
|
+ // this.$confirm('是否继续?', '提示', {
|
|
|
+ // confirmButtonText: '确定',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // this.fullscreenLoading = true
|
|
|
+ // this.$axios.get('tmpzcgf/updateCertSubIsType1')
|
|
|
+ // .then(res => {
|
|
|
+ // this.fullscreenLoading = false
|
|
|
+ // })
|
|
|
+ // })
|
|
|
},
|
|
|
updateCertAppendIsType3 () {
|
|
|
this.$confirm('是否继续?', '提示', {
|