| | |
| | | <el-form-item label="关键词" prop="bayonetNumber"> |
| | | <el-input v-model="queryParams.keyword" placeholder="关键词搜索" clearable @input="handleQuery"/> |
| | | </el-form-item> |
| | | <el-form-item :label="this.optionsName" prop="option"> |
| | | <el-select v-model="queryParams.option" size="small" clearable> |
| | | <el-option v-for="option in options" :key="option.value" :label="option.label" :value="option.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="时间" prop="date"> |
| | | <el-date-picker |
| | | v-model="queryParams.date" |
| | |
| | | url: process.env.VUE_APP_BASE_API + "/platform/resourceSecurity/importData" |
| | | }, |
| | | imageResourceSecurity: [], |
| | | options: [], |
| | | resourceForm: {}, |
| | | resourceOpen: false, |
| | | totalKiosks: 1157, |
| | |
| | | keyword: '', |
| | | date: '', |
| | | dataType: 0, |
| | | option: null, |
| | | }, |
| | | // 表单参数 |
| | | form: {}, |
| | |
| | | index: null |
| | | }; |
| | | }, |
| | | |
| | | mounted() { |
| | | //修改页签名 |
| | | const obj = Object.assign({},this.$route,{title: this.$route.query.ruleName}) |
| | | this.$tab.updatePage(obj); |
| | | // 获取当前日期 |
| | | const today = new Date(); |
| | | |
| | |
| | | |
| | | // 拼接成 yyyy-MM-dd 格式 |
| | | this.queryParams.date = `${year}-${month}-${day}`; |
| | | |
| | | if (this.$route.query.type === '1') { |
| | | let data = videoData.table.filter(item => item.index === this.$route.query.index)[0] |
| | | this.tableHead = data.columns; |
| | | this.cardList = data.card; |
| | | this.showList = data.showList; |
| | | this.options = data.options; |
| | | this.optionsName = data.optionsName; |
| | | } |
| | | if (this.$route.query.type === '2') { |
| | | let data = carData.table.filter(item => item.index === this.$route.query.index)[0] |
| | | this.tableHead = data.columns; |
| | | this.cardList = data.card; |
| | | this.showList = data.showList; |
| | | this.options = data.options; |
| | | this.optionsName = data.optionsName; |
| | | } |
| | | if (this.$route.query.type === '3') { |
| | | let data = faceData.table.filter(item => item.index === this.$route.query.index)[0] |
| | | this.tableHead = data.columns; |
| | | this.cardList = data.card; |
| | | this.showList = data.showList; |
| | | this.options = data.options; |
| | | this.optionsName = data.optionsName; |
| | | } |
| | | if (this.$route.query.type === '4') { |
| | | let data = equipment.table.filter(item => item.index === this.$route.query.index)[0] |
| | | this.tableHead = data.columns; |
| | | this.cardList = data.card; |
| | | this.showList = data.showList; |
| | | this.options = data.options; |
| | | this.optionsName = data.optionsName; |
| | | } |
| | | this.getDicts(this.$route.query.dict) |
| | | this.getList(); |
| | | }, |
| | | methods: { |