| | |
| | | user, |
| | | dataReporting, |
| | | enums, |
| | | capacityScope |
| | | capacityScope, |
| | | systemLog |
| | | } |
| | | } |
| | | |
| | |
| | | delTestObject: "/capacityScope/delTestObject", //å 餿£æµå¯¹è±¡ |
| | | upTestObject: "/capacityScope/upTestObject", //ä¿®æ¹æ£æµå¯¹è±¡ |
| | | } |
| | | |
| | | const systemLog = { |
| | | selectSystemLogList: "/systemLog/selectSystemLogList", //è·åç³»ç»æ¥å¿å表 |
| | | } |
| | |
| | | </style> |
| | | |
| | | <template> |
| | | <div class="role_manage"> |
| | | <div class="capacity-scope"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="12"> |
| | |
| | | deviceGroup: null, |
| | | orderBy: { |
| | | field: 'id', |
| | | order: 'asc' |
| | | order: 'desc' |
| | | } |
| | | }, |
| | | isIndex: false, |
| | |
| | | specimenName: null, |
| | | orderBy: { |
| | | field: 'id', |
| | | order: 'asc' |
| | | order: 'desc' |
| | | } |
| | | }, |
| | | isIndex: false, |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <style scoped> |
| | | .title { |
| | | height: 60px; |
| | | line-height: 60px; |
| | | } |
| | | |
| | | .search { |
| | | background-color: #fff; |
| | | height: 80px; |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .search_thing { |
| | | width: 350px; |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .search_label { |
| | | width: 110px; |
| | | font-size: 14px; |
| | | text-align: right; |
| | | } |
| | | |
| | | .search_input { |
| | | width: calc(100% - 110px); |
| | | } |
| | | |
| | | .table { |
| | | margin-top: 10px; |
| | | background-color: #fff; |
| | | width: calc(100% - 40px); |
| | | height: calc(100% - 60px - 80px - 10px - 40px); |
| | | padding: 20px; |
| | | } |
| | | </style> |
| | | |
| | | <template> |
| | | <div class="system-log"> |
| | | <div> |
| | | <el-row class="title"> |
| | | <el-col :span="12" style="padding-left: 20px;">ç³»ç»æ¥å¿</el-col> |
| | | </el-row> |
| | | </div> |
| | | <div class="search"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">ç¨æ·åï¼</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请è¾å
¥" clearable |
| | | v-model="componentData.entity.createUserName" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | </div> |
| | | <div class="search_thing"> |
| | | <div class="search_label">æ¹æ³æè¿°ï¼</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请è¾å
¥" clearable |
| | | v-model="componentData.entity.methodName" @keyup.enter.native="refreshTable()"></el-input></div> |
| | | </div> |
| | | <div class="search_thing" style="padding-left: 30px;"> |
| | | <el-button size="small" @click="refresh()">é ç½®</el-button> |
| | | <el-button size="small" type="primary" @click="refreshTable()">æ¥ è¯¢</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <ValueTable ref="ValueTable" :url="$api.systemLog.selectSystemLogList" :componentData="componentData" :key="upIndex"/> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import ValueTable from '../tool/value-table.vue' |
| | | export default { |
| | | components: { |
| | | ValueTable |
| | | }, |
| | | data() { |
| | | return { |
| | | componentData: { |
| | | entity: { |
| | | createUserName: null, |
| | | methodName: null, |
| | | orderBy: { |
| | | field: 'id', |
| | | order: 'desc' |
| | | } |
| | | }, |
| | | isIndex: true, |
| | | showSelect: false, |
| | | select: false, |
| | | do: [], |
| | | tagField: {}, |
| | | selectField: {}, |
| | | requiredAdd:[], |
| | | requiredUp:[] |
| | | }, |
| | | entityCopy: {}, |
| | | upIndex: 0, |
| | | addDia: false |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.entityCopy = this.HaveJson(this.componentData.entity) |
| | | this.getPower() |
| | | }, |
| | | methods: { |
| | | refreshTable() { |
| | | this.$refs['ValueTable'].selectList() |
| | | }, |
| | | refresh() { |
| | | this.componentData.entity = this.HaveJson(this.entityCopy) |
| | | this.upIndex++ |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | }, { |
| | | v: "ç³»ç»æ¥å¿", |
| | | i: "el-icon-s-tools", |
| | | u: "", |
| | | p: "" |
| | | u: "system-log", |
| | | p: "selectSystemLogList" |
| | | }] |
| | | }, |
| | | { |