From df38b0368f02ea73d4acaadea7fd69ebd057ef14 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 05 十二月 2022 17:27:57 +0800
Subject: [PATCH] 1.sop上传实现前端部分

---
 src/permission.js        |    2 
 src/views/xtsz/sc.vue    |  611 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/views/scgl/sckbg.vue |    2 
 src/views/xtsz/yl.vue    |   31 ++
 src/router/index.js      |    5 
 src/api/xtsz.js          |   55 ++++
 6 files changed, 701 insertions(+), 5 deletions(-)

diff --git a/src/api/xtsz.js b/src/api/xtsz.js
index dc37f10..3e7278b 100644
--- a/src/api/xtsz.js
+++ b/src/api/xtsz.js
@@ -8,6 +8,7 @@
     params: data
   })
 }
+
 // 缂栫爜瑙勫垯缂栬緫淇濆瓨
 export function SaveEncodingRules(data) {
   return request({
@@ -52,3 +53,57 @@
     params: data
   })
 }
+
+// SOP鍒楄〃鏌ヨ
+export function SystemSopSearch(data) {
+  return request({
+    url: 'SystemSetting/SystemSopSearch',
+    method: 'get',
+    params: data
+  })
+}
+
+// SOP鏂囦欢涓婁紶鏌ユ壘璁惧绫诲瀷鏁版嵁
+export function SystemSopDeviceSearch(data) {
+  return request({
+    url: 'SystemSetting/SystemSopDeviceSearch',
+    method: 'get',
+    params: data
+  })
+}
+
+// SOP鏂囦欢浣滀笟鏂囦欢涓婁紶鑾峰彇鏈�澶х増鏈彿
+export function SystemSopMaxVersion(data) {
+  return request({
+    url: 'SystemSetting/SystemSopMaxVersion',
+    method: 'get',
+    params: data
+  })
+}
+
+// SOP鏂囦欢涓婁紶鎻愪氦
+export function SystemSopSava(data) {
+  return request({
+    url: 'SystemSetting/SystemSopSava',
+    method: 'post',
+    params: data
+  })
+}
+
+// SOP鏂囦欢鍒犻櫎
+export function SystemSopDelete(data) {
+  return request({
+    url: 'SystemSetting/SystemSopDelete',
+    method: 'post',
+    params: data
+  })
+}
+
+// SOP鏂囦欢棰勮
+export function SystemSopView(data) {
+  return request({
+    url: 'SystemSetting/SystemSopView',
+    method: 'post',
+    params: data
+  })
+}
diff --git a/src/permission.js b/src/permission.js
index fd74217..8304258 100644
--- a/src/permission.js
+++ b/src/permission.js
@@ -8,7 +8,7 @@
 
 NProgress.configure({ showSpinner: false }) // NProgress Configuration
 
-const whiteList = ['/login', '/zhkb', '/ckgl', '/cgdd', '/bzcj', '/dccj', '/zpcj', '/back'] // no redirect whitelist
+const whiteList = ['/login', '/zhkb', '/ckgl', '/cgdd', '/bzcj', '/dccj', '/zpcj', '/back', '/xtsz/yl'] // no redirect whitelist
 
 router.beforeEach(async(to, from, next) => {
   // start progress bar
diff --git a/src/router/index.js b/src/router/index.js
index f394774..6cdd187 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -64,6 +64,11 @@
     component: () => import('@/views/kb/bzcj'),
     hidden: true
   },
+  {
+    path: '/xtsz/yl',
+    component: () => import('@/views/xtsz/yl'),
+    hidden: true
+  },
 
   {
     path: '/login',
diff --git a/src/views/scgl/sckbg.vue b/src/views/scgl/sckbg.vue
index 6da64ea..ab545b2 100644
--- a/src/views/scgl/sckbg.vue
+++ b/src/views/scgl/sckbg.vue
@@ -297,7 +297,7 @@
                 sortable="custom"
               />
               <el-table-column
-                label="鏈姤宸ユ暟閲�"
+                label="鏈敹鏂欐暟閲�"
                 width="120"
               >
                 <!--                sortable="custom"-->
diff --git a/src/views/xtsz/sc.vue b/src/views/xtsz/sc.vue
index fbf21bb..5171b82 100644
--- a/src/views/xtsz/sc.vue
+++ b/src/views/xtsz/sc.vue
@@ -1,11 +1,616 @@
-<template />
+<template>
+  <div>
+    <div class="body" :style="{height:mainHeight+'px'}">
+      <div class="bodyTopButtonGroup" style="justify-content: space-between">
+        <el-button icon="el-icon-circle-plus-outline" type="primary" @click="add">鏂囦欢涓婁紶</el-button>
+        <div style="display: flex;align-items: center">
+          <el-form
+            ref="form"
+            :model="form"
+            label-width="100px"
+            inline
+          >
+            <div class="elForm" style="justify-content: flex-start">
+              <el-form-item style="margin-right: 30px">
+                <el-checkbox v-model="form.checked">澶囬�夐」</el-checkbox>
+              </el-form-item>
+              <el-form-item>
+                <!--                prefix-icon="el-icon-search"-->
+                <el-input v-model="form.search" placeholder="璇疯緭鍏ュ叧閿瓧" style="width: 260px" />
+              </el-form-item>
+            </div>
+          </el-form>
+          <el-button type="primary" style="margin-left: 30px" icon="el-icon-search" @click="search">鏌ヨ</el-button>
+          <el-button type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
+
+        </div>
+      </div>
+
+      <div class="elTableDiv">
+        <el-table
+          ref="tableDataRef"
+          class="tableFixed"
+          :data="tableData"
+          :height="isExpandForm?tableHeight:(tableHeight+40)+'px'"
+          border
+          :row-class-name="tableRowClassName"
+          :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}"
+          highlight-current-row
+          :header-cell-style="this.$headerCellStyle"
+          :cell-style="this.$cellStyle"
+          @sort-change="sortChange"
+        >
+          <el-table-column
+            prop="RowNum"
+            width="50"
+            fixed
+            label="搴忓彿"
+          />
+          <el-table-column
+            prop="file_name"
+            label="鏂囦欢鍚嶇О"
+            min-width="160"
+            show-tooltip-when-overflow
+            sortable="custom"
+          />
+          <el-table-column
+            prop="filetype_name"
+            label="鏂囦欢绫诲瀷"
+            min-width="110"
+            sortable="custom"
+          />
+          <el-table-column
+            prop="file_version"
+            label="鐗堟湰鍙�"
+            min-width="110"
+            sortable="custom"
+          />
+          <el-table-column
+            prop="partcode"
+            label="鐗╂枡缂栫爜"
+            min-width="110"
+            show-tooltip-when-overflow
+            sortable="custom"
+          />
+          <el-table-column
+            prop="partname"
+            label="鐗╂枡鍚嶇О"
+            min-width="110"
+            show-tooltip-when-overflow
+            sortable="custom"
+          />
+          <el-table-column
+            prop="eqptype_name"
+            label="璁惧绫诲瀷"
+            min-width="110"
+            show-tooltip-when-overflow
+            sortable="custom"
+          />
+          <el-table-column
+            prop="username"
+            min-width="110"
+            label="涓婁紶浜哄憳"
+            sortable="custom"
+          />
+          <el-table-column
+            prop="lm_date"
+            label="涓婁紶鏃堕棿"
+            width="160"
+            sortable="custom"
+          />
+          <el-table-column
+            label="鎿嶄綔"
+            width="120"
+            fixed="right"
+          >
+            <template slot-scope="{row}">
+              <div class="operationClass">
+                <el-tooltip class="item" effect="dark" content="棰勮" placement="top">
+                  <i class="el-icon-files" style="cursor: pointer;color:#42b983;margin-right: 15px" @click="check" />
+                </el-tooltip>
+                <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">
+                  <i class="el-icon-delete" @click="del(row)" />
+                </el-tooltip>
+              </div>
+            </template>
+          </el-table-column>
+        </el-table>
+      </div>
+      <!--鍒嗛〉-->
+      <pagination
+        :total="total"
+        :page.sync="form.page"
+        :limit.sync="form.rows"
+        align="right"
+        layout="total,prev, pager, next,sizes"
+        popper-class="select_bottom"
+        @pagination="getSystemSopSearch"
+      />
+    </div>
+
+    <el-dialog
+      title="鏂囦欢涓婁紶"
+      :visible.sync="dialogVisible"
+      width="800px"
+      :close-on-click-modal="false"
+      top="15vh"
+      @closed="handleClose"
+      @close="handleClose"
+    >
+      <el-form ref="dialogForm" inline :rules="dialogFormRules" :model="dialogForm" label-width="80px">
+        <el-form-item label="璁惧绫诲瀷" prop="devicetvpecode">
+          <el-select
+            v-model="dialogForm.devicetvpecode"
+            style="width: 200px"
+            placeholder="璇烽�夋嫨"
+            filterable
+            :popper-append-to-body="false"
+            @change="val=>fileversionChange(val,'devicetvpecode')"
+          >
+            <el-option
+              v-for="item in devicetvpeArr"
+              :key="item.code"
+              :label="item.name"
+              :value="item.code"
+            />
+          </el-select>
+        </el-form-item>
+        <el-form-item label="鐗╂枡鍚嶇О" prop="partcode">
+          <el-select
+            v-model="dialogForm.partcode"
+            style="width: 200px"
+            placeholder="璇烽�夋嫨"
+            filterable
+            :popper-append-to-body="false"
+            @change="val=>fileversionChange(val,'partcode')"
+          >
+            <el-option
+              v-for="item in partArr"
+              :key="item.partcode"
+              :label="item.partname"
+              :value="item.partcode"
+            />
+          </el-select>
+        </el-form-item>
+        <el-form-item label="鏂囦欢鍚嶇О" prop="defilename">
+          <el-input v-model="dialogForm.defilename" style="width: 200px" />
+        </el-form-item>
+        <el-form-item label="鏂囦欢绫诲瀷" prop="filetypecode">
+          <el-select
+            v-model="dialogForm.filetypecode"
+            style="width: 200px"
+            placeholder="璇烽�夋嫨"
+            filterable
+            :popper-append-to-body="false"
+            @change="val=>fileversionChange(val,'filetypecode')"
+          >
+            <el-option
+              v-for="item in filetypeArr"
+              :key="item.code"
+              :label="item.name"
+              :value="item.code"
+            />
+          </el-select>
+        </el-form-item>
+
+        <el-form-item label="鏂囦欢涓婁紶" prop="Files">
+          <!--          <el-input v-model="dialogForm.Files" style="width: 200px" />-->
+
+          <div style="width: 200px;">
+            <el-upload
+              ref="uploadFileRef"
+              style="display: inline-block;"
+              action="#"
+              :limit="1"
+              :show-file-list="true"
+              :on-exceed="handleExceed"
+              :auto-upload="false"
+              :multiple="false"
+              accept=".mp4,.pdf"
+            >
+              <!--              :http-request="upload"-->
+              <!--              :before-upload="beforeUpload"-->
+              <el-button
+                type="primary"
+                style="width: 200px;display: flex;justify-content: center"
+                icon="el-icon-upload2"
+              >閫夋嫨鏂囦欢
+              </el-button>
+            </el-upload>
+          </div>
+        </el-form-item>
+        <el-form-item label="鐗堟湰鍙�">
+          <el-input v-model="dialogForm.fileversion" disabled style="width: 200px" />
+        </el-form-item>
+
+      </el-form>
+      <span slot="footer" class="dialog-footer">
+        <div class="footerButton">
+          <el-button @click="dialogVisibleCancel">鍙� 娑�</el-button>
+          <el-button type="primary" @click="dialogVisibleConfirm">纭� 瀹�</el-button>
+        </div>
+      </span>
+    </el-dialog>
+
+  </div>
+</template>
 
 <script>
+import Pagination from '@/components/Pagination'
+import { AddUpdateOrganization, DeleteOrganization, PrentOrganization } from '@/api/jcsz'
+import { getCookie } from '@/utils/auth'
+import { SystemSopDelete, SystemSopDeviceSearch, SystemSopMaxVersion, SystemSopSava, SystemSopSearch } from '@/api/xtsz'
+import { PartSelect } from '@/api/zzmx'
+
 export default {
-  name: 'Sc'
+  name: 'Zzjg',
+  components: {
+    Pagination
+  },
+  data() {
+    return {
+      mouseHoverType: 'mouseout',
+      isExpandForm: false,
+      mainHeight: 0,
+      tableHeight: 0,
+      form: {
+        checked: '', // 鏄惁閫変腑鏈�楂樼増鏈�
+        search: '', // 鎼滅储鍏抽敭瀛�
+        prop: 'lm_date', // 鎺掑簭瀛楁
+        order: 'desc', // 鎺掑簭瀛楁
+        page: 1, // 绗嚑椤�
+        rows: 20 // 姣忛〉澶氬皯鏉�
+      },
+      total: 10,
+      tableData: [],
+      dialogVisible: false,
+      dialogForm: {
+        devicetvpecode: '', // 璁惧绫诲瀷缂栫爜
+        partcode: '', // 鐗╂枡缂栫爜
+        defilename: '',
+        filetypecode: '', // 鏂囦欢绫诲瀷缂栫爜
+        Files: '', // 鏂囦欢
+        fileversion: ''// 鏂囦欢鐗堟湰鍙�
+      },
+      dialogFormRules: {
+        devicetvpecode: [
+          { required: true, message: '璇烽�夋嫨璁惧绫诲瀷', trigger: ['blur', 'change'] }
+        ],
+        partcode: [
+          { required: true, message: '璇烽�夋嫨鐗╂枡鍚嶇О', trigger: ['blur', 'change'] }
+        ],
+        defilename: [
+          { required: true, message: '璇疯緭鍏ュ悕鏂囦欢绉�', trigger: ['blur', 'change'] }
+        ],
+        filetypecode: [
+          { required: true, message: '璇烽�夋嫨鏂囦欢绫诲瀷', trigger: ['blur', 'change'] }
+        ]
+        // Files: [
+        //   { required: true, message: '璇疯緭鍏ユ枃浠跺悕绉�', trigger: ['blur', 'change'] }
+        // ]
+
+      },
+      devicetvpeArr: [], // 璁惧绫诲瀷涓嬫媺鍒楄〃
+      partArr: [], // 鐗╂枡涓嬫媺鍒楄〃
+      filetypeArr: [// 鏂囦欢绫诲瀷涓嬫媺鏁扮粍
+        { code: 'P001', name: '浣滀笟鎸囧涔�' },
+        { code: 'P002', name: '妫�楠屾寚瀵间功' },
+        { code: 'P003', name: '鍥剧焊' }
+      ]
+    }
+  },
+
+  created() {
+    this.getSystemSopSearch()
+  },
+  mounted() {
+    window.addEventListener('resize', this.getHeight)
+    this.getHeight()
+  },
+  methods: {
+    async getSystemSopSearch() {
+      const res = await SystemSopSearch(this.form)
+      this.tableData = res.data
+      this.total = res.count
+    },
+    // 鎺掑簭鏀瑰彉鏃�
+    sortChange({ column, prop, order }) {
+      if (order === 'descending') {
+        order = 'desc'
+      } else if (order === 'ascending') {
+        order = 'asc'
+      } else {
+        order = 'desc'
+      }
+      this.form.order = order
+      this.form.prop = prop
+      this.getSystemSopSearch()
+    },
+    // 鏌ヨ
+    search() {
+      this.getSystemSopSearch()
+    },
+    // 瀵煎叆鎸夐挳
+    // upload(param) {
+    //   console.log('111')
+    //   this.dialogForm.Files = param.file
+    // },
+    // 鏂囦欢涓婁紶涔嬪墠鏂规硶
+    // beforeUpload(file) {
+    // console.log(file, 1)
+    // const isLt100M = file.size / 1024 / 1024 < 100
+    // // if (['video/mp4', 'video/ogg', 'video/flv', 'video/avi', 'video/wmv', 'video/rmvb'].indexOf(file.type) == -1) {
+    // if (['video/mp4', '.pdf'].indexOf(file.type) === -1) {
+    //   this.$message.error('涓婁紶鏂囦欢鍙兘鏄� pdf銆乵p4 鏍煎紡!')
+    //   // this.$message.error('涓婁紶瑙嗛鍙兘鏄� mp4銆乷gg銆乫lv銆乤vi銆亀mv銆乺mvb 鏍煎紡!')
+    //   return false
+    // }
+    // if (!isLt100M) {
+    //   this.$message.error('涓婁紶鏂囦欢澶у皬涓嶈兘瓒呰繃 100MB!')
+    //   return false
+    // }
+    // return true
+    // },
+    // 鏂囦欢鏁伴噺瓒呰繃闄愬畾瑙﹀彂
+    handleExceed() {
+      this.$message.info('鏆備笉鏀寔澶氭枃浠朵笂浼狅紒')
+    },
+    // 閲嶇疆
+    reset() {
+      this.form.checked = ''
+      this.form.search = ''
+      this.getSystemSopSearch()
+    },
+
+    // 鏂板鎸夐挳
+    add() {
+      this.dialogVisible = true
+
+      this.getSystemSopDeviceSearch()
+      this.getPartSelect()
+    },
+    // 鑾峰彇璁惧绫诲瀷
+    async getSystemSopDeviceSearch() {
+      const { data: res } = await SystemSopDeviceSearch()
+      this.devicetvpeArr = res
+    },
+    // 鑾峰彇鐗╂枡鍚嶇О
+    async getPartSelect() {
+      const { data: res } = await PartSelect()
+      this.partArr = res
+    },
+
+    // 鏂囦欢绫诲瀷鍊兼敼鍙樻椂
+    async fileversionChange(val, type) {
+      const data = {
+        devicetypecode: type === 'devicetvpecode' ? val : this.dialogForm.devicetvpecode,
+        filetypecode: type === 'filetypecode' ? val : this.dialogForm.filetypecode,
+        partcode: type === 'partcode' ? val : this.dialogForm.partcode
+      }
+      const { data: res } = await SystemSopMaxVersion(data)
+
+      this.dialogForm.fileversion = res
+    },
+
+    // 棰勮
+    check() {
+      const url = this.$router.resolve({
+        path: '/xtsz/yl',
+        query: {
+          // clue_id: row.clue_id,
+          // operation: 'check',
+          name: '鏂囦欢棰勮'
+        }
+      })
+
+      window.open(url.href)
+
+      // SystemSopView
+    },
+
+    // 鍒犻櫎鎸夐挳
+    async del(row) {
+      this.$confirm('鏄惁纭鍒犻櫎?', '鎻愮ず', {
+        confirmButtonText: '纭畾',
+        cancelButtonText: '鍙栨秷',
+        type: 'warning'
+      }).then(() => {
+        const data = {
+          id: '',
+          filepath: ''
+        }
+        SystemSopDelete(data).then(res => {
+          if (res.code === '200') {
+            this.$message.success('鍒犻櫎鎴愬姛!')
+            if (this.form.page > 1 && this.tableData.length === 1) {
+              this.form.page--
+            }
+            this.getSystemSopSearch()
+          }
+        })
+      }).catch(() => {
+        this.$message.info('宸插彇娑堝垹闄�')
+      })
+    },
+    // 瀵硅瘽妗嗗叧闂簨浠�
+    handleClose() {
+      this.dialogForm.devicetvpecode = ''
+      this.dialogForm.partcode = ''
+      this.dialogForm.defilename = ''
+      this.dialogForm.filetypecode = ''
+      this.dialogForm.fileversion = ''
+      this.dialogForm.Files = ''
+      this.$refs.dialogForm.clearValidate()
+    },
+    // 瀵硅瘽妗嗗彇娑�
+    dialogVisibleCancel() {
+      this.dialogVisible = false
+    },
+    // 瀵硅瘽妗嗙‘璁�
+    dialogVisibleConfirm() {
+      console.log(this.$refs.uploadFileRef.uploadFiles[0])
+
+      if (!this.$refs.uploadFileRef.uploadFiles[0]) {
+        this.$message.info('璇烽�夋嫨鏂囦欢涓婁紶锛�')
+      }
+
+      this.$refs.dialogForm.validate(valid => {
+        if (valid) {
+          const formData = new FormData()
+          formData.append('devicetvpecode', this.dialogForm.devicetvpecode)
+          formData.append('partcode', this.dialogForm.partcode)
+          formData.append('defilename', this.dialogForm.defilename)
+          formData.append('filetypecode', this.dialogForm.filetypecode)
+          formData.append('fileversion', this.dialogForm.fileversion)
+          formData.append('Files', this.$refs.uploadFileRef.uploadFiles[0].raw)
+          // formData.append('Files', JSON.stringify(this.$refs.uploadFileRef.uploadFiles[0].raw))
+          // formData.append('Files', JSON.stringify(this.$refs.uploadFileRef.uploadFiles[0]))
+          for (var [key, value] of formData) {
+            console.log(key, value)
+          }
+          // 鍙傝�冩枃浠朵笂浼犲湴鏂癸紝鏄庡ぉ鐪�
+          SystemSopSava(formData).then(res => {
+            if (res.code === '200') {
+              this.$message.success('鏂囦欢涓婁紶鎴愬姛锛�')
+              this.dialogVisible = false
+              this.getSystemSopSearch()
+            } else {
+              this.$message.error('鏂囦欢涓婁紶澶辫触锛�')
+            }
+          })
+        }
+      })
+    },
+    // 鑾峰彇椤甸潰楂樺害
+    getHeight() {
+      this.$nextTick(() => {
+        this.mainHeight = window.innerHeight - 85
+        this.tableHeight = this.mainHeight - 185
+        this.$refs.tableDataRef.doLayout()
+      })
+    },
+    tableRowClassName({ row, rowIndex }) {
+      return 'custom-row'
+    }
+  }
 }
 </script>
 
-<style scoped>
+<!--鍏叡椤甸潰鏍峰紡-->
+<style lang="scss" scoped>
+$main_color: #42b983;
+::v-deep .el-button--text {
+  font-size: 14px;
+  cursor: pointer;
+}
 
+.el-icon-share, .el-icon-delete, .el-icon-edit-outline {
+  color: $main_color;
+  cursor: pointer;
+}
+
+.el-icon-edit-outline {
+  margin-right: 15px;
+}
+
+::v-deep .el-button--primary, .el-button--default, .el-button--info {
+  height: 34px;
+  display: flex;
+  align-items: center;
+  padding: 0 15px;
+}
+
+::v-deep .el-button--primary {
+  //background-color: $main_color !important;
+}
+
+::v-deep .el-button--default {
+  background-color: #f8f8fa;
+  border: none;
+}
+
+::v-deep .el-input__inner {
+  height: 34px;
+  line-height: 34px;
+  //color: #a7a7a7;
+}
+
+::v-deep .el-dialog__body {
+  padding: 20px 100px !important;
+}
+
+::v-deep .dialogVisibleRoles .el-dialog__body {
+  padding: 20px 20px !important;
+}
+
+::v-deep .importPickerClass .el-dialog__body {
+  padding: 20px 20px !important;
+}
+
+::v-deep .el-dialog__footer {
+  display: flex;
+  justify-content: flex-end;
+}
+
+::v-deep .el-table .caret-wrapper {
+  transform: scale(0.8);
+}
+
+::v-deep .cell {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+}
+
+::v-deep .el-table::before {
+  height: 0;
+}
+
+::v-deep .el-table__body-wrapper {
+  background-color: #f8f8fa;
+}
+
+::v-deep .el-table__body .el-table__row.hover-row td {
+  background-color: #eaecef;
+}
+
+::v-deep .el-form--inline .el-form-item__label {
+  color: #a7a7a7;
+}
+
+.body ::v-deep .el-divider {
+  border: 1px solid #eee;
+  width: 99%;
+  margin: 10px auto;
+}
+
+.body ::v-deep .el-form-item {
+  margin-bottom: 0;
+}
+
+.userDialogVisible ::v-deep .el-form-item {
+  margin-bottom: 0;
+}
+
+::v-deep .el-select__caret {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.tableFixed {
+  ::v-deep .el-table__fixed-right {
+    height: 100% !important;
+  }
+
+  ::v-deep .el-table__fixed {
+    height: 100% !important;
+  }
+}
+</style>
+<style>
+
+.el-table .custom-row {
+  background: #f8f8fa;
+}
 </style>
diff --git a/src/views/xtsz/yl.vue b/src/views/xtsz/yl.vue
new file mode 100644
index 0000000..46c0017
--- /dev/null
+++ b/src/views/xtsz/yl.vue
@@ -0,0 +1,31 @@
+<template>
+  <div>
+    1
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'Yl',
+  data() {
+    return {
+
+    }
+  },
+  created() {
+    const url = window.location.hash.split('?')[1]
+    const titleName = url.split('=')[1] // sop鏂囦欢棰勮鍚嶇О
+    document.title = decodeURIComponent(titleName) + ' - 鏂板嚡杩櫤閫犱簯骞冲彴'
+  },
+  mounted() {
+
+  },
+  methods: {
+
+  }
+}
+</script>
+
+<style scoped>
+
+</style>

--
Gitblit v1.9.3