Browse Source

Merge branch 'yantai_master' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov

yantai_master
dai 3 years ago
parent
commit
ef8f8f2148
  1. 21
      src/views/modules/base/epidemic/natInfo/natList.vue

21
src/views/modules/base/epidemic/natInfo/natList.vue

@ -141,10 +141,11 @@
size="small"
@click="handleExport">导出</el-button>
<el-button style="float:left;margin-left:10px"
<el-button v-if="isYantai"
style="float:left;margin-left:10px"
class="diy-button--export"
size="small"
@click="handleTiming()">定时</el-button>
@click="handleTiming()">更新数据</el-button>
</div>
<el-table class="table"
@ -318,6 +319,8 @@ export default {
pageNo: 0,
tableLoading: false,
isResiUser: true,
customerId: '',
isYantai: false,
agencyId: '',
orgTypeList: [
@ -382,6 +385,16 @@ export default {
},
async mounted () {
//1580460084738760705
//id: 1535072605621841922
this.customerId = localStorage.getItem("customerId");
this.isYantai = false
if (this.customerId === '1535072605621841922') {
this.isYantai = true
}
this.updateBtnAuths();
const { user } = this.$store.state
@ -598,7 +611,7 @@ export default {
async handleTiming (row) {
this.$confirm("确认执行定时任务?", "提示", {
this.$confirm("确认执行更新数据?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
@ -615,7 +628,7 @@ export default {
},
async timingNat (row) {
const url = "/epmetuser/dataSyncConfig/natInfoScanTask"
const url = "/epmetuser/dataSyncConfig/natInfoSyncButton"
// const url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNat/synchro"
let params = {

Loading…
Cancel
Save