3
2
yuedefeng преди 6 години
родител
ревизия
e6950cd37e
променени са 1 файла, в които са добавени 56 реда и са изтрити 0 реда
  1. 56 0
      src/dashoo.cn/frontend_web/src/pages/system/operdoc.vue

+ 56 - 0
src/dashoo.cn/frontend_web/src/pages/system/operdoc.vue

@@ -0,0 +1,56 @@
+<<template>
+  <div>
+    <el-card class="box-card">
+      <!--<el-row style="text-align: center; margin-top: 50px;">
+        <el-col :span="24">
+          <el-button type="primary" @click="downOperdoc">下载操作手册</el-button>
+        </el-col>
+      </el-row>-->
+
+      <el-table
+        :data="tableData"
+        stripe
+        style="width: 100%">
+
+        <el-table-column
+          prop="address"
+          width="100"
+          label="操作">
+          <template slot-scope="scope">
+            <el-button slot="reference" type="primary" size="mini" plain title="原始数据录入" @click="downOperdoc(scope.row.address)">
+              下载
+            </el-button>
+          </template>
+        </el-table-column>
+
+        <el-table-column
+          prop="name"
+          label="文件名称"
+          >
+        </el-table-column>
+
+      </el-table>
+    </el-card>
+  </div>
+</template>
+
+<script>
+  export default {
+    name: 'users',
+
+    data () {
+      return {
+        tableData: [{
+          name: '大港油田检测监督评价管理系统使用手册',
+          address: 'http://weed1.labsop.cn:9390/6,1dd73da6b981'
+        }]
+      }
+    },
+
+    methods: {
+      downOperdoc (url) {
+        location.href = url
+      },
+    }
+  }
+</script>