|
|
@@ -1,67 +1,72 @@
|
|
|
<template>
|
|
|
- <div class="sm-panel sm-function-module-content" v-if="BookmarkShow" v-drag>
|
|
|
+ <div class="sm-panel ghzc" style="height: auto;" v-if="BookmarkShow" v-drag>
|
|
|
<div class="sm-panel-header">
|
|
|
<span>{{ Resource.BookMark }}</span>
|
|
|
<span class="closeBtn" @click="toggleVisibility">×</span>
|
|
|
</div>
|
|
|
- <div class="flexbox">
|
|
|
- <el-input
|
|
|
- placeholder="请输入查询关键字"
|
|
|
- prefix-icon="el-icon-search"
|
|
|
- v-model="bookmarkSearchText"
|
|
|
- size="small"
|
|
|
- >
|
|
|
- </el-input>
|
|
|
- <el-button
|
|
|
- @click="dialogVisible = true"
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- style="margin-left: 5px"
|
|
|
- >添加</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- @click="clear"
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- style="margin-left: 5px"
|
|
|
- >清除</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div class="flexbox" style="height: 260px; width: 100%">
|
|
|
- <el-table
|
|
|
- :show-header="false"
|
|
|
- :data="tableData"
|
|
|
- height="260"
|
|
|
- border
|
|
|
- style="width: 100%"
|
|
|
- @row-click="handleRowClick"
|
|
|
- >
|
|
|
- <el-table-column prop="name" label="名称" width="230">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" width="80">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- @click.stop="handleClickDel(scope.row)"
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- >删除</el-button
|
|
|
- >
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <el-pagination
|
|
|
- @size-change="handleSizeChange"
|
|
|
- @current-change="handlePageChange"
|
|
|
- :current-page="page"
|
|
|
- :page-sizes="[10, 20, 50, 100]"
|
|
|
- :page-size="size"
|
|
|
- layout="total, sizes, prev, next"
|
|
|
- :total="total"
|
|
|
- >
|
|
|
- </el-pagination>
|
|
|
+ <div class="sm-function-module-content">
|
|
|
+ <div class="flexbox">
|
|
|
+ <el-input
|
|
|
+ placeholder="请输入查询关键字"
|
|
|
+ prefix-icon="el-icon-search"
|
|
|
+ v-model="bookmarkSearchText"
|
|
|
+ size="small"
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
+ <el-button
|
|
|
+ @click="dialogVisible = true"
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ style="margin-left: 5px"
|
|
|
+ >添加</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ @click="clear"
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ style="margin-left: 5px"
|
|
|
+ >清除</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <div class="flexbox" style="height: 260px; width: 100%">
|
|
|
+ <el-table
|
|
|
+ :show-header="false"
|
|
|
+ :data="tableData"
|
|
|
+ height="260"
|
|
|
+ border
|
|
|
+ style="width: 100%"
|
|
|
+ @row-click="handleRowClick"
|
|
|
+ >
|
|
|
+ <el-table-column prop="name" label="名称" width="230">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column fixed="right" label="操作" width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ @click.stop="handleClickDel(scope.row)"
|
|
|
+ type="primary"
|
|
|
+ size="small"
|
|
|
+ >删除</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ <div class="pagination">
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handlePageChange"
|
|
|
+ :current-page="page"
|
|
|
+ :page-sizes="[10, 20, 50, 100]"
|
|
|
+ :page-size="size"
|
|
|
+ layout="total, sizes, prev, next"
|
|
|
+ :total="total"
|
|
|
+ >
|
|
|
+
|
|
|
+
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+
|
|
|
<el-dialog
|
|
|
title="书签信息"
|
|
|
:visible.sync="dialogVisible"
|
|
|
@@ -77,7 +82,9 @@
|
|
|
<el-button type="primary" size="mini" @click="onSubmit('form')"
|
|
|
>保存</el-button
|
|
|
>
|
|
|
- <el-button size="mini" @click="closeBook('form')">取消</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="closeBook('form')"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -252,7 +259,8 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-<style scoped>
|
|
|
+<style lang="scss" scoped>
|
|
|
+@import "../../views/complianceAnalysis/ghzc.scss";
|
|
|
.el-input__inner {
|
|
|
color: black !important;
|
|
|
}
|