| | |
| | | v-hasPermi="['${moduleName}:${businessName}:add']"
|
| | | >æ°å¢</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table
|
| | |
| | | v-hasPermi="['${moduleName}:${businessName}:export']"
|
| | | >导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange">
|
ÎļþÃû´Ó ruoyi-ui/src/components/TableToolsExt/index.vue ÐÞ¸Ä |
| | |
| | | <!-- @author Shiyn/ huangmx 20200807ä¼å--> |
| | | <template> |
| | | <div class="top-right-btn"> |
| | | <el-row> |
| | | <el-tooltip class="item" effect="dark" :content="showSearch ? 'éèæç´¢' : 'æ¾ç¤ºæç´¢'" placement="top"> |
| | | <el-button size="mini" circle icon="el-icon-search" @click="clickSearch()" /> |
| | | </el-tooltip> |
| | | <el-tooltip class="item" effect="dark" content="å·æ°" placement="top"> |
| | | <el-button size="mini" circle icon="el-icon-refresh" @click="clickFresh()" /> |
| | | </el-tooltip> |
| | | </el-row> |
| | | </div> |
| | | </template> |
| | | <script> |
| | | export default { |
| | | name: "TableToolsExt", |
| | | data() { |
| | | return {}; |
| | | }, |
| | | props: { |
| | | showSearch: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | }, |
| | | |
| | | methods: { |
| | | //æç´¢ |
| | | clickSearch() { |
| | | this.$emit("update:showSearch", !this.showSearch); |
| | | }, |
| | | //å·æ° |
| | | clickFresh() { |
| | | this.$emit("queryTable"); |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | <!-- @author Shiyn/ huangmx 20200807ä¼å-->
|
| | | <template>
|
| | | <div class="top-right-btn">
|
| | | <el-row>
|
| | | <el-tooltip class="item" effect="dark" :content="showSearch ? 'éèæç´¢' : 'æ¾ç¤ºæç´¢'" placement="top">
|
| | | <el-button size="mini" circle icon="el-icon-search" @click="toggleSearch()" />
|
| | | </el-tooltip>
|
| | | <el-tooltip class="item" effect="dark" content="å·æ°" placement="top">
|
| | | <el-button size="mini" circle icon="el-icon-refresh" @click="refresh()" />
|
| | | </el-tooltip>
|
| | | </el-row>
|
| | | </div>
|
| | | </template>
|
| | | <script>
|
| | | export default {
|
| | | name: "RightToolbar",
|
| | | data() {
|
| | | return {};
|
| | | },
|
| | | props: {
|
| | | showSearch: {
|
| | | type: Boolean,
|
| | | default: true,
|
| | | },
|
| | | },
|
| | |
|
| | | methods: {
|
| | | //æç´¢
|
| | | toggleSearch() {
|
| | | this.$emit("update:showSearch", !this.showSearch);
|
| | | },
|
| | | //å·æ°
|
| | | refresh() {
|
| | | this.$emit("queryTable");
|
| | | },
|
| | | },
|
| | | };
|
| | | </script>
|
| | |
| | | import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi";
|
| | | import Pagination from "@/components/Pagination";
|
| | | //èªå®ä¹è¡¨æ ¼å·¥å
·æ©å±
|
| | | import TableToolsExt from "@/components/TableToolsExt"
|
| | | import RightToolbar from "@/components/RightToolbar"
|
| | |
|
| | | // å
¨å±æ¹æ³æè½½
|
| | | Vue.prototype.getDicts = getDicts
|
| | |
| | |
|
| | | // å
¨å±ç»ä»¶æè½½
|
| | | Vue.component('Pagination', Pagination)
|
| | | Vue.component('TableToolsExt', TableToolsExt)
|
| | | Vue.component('RightToolbar', RightToolbar)
|
| | |
|
| | | Vue.use(permission)
|
| | |
|
| | |
| | | v-hasPermi="['monitor:job:query']"
|
| | | >æ¥å¿</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['monitor:job:export']" |
| | | >导åº</el-button> |
| | | </el-col> |
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="loading" :data="jobLogList" @selection-change="handleSelectionChange"> |
| | |
| | | v-hasPermi="['system:logininfor:export']"
|
| | | >导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['system:config:export']"
|
| | | >导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['system:config:remove']"
|
| | | >æ¸
çç¼å</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="configList" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['system:dept:add']"
|
| | | >æ°å¢</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table
|
| | |
| | | v-hasPermi="['system:dict:export']"
|
| | | >导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['system:dict:remove']"
|
| | | >æ¸
çç¼å</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['system:menu:add']"
|
| | | >æ°å¢</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table
|
| | |
| | | v-hasPermi="['system:notice:remove']"
|
| | | >å é¤</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange">
|
| | |
| | | </el-col>
|
| | | </el-row>
|
| | | </el-form>
|
| | | <div slot="footer" class="dialog-footer" style="padding-top:20px">
|
| | | <div slot="footer" class="dialog-footer" style="padding-top:30px">
|
| | | <el-button type="primary" @click="submitForm">ç¡® å®</el-button>
|
| | | <el-button @click="cancel">å æ¶</el-button>
|
| | | </div>
|
| | |
| | | v-hasPermi="['system:post:export']"
|
| | | >导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['system:role:export']"
|
| | | >导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
|
| | |
| | | <el-col :span="1.5">
|
| | | <el-button type="warning" icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['system:user:export']">导åº</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
|
| | |
| | | v-hasPermi="['tool:gen:remove']"
|
| | | >å é¤</el-button>
|
| | | </el-col>
|
| | | <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext>
|
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange">
|