<!--
 * @Descripttion: qwe
 * @version: qwe
 * @Author: kangkaqeqng
 * @Date: 2020-11-06 09:23:16
 * @LastEditors: kangkang
 * @LastEditTime: 2020-11-07 11:17:03
-->
<template>
<div style="height:95%">
    <el-link style="padding-bottom:10px;padding-right:50px;" :href="file2288" type="primary">下载2288样版</el-link>
    <el-link style="padding-bottom:10px;" :href="new_dns" type="primary">下载新增服务器列表</el-link>
    <el-upload
    class="upload-demo"
    :action="upload_url"
    multiple>
    <el-button size="small" type="primary">点击上传2288</el-button>
    <div slot="tip" style="color:red;">注：2288新增不会在新增服务器列表列表显示</div>
    </el-upload>
</div>
</template>

<script>
export default {
  data () {
    return {
      upload_url: this.$api.phpURL + 'script/linedata/upload.php',
      file2288: this.$api.phpURL + 'script/linedata/data/2288.csv',
      new_dns: this.$api.phpURL + 'script/linedata/data/dns_diff.csv'
    }
  },

  created () {
    this.$store.commit('setCurrentNav', '产品管理>>线路管理')
  },
  methods: {
  }
}
</script>

<style>

  .el-table .success-row {
    background: #d7f8c5;
  }

  .el-table .error-row {
    background: #f1c6c6;
  }
</style>
