张雄 3 years ago
parent 2f53e57543
commit b366ee8739

@ -175,7 +175,7 @@
.ant-calendar-range .ant-calendar-in-range-cell::before {
background: #1990fe !important;
}
.ant-calendar-cell ant-calendar-in-range-cell {
.ant-calendar-cell .ant-calendar-in-range-cell {
background: transparent !important;
}
.ant-calendar-range .ant-calendar-input, .ant-calendar-range .ant-calendar-time-picker-input {
@ -290,6 +290,7 @@ li.ant-calendar-time-picker-select-option-selected {
.ant-tabs-card > .ant-tabs-content > .ant-tabs-tabpane {
background: rgb(26, 38, 65) !important;
padding-bottom: 22px;
}
.ant-tabs-card > .ant-tabs-bar {

@ -54,7 +54,6 @@ export default {
//
clickEchars(data) {
let ele = data;
console.log(ele);
}
}
};

@ -99,6 +99,7 @@ export default {
this.$router.push({path: '/eventComparison'})
},
goTheme() {
this.setHeaderType(4);
this.$router.push({path: '/themeAnalize'})
},
goRefresh() {

@ -84,7 +84,6 @@ export default {
} else {
this.gValue = x;
}
console.log(this.form);
this.getList();
this.getTable();
});

@ -13,11 +13,11 @@
<a-tab-pane class="tab-pane" key="1" tab="我的主题">
<div class="card-items" v-for="(item, index) in myThemeArr" :key="index">
<div class="card-item-top">
<a-button type="primary" v-if="isCom"></a-button>
<a-button type="primary" v-else disabled>已完成</a-button>
<a-button type="primary" v-if="item.isCom"></a-button>
<a-button v-else disabled>已完成</a-button>
<a-button-group style="float: right">
<a-button type="primary" @click="handlerEdit(item.guids)"></a-button>
<a-popconfirm @confirm="handlerDel(item.guids)" @cancel="cancel">
<a-popconfirm @confirm="handlerDel(item.guids)" @cancel="cancel">
<div slot="title" style="color: white">此操作将删除数据是否继续</div>
<a-button type="primary">删除</a-button>
</a-popconfirm>
@ -40,95 +40,103 @@
</div>
</div>
</div>
<v-modal :title="modalObj.title" :visible.sync="modalObj.visible">
<div slot="body">
<a-tabs type="card">
<a-tab-pane key="1" tab="便捷模式">
<a-modal :title="modalObj.title" width="1200px" :footer="null" :visible="modalObj.visible" :dialog-style="{ top: '20px' }">
<div class="modal-outter">
<a-tabs type="card" @change="handlerTabs">
<a-tab-pane key="0" tab="便捷模式">
<div class="modal-container">
<div class="modal-form">
<a-form-model :model="addForm" :label-col="{span : 4}" :wrapper-col="{span : 18}">
<a-tabs type="card"><a-tab-pane key="10" tab="名称设置">
<a-form-model-item label="主题名称"><a-input v-model="addForm.Name"></a-input></a-form-model-item>
<a-form-model-item label="主题名称"><a-input placeholder="请输入主题名称" v-model="addForm.Name"></a-input></a-form-model-item>
<a-form-model-item label="监测周期">
<!-- <a-date-picker v-model="addForm.StartTime" show-time></a-date-picker> -->
<div style="display: flex">
<a-input v-model="addForm.StartTime"></a-input>
<a-input v-model="addForm.EndTime"></a-input>
</div>
<a-range-picker show-time v-model="selTime" :disabled-date="disabledDate" @calendarChange="calendarPriceRangeChange" valueFormat="YYYY-MM-DD HH:mm:ss" @ok="handlerChangeTime">
<a-icon slot="suffixIcon" type="calendar" />
</a-range-picker>
</a-form-model-item>
</a-tab-pane></a-tabs>
<a-tabs type="card">
<a-tab-pane key="11" tab="必选词“和”的关系">
<a-form-model-item label="必选词"><a-input v-model="addForm.DetailsData[0].AnalyzeWord"></a-input></a-form-model-item>
<a-form-model-item label="可选词"><a-input v-model="addForm.DetailsData[0].HuoWord"></a-input></a-form-model-item>
<a-form-model-item label="排除词"><a-input v-model="addForm.DetailsData[0].PaiChu"></a-input></a-form-model-item>
<a-form-model-item label="必选词"><a-input placeholder="请输入分析关键词多个词用隔开最多支持5个" @change="doCombo" v-model="addForm.DetailsData[0].AnalyzeWord"></a-input></a-form-model-item>
<a-form-model-item label="可选词"><a-input placeholder="请输入可选词多个词用隔开最多支持5个" @change="doCombo" v-model="addForm.DetailsData[0].HuoWord"></a-input></a-form-model-item>
<a-form-model-item label="排除词"><a-input placeholder="请输入排除词多个词用隔开最多支持5个" v-model="addForm.DetailsData[0].PaiChu"></a-input></a-form-model-item>
</a-tab-pane>
<a-tab-pane key="12" tab="主题词“或”的关系">
<a-form-model-item label="主体词"><a-input></a-input></a-form-model-item>
<a-form-model-item label="关键词组一"><a-input></a-input></a-form-model-item>
<a-form-model-item label="关键词组二"><a-input></a-input></a-form-model-item>
<a-form-model-item label="排除词"><a-input></a-input></a-form-model-item>
<a-form-model-item label="主体词"><a-input placeholder="请输入主体词多个词用隔开最多支持5个" @change="doCombo"></a-input></a-form-model-item>
<a-form-model-item label="关键词组一"><a-input placeholder="请输入关键词多个词用隔开最多支持5个" @change="doCombo"></a-input></a-form-model-item>
<a-form-model-item label="关键词组二"><a-input placeholder="请输入关键词多个词用隔开最多支持5个" @change="doCombo"></a-input></a-form-model-item>
<a-form-model-item label="排除词"><a-input placeholder="请输入排除词多个词用隔开最多支持5个"></a-input></a-form-model-item>
</a-tab-pane>
</a-tabs>
<a-tabs type="card"><a-tab-pane key="13" tab="定向监测">
<a-form-model-item label="媒体"><a-input></a-input></a-form-model-item>
<a-form-model-item label="作者"><a-input></a-input></a-form-model-item>
<a-form-model-item label="媒体"><a-input placeholder="请输入媒体名称多个词用隔开最多支持5个"></a-input></a-form-model-item>
<a-form-model-item label="作者"><a-input placeholder="请输入作者名称多个词用隔开最多支持5个"></a-input></a-form-model-item>
</a-tab-pane></a-tabs>
</a-form-model>
</div>
<div class="modal-display">
<a-descriptions layout="vertical" bordered>
<a-descriptions-item label="配置组合示例共0组">
1111
<a-descriptions-item :label="'配置示例组合共' + combo.number + '组'">
<div v-for="(item, index) in combo.display" :key="index">
{{index+1}}.{{item}}
</div>
</a-descriptions-item>
</a-descriptions>
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="高级模式">
<a-tab-pane key="1" tab="高级模式">
<div class="modal-container">
<div class="modal-form">
<a-form-model :model="addForm" :label-col="{span : 4}" :wrapper-col="{span : 18}">
<a-tabs type="card"><a-tab-pane key="21" tab="名称设置">
<a-form-model-item label="主题名称"><a-input></a-input></a-form-model-item>
<a-form-model-item label="监测周期"><a-input></a-input></a-form-model-item>
<a-form-model-item label="主题名称"><a-input placeholder="请输入主题名称" v-model="addForm.Name"></a-input></a-form-model-item>
<a-form-model-item label="监测周期">
<a-range-picker show-time v-model="selTime" :disabled-date="disabledDate" @calendarChange="calendarPriceRangeChange" valueFormat="YYYY-MM-DD HH:mm:ss" @ok="handlerChangeTime">
<a-icon slot="suffixIcon" type="calendar" />
</a-range-picker>
</a-form-model-item>
</a-tab-pane></a-tabs>
<a-tabs type="card"><a-tab-pane key="22" tab="分析词设置">
<a-form-model-item label="主题词"><a-textarea></a-textarea></a-form-model-item>
<a-form-model-item label="主题词"><a-textarea placeholder="请输入分析词" @change="doComboHigh" v-model="addForm.DetailsData[0].AnalyzeWord"></a-textarea></a-form-model-item>
</a-tab-pane></a-tabs>
<a-tabs type="card"><a-tab-pane key="23" tab="定向监测">
<a-form-model-item label="媒体"><a-textarea></a-textarea></a-form-model-item>
<a-form-model-item label="作者"><a-textarea></a-textarea></a-form-model-item>
<a-form-model-item label="媒体"><a-textarea placeholder="请输入媒体名称多个词用隔开最多支持5个"></a-textarea></a-form-model-item>
<a-form-model-item label="作者"><a-textarea placeholder="请输入作者名称多个词用隔开最多支持5个"></a-textarea></a-form-model-item>
</a-tab-pane></a-tabs>
</a-form-model>
</div>
<div class="modal-display">
<a-descriptions layout="vertical" bordered>
<a-descriptions-item label="配置组合示例共0组">
1111
<a-descriptions-item label='配置示例组合'>
<div>
{{comboHigh}}
</div>
</a-descriptions-item>
</a-descriptions>
</div>
</div>
</a-tab-pane>
</a-tabs>
<div>
<div align="center">
<v-btn @click="handlerOk"></v-btn>
<v-btn @click="handlerCancel"></v-btn>
</div>
</div>
</div>
<div slot="footer">
<div align="center">
<v-btn @click="handlerOk"></v-btn>
</div>
</div>
</v-modal>
<!-- <newThemeModal :formData="formData" :visible="visible" @onSave="onSave"></newThemeModal> -->
</a-modal>
</div>
</template>
<script>
import newThemeModal from "./newThemeModal"
import {getSchemeDataToTheme} from "@/api/ThemeAnalize"
import {setSchemeData} from "@/api/ThemeAnalize"
import {delCarBigDataByGuid} from "@/api/ThemeAnalize"
import {getSchemeDataByGuid} from "@/api/ThemeAnalize"
import tbEvent from './tbEvent'
export default {
name: "themeAnalize",
components: {
@ -136,7 +144,6 @@ export default {
},
data() {
return {
isCom: true,
myThemeArr: [],
//
visible: false,
@ -165,6 +172,14 @@ export default {
}
]
},
//
combo:{
number: 0,
display: []
},
comboHigh: '',
//
selTime: [],
//
form: {
token: "",
@ -179,109 +194,7 @@ export default {
this.getNowData();
},
methods: {
getNowData() {
let obj = Object.assign({}, this.form);
getSchemeDataToTheme(obj).then(res => {
let data = res.data;
let themeArr = [];
data.forEach(ele => {
let obj = {
guids: ele.Guids,
name: ele.Name,
startTime: ele.StartTime,
endTime: ele.EndTime,
total: ele.ReportSum
};
themeArr.push(obj);
})
console.log(themeArr);
this.myThemeArr = themeArr;
})
},
goBack() {
this.$router.go(-1);
},
handlerAdd() {
this.reSet();
this.modalObj.visible = true
},
handlerEdit(guids) {
let obj = {
token: this.getToken,
Guids: guids
};
getSchemeDataByGuid(obj).then(res => {
let data = res.data;
this.addForm = data
this.modalObj.visible = true;
})
},
handlerDel(guids) {
let obj = {
token: this.getToken,
Guids: guids
}
delCarBigDataByGuid(obj).then(() => {
this.getNowData();
})
},
cancel() {},
handlerOk() {
let newForm = {
token: "",
DataJson: ""
};
newForm.token = this.getToken;
newForm.DataJson = JSON.stringify(this.addForm);
let obj = Object.assign({}, newForm);
setSchemeData(obj).then(res => {
this.getNowData();
})
this.reSet();
this.modalObj.visible = false;
},
reSet() {
this.addForm = {
Guids: null,
Name: "",
Classify: 0,
StartTime: '',
EndTime: '',
Types: "theme_v6",
DetailsData: [
{AnalyzeWord: "",
HuoWord: "",
PaiChu: "",
Source: "",
UserAuthor: "",
IsAdvancedQuery: 0 //0 1
}
]
}
},
toThemeData(guids) {
this.$router.push(
{
path: '/ThemeData',
query: {
action: "getList",
// sTimeType,
// sQuDao,
// sQingGan,
// iPageIndex,
// iPageSize,
token: this.getToken,
sType: "ZhuTiFenXiBl",
sGuid: guids,
// iGroupBy,
// isSourcetype,
// listType,
// website,
// iTimeType
},
}
)
}
...tbEvent
}
}
</script>
@ -292,29 +205,28 @@ export default {
}
.d-inner {
width: 100%;
height: 960px;
// height: 960px;
border: 2px solid #0F2A4D;
background: rgba(6, 21, 41, 0.4);
}
.card-container {
background: rgba(6, 21, 41, 0.4);
overflow: hidden;
padding: 24px;
padding: 16px;
}
.tab-pane {
display: flex;
flex-wrap:wrap;
justify-content: flex-start;
justify-content: space-between;
align-items: center;
}
.card-items {
width: 430px;
height: 240px;
width: 446px;
// height: 240px;
background: linear-gradient(180deg, #0088c9 0%, #001c43 100%);
border-radius: 4px;
border: 2px solid #0091ff;
margin-left: 24px;
margin-top: 24px;
border: 2px solid #0091ff;
.card-item-top {
width: 100%;
}
@ -323,7 +235,8 @@ export default {
padding: 16px;
color: white;
.cid-title {
height: 110px;
height: 133px;
font-size: 20px;
}
.cid-data {
display: flex;
@ -340,11 +253,15 @@ export default {
}
}
}
.modal-outter {
background: rgb(28, 39, 65);
}
.modal-container {
display: flex;
justify-content: flex-start;
color: white;
width: 1200px;
height: 680px;
.modal-form {
width: 60%;
}

@ -1,49 +0,0 @@
<template>
<a-modal :visible="visible" :footer="null">
<div class="modal-container">
<v-label-div title="新建主题"></v-label-div>
<a-tabs></a-tabs>
<div class="footer">
<v-btn @click="handlerSave"></v-btn>
</div>
</div>
</a-modal>
</template>
<script>
export default {
name: "newThemeModal",
props: {
visible: {
type: Boolean,
default: false
},
formData: {
type: Object,
default: () => {}
}
},
data() {
return {
}
},
methods: {
handlerSave() {
let form = {
data: 'test'
}
this.$emit('onSave',form)
}
}
}
</script>
<style lang="less">
.model-container {
width: 1200px;
}
.footer {
align-content: center;
}
</style>

@ -0,0 +1,182 @@
import {getSchemeDataToTheme} from "@/api/ThemeAnalize"
import {setSchemeData} from "@/api/ThemeAnalize"
import {delCarBigDataByGuid} from "@/api/ThemeAnalize"
import {getSchemeDataByGuid} from "@/api/ThemeAnalize"
import moment from "moment";
export default {
getNowData() {
let obj = Object.assign({}, this.form);
getSchemeDataToTheme(obj).then(res => {
let data = res.data;
let themeArr = [];
data.forEach(ele => {
let obj = {
guids: ele.Guids,
name: ele.Name,
startTime: ele.StartTime,
endTime: ele.EndTime,
total: ele.ReportSum,
isCom: true
};
//判断是否到期
if(new Date(ele.EndTime) <= new Date(this.getDatetime().clock + '' + this.getDatetime().sClock)) {
obj.isCom = false
}
themeArr.push(obj);
})
this.myThemeArr = themeArr;
})
},
//回退
goBack() {
this.setHeaderType(3);
this.$router.go(-1);
},
//新增按钮
handlerAdd() {
this.reSet();
this.combo = {
number: 0,
display: []
};
this.comboHigh = '';
this.modalObj.visible = true
},
//编辑修改
handlerEdit(guids) {
let obj = {
token: this.getToken,
Guids: guids
};
getSchemeDataByGuid(obj).then(res => {
let data = res.data;
console.log(data);
this.addForm = data;
this.doCombo();
this.doComboHigh();
this.modalObj.visible = true;
})
},
//删除
handlerDel(guids) {
let obj = {
token: this.getToken,
Guids: guids
}
delCarBigDataByGuid(obj).then(() => {
this.getNowData();
})
},
//删除确认框
cancel() {},
//新增确认框
handlerOk() {
let newForm = {
token: "",
DataJson: ""
};
newForm.token = this.getToken;
newForm.DataJson = JSON.stringify(this.addForm);
let obj = Object.assign({}, newForm);
setSchemeData(obj).then(res => {
this.getNowData();
this.reSet();
})
this.modalObj.visible = false;
},
handlerCancel() {
this.addForm.Guids = null;
this.reSet();
this.modalObj.visible = false;
},
//配置示例
doCombo() {
let bWord = this.addForm.DetailsData[0].AnalyzeWord.split('')
let hWord = this.addForm.DetailsData[0].HuoWord.split('')
let arr = [];
let bString = '';
// bWord.forEach(ele => {
// bString = bString + ele.trim()
// });
for(let i=0;i<bWord.length;i++) {
if(i < bWord.length - 1) {
bString = bString + bWord[i].trim() + '+'
} else {
bString = bString + bWord[i].trim()
}
}
hWord.forEach(ele => {
let str = '';
if(ele != '') {
str = bString + '+' + ele.trim();
} else {
str = bString + ele.trim();
}
arr.push(str)
})
this.combo.display = arr;
this.combo.number = arr.length;
},
doComboHigh() {
this.comboHigh = this.addForm.DetailsData[0].AnalyzeWord
},
//切换模式
handlerTabs(activeTab) {
this.addForm.DetailsData[0].IsAdvancedQuery = activeTab;
},
//重置表单
reSet() {
this.addForm = {
Name: "",
Classify: 0,
StartTime: '',
EndTime: '',
Types: "theme_v6",
DetailsData: [
{AnalyzeWord: "",
HuoWord: "",
PaiChu: "",
Source: "",
UserAuthor: "",
IsAdvancedQuery: 0 //0普通 1高级
}
]
}
},
//前往详情页
toThemeData(guids) {
this.$router.push(
{
path: '/ThemeData',
query: {
action: "getList",
// sTimeType,
// sQuDao,
// sQingGan,
// iPageIndex,
// iPageSize,
token: this.getToken,
sType: "ZhuTiFenXiBl",
sGuid: guids,
// iGroupBy,
// isSourcetype,
// listType,
// website,
// iTimeType
},
}
)
},
//日期
calendarPriceRangeChange(date) {
this.selectPriceDate = date[0];
},
handlerChangeTime(val) {
this.addForm.StartTime = val[0];
this.addForm.EndTime = val[1];
this.selectPriceDate = "";
},
disabledDate(current) {
return current > moment();
},
}

@ -106,9 +106,9 @@ export default {
this.modelStyle.left = mw.offsetX - this.ecmodel.width - 20 + "px"
}
if((this.ecbox.height - mw.offsetY - 20) > this.ecmodel.height) {
this.modelStyle.top = mw.offsetY + 1500 + "px"
this.modelStyle.top = mw.offsetY + "px"
} else {
this.modelStyle.top = mw.offsetY - this.ecmodel.height + 1500 + "px"
this.modelStyle.top = mw.offsetY - this.ecmodel.height + "px"
}
},
closeBox() {

@ -4,6 +4,7 @@ export default {
//获取表格数据
getTableData() {
let obj = Object.assign({}, this.form);
this.tableLoading = true;
getList(obj).then(res => {
let data = res.data;
this.totalNum = res.totalNum;

@ -7,8 +7,8 @@
</v-label-div>
<div class="d-inner-d1">
<span class="s1">时间</span>
<v-tab-group :value="tValue" :style="{ background: 'transparent' }" :btns="buttonTime" @change="changeTime"></v-tab-group>
<a-range-picker show-time v-model="selTime" style="margin-left: 0.8rem" :disabled-date="disabledDate" @calendarChange="calendarPriceRangeChange" :size="$vuiSize" valueFormat="YYYY-MM-DD HH:mm:ss" v-if="form.sTimeType == selVal" @change="handlerChangeTime">
<v-tab-group :value="tValue" :style="{ background: 'transparent' }" :btns="buttonTime" @change="handlerTime"></v-tab-group>
<a-range-picker show-time v-model="selTime" style="margin-left: 0.8rem" :disabled-date="disabledDate" @calendarChange="calendarPriceRangeChange" :size="$vuiSize" valueFormat="YYYY-MM-DD HH:mm:ss" v-if="form.sTimeType == selVal" @ok="handlerChangeTime">
<a-icon slot="suffixIcon" type="calendar" />
</a-range-picker>
</div>
@ -28,12 +28,12 @@
</div>
<div class="d-inner-d1">
<span class="s1">关键词</span>
<a-select style="width: 200px"></a-select>
<a-input style="width: 200px;margin-left: 12px"></a-input>
<!-- <a-select style="width: 200px"></a-select> -->
<a-input-search style="width: 250px;margin-left: 12px" placeholder="请输入关键词" enter-button v-model="searchTitle" @search="onSearch"></a-input-search>
</div>
<div class="d-inner-d1">
<span class="s1">时间筛选</span>
<v-tab-group :value="gValue" :style="{ background: 'transparent' }" :btns="btnTimes" @change="handlerTime"></v-tab-group>
<v-tab-group :value="gValue" :style="{ background: 'transparent' }" :btns="btnTimes" @change="handlerSxTime"></v-tab-group>
</div>
<div class="d-inner-d1">
<span class="s1">去重筛选</span>
@ -78,6 +78,8 @@ export default {
form: {
action: 'getList',
sTimeType: '',
sStartTime: '',
sEndTime: '',
sQuDao: '',
sQingGan: '',
iPageIndex: 1,
@ -98,6 +100,7 @@ export default {
selTime: [],
timesSel: [],
buttonTime: [],
selectPriceDate: "",
//
quDao: [],
plainOptions: [],
@ -114,6 +117,8 @@ export default {
//
gValue2: 0,
btnTimes2:['不去重','相似度去重'],
//
searchTitle: '',
//
columns: [
{

@ -28,6 +28,8 @@ export function rowSelection() {
return a
}
import moment from "moment";
export default {
//---主页面---//
initData() {
@ -47,7 +49,7 @@ export default {
this.doFormQudao(qudao);
this.doFormQS(series);
this.form.sTimeType = this.$route.query.sTimeType || '20';
this.form.sTimeType = this.$route.query.sTimeType || '34';
this.form.sStartTime = this.$route.query.startTime || "";
this.form.sEndTime = this.$route.query.endTime || "";
if (this.form.sStartTime && this.form.sEndTime) {
@ -61,7 +63,6 @@ export default {
} else {
this.gValue = x;
}
console.log(this.form)
this.getTableData();
})
},
@ -86,12 +87,29 @@ export default {
},
//------//
//时间
calendarPriceRangeChange() {},
handlerChangeTime() {},
disabledDate() {},
changeTime(n) {
calendarPriceRangeChange(date) {
this.selectPriceDate = date[0];
},
handlerChangeTime(val) {
this.form.sStartTime = val[0];
this.form.sEndTime = val[1];
this.selectPriceDate = "";
this.sk = [];
this.tableAll = false;
this.getTableData();
},
disabledDate(current) {
return current > moment();
},
handlerTime(n) {
let ele = this.timesSel[n];
this.form.sTimeType = ele.key;
this.sk = [];
this.tableAll = false;
if (ele.key != this.selVal) {
this.getTableData();
// this.getList();
}
},
// 选择情感和渠道的情况
onChange(val, type) {
@ -100,33 +118,79 @@ export default {
this.qdIndeterminate = !!this.quDao.length && this.quDao.length < this.plainOptions.length;
this.qdCheckAll = this.quDao.length === this.plainOptions.length;
this.form.sQuDao = this.quDao.toString();
} else if (type === "qingGan") {
this.qgIndeterminate = !!this.qingGan.length && this.qingGan.length < this.plainOptions3.length;
this.qgCheckAll = this.qingGan.length === this.plainOptions3.length;
this.doFormQS(this.qingGan);
} else if (type === "diaoXing") {
this.dxIndeterminate = !!this.diaoXing.length && this.diaoXing.length < this.plainOptions1.length;
this.dxCheckAll = this.diaoXing.length === this.plainOptions1.length;
// this.doFormQS(this.diaoXing);
this.form.sQingGan = this.diaoXing.toString();
}
this.form.iPageIndex = 1;
Promise.all([this.getTableData()]).then(() => {
this.noClick = false;
});
},
//渠道
onCheckAllChangeQd() {},
//调性
onCheckAllChangeDx() {},
//渠道全选
onCheckAllChangeQd(e) {
let arr = [];
this.plainOptions.forEach(ele => {
let value = ele.value;
arr.push(value)
})
Object.assign(this, {
quDao: e.target.checked ? arr : [],
qdIndeterminate: false,
qdCheckAll: e.target.checked,
});
this.form.sQuDao = this.quDao.toString();
this.form.iPageIndex = 1;
this.pagination.current = 1;
this.sk = [];
this.tableAll = false;
Promise.all([this.getTableData()]).then(() => {
this.noClick = false;
});
},
//调性全选
onCheckAllChangeDx(e) {
let arr = [];
this.plainOptions1.forEach(ele => {
let value = ele.value;
arr.push(value)
})
Object.assign(this, {
diaoXing: e.target.checked ? arr : [],
dxIndeterminate: false,
dxCheckAll: e.target.checked,
});
this.doFormQS(this.diaoXing);
this.form.iPageIndex = 1;
this.pagination.current = 1;
this.sk = [];
this.tableAll = false;
Promise.all([this.getTableData()]).then(() => {
this.noClick = false;
});
},
//时间筛选
handlerTime(activeIndex) {
handlerSxTime(activeIndex) {
this.form.iTimeType = activeIndex;
this.getTableData();
},
//去重筛选
handlerTime2(activeIndex) {
this.form.iGroupBy = activeIndex;
this.getTableData();
},
//关键词搜索
onSearch() {
this.form.sTitle = this.searchTitle;
this.getTableData();
},
// 改变页面的数据
handlerPage(p) {
let iPageIndex = p.current;
this.form.iPageIndex = iPageIndex;
this.pagination.current = iPageIndex;
this.getTable();
this.getTableData();
},
}
Loading…
Cancel
Save