更新数据
This commit is contained in:
@ -2,29 +2,16 @@
|
|||||||
<div class="statistical-analysis">
|
<div class="statistical-analysis">
|
||||||
<!-- 左侧树形菜单 -->
|
<!-- 左侧树形菜单 -->
|
||||||
<div class="left-menu">
|
<div class="left-menu">
|
||||||
<CheckBox :data="checkData" customClass="all" @changeData="changeData"></CheckBox>
|
<el-radio-group :disabled="isEdit" v-model="checkData.active">
|
||||||
|
<el-radio :label="it" v-for="it in checkData.list" :key="it">{{ it }}</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
<div class="cancelBtn" @click="checkData.active = ''">取消</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 右侧内容区 -->
|
<!-- 右侧内容区 -->
|
||||||
<div class="right-content">
|
<div class="right-content">
|
||||||
<Search :searchArr="searchConfiger" @submit="onSearch"> </Search>
|
<Search :searchArr="searchConfiger" @submit="onSearch"> </Search>
|
||||||
<div class="tableCnt1 mb10 pl10 pr10">
|
<div class="tableCnt1 mb10 pl10 pr10">
|
||||||
<PageTitle title="发掘内容" style="color: #333">
|
<PageTitle title="发掘内容" style="color: #333"></PageTitle>
|
||||||
<el-button type="primary" size="small" @click="handleData('add', '')">
|
|
||||||
<el-icon style="vertical-align: middle">
|
|
||||||
<CirclePlus />
|
|
||||||
</el-icon>
|
|
||||||
<span style="vertical-align: middle" @click="handleData('add', '')">新增</span>
|
|
||||||
</el-button>
|
|
||||||
<el-button type="primary" size="small" @click="isImport = true">
|
|
||||||
<span style="vertical-align: middle">导入内容</span>
|
|
||||||
</el-button>
|
|
||||||
<el-button type="danger" size="small" @click="deleteRow(idsTop)">
|
|
||||||
<el-icon style="vertical-align: middle">
|
|
||||||
<Delete />
|
|
||||||
</el-icon>
|
|
||||||
<span style="vertical-align: middle">批量删除</span>
|
|
||||||
</el-button>
|
|
||||||
</PageTitle>
|
|
||||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger0" :controlsWidth="pageData.controlsWidth"
|
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger0" :controlsWidth="pageData.controlsWidth"
|
||||||
@chooseData="chooseDataTop">
|
@chooseData="chooseDataTop">
|
||||||
@ -136,7 +123,7 @@ const searchConfiger = ref([
|
|||||||
]);
|
]);
|
||||||
const isImport = ref(false);
|
const isImport = ref(false);
|
||||||
const checkData = reactive({
|
const checkData = reactive({
|
||||||
hasChoose: ["警情"],
|
active:'',
|
||||||
list: ["警情", "人力情报", "线索", "民警处置文本", "交通事故"]
|
list: ["警情", "人力情报", "线索", "民警处置文本", "交通事故"]
|
||||||
});
|
});
|
||||||
const btnsList = reactive([
|
const btnsList = reactive([
|
||||||
@ -371,32 +358,26 @@ onMounted(() => {
|
|||||||
border-right: 1px solid #e8e8e8;
|
border-right: 1px solid #e8e8e8;
|
||||||
color: #333;
|
color: #333;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
|
::v-deep .el-radio-group{
|
||||||
::v-deep .checkBox {
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.checkall {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
::v-deep .el-checkbox-group {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding-left: 10px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
::v-deep .el-radio{
|
||||||
::v-deep .is-checked {
|
width: 100%;
|
||||||
background: rgb(242, 249, 255);
|
margin-right: 0;
|
||||||
margin-bottom: 4px;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
.cancelBtn{
|
||||||
::v-deep .el-checkbox {
|
text-align: center;
|
||||||
padding-left: 8px;
|
height: 40px;
|
||||||
margin-right: 4px;
|
line-height: 40px;
|
||||||
}
|
background: #6da4e8;
|
||||||
|
color: #fff;
|
||||||
.all {
|
border-radius: 4px;
|
||||||
width: calc(100% - 4px);
|
margin: 10px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user