|
@@ -156,30 +156,10 @@
|
|
|
:total="pageRequest.totalSize"
|
|
:total="pageRequest.totalSize"
|
|
|
style="float: left; margin-left: 20px"
|
|
style="float: left; margin-left: 20px"
|
|
|
></el-pagination>
|
|
></el-pagination>
|
|
|
- <!-- <kt-common-table
|
|
|
|
|
- v-if="flag"
|
|
|
|
|
- v-loading="loading"
|
|
|
|
|
- element-loading-text="拼命加载中..."
|
|
|
|
|
- element-loading-spinner="el-icon-loading"
|
|
|
|
|
- :operationWidth="operationWidth"
|
|
|
|
|
- class="ktTable"
|
|
|
|
|
- ref="dataTable"
|
|
|
|
|
- :data="pageRequest"
|
|
|
|
|
- :columns="columns"
|
|
|
|
|
- :showBatchDelete="false"
|
|
|
|
|
- :showOperation="showOperation"
|
|
|
|
|
- button2Name="详情"
|
|
|
|
|
- @findPage="findPage"
|
|
|
|
|
- :isshowpagination="true"
|
|
|
|
|
- @handleButton2="handleDetail"
|
|
|
|
|
- button3Name="人员详情"
|
|
|
|
|
- @handleButton3="handlePersonnelDetail"
|
|
|
|
|
- >
|
|
|
|
|
- </kt-common-table> -->
|
|
|
|
|
</SplitArea>
|
|
</SplitArea>
|
|
|
</Split>
|
|
</Split>
|
|
|
-
|
|
|
|
|
- <el-dialog
|
|
|
|
|
|
|
+<RegionTable ref="regionTable" @handledetailClick="handledetailClick" > </RegionTable>
|
|
|
|
|
+ <!-- <el-dialog
|
|
|
class="dialog detailtTable"
|
|
class="dialog detailtTable"
|
|
|
:title="title"
|
|
:title="title"
|
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
@@ -197,7 +177,6 @@
|
|
|
row-key
|
|
row-key
|
|
|
border
|
|
border
|
|
|
default-expand-all
|
|
default-expand-all
|
|
|
-
|
|
|
|
|
:header-cell-style="{
|
|
:header-cell-style="{
|
|
|
background: '#F2F7FC',
|
|
background: '#F2F7FC',
|
|
|
fontWeight: '900',
|
|
fontWeight: '900',
|
|
@@ -207,6 +186,7 @@
|
|
|
<el-table-column type="index" label="序号" align="center" width="50"></el-table-column>
|
|
<el-table-column type="index" label="序号" align="center" width="50"></el-table-column>
|
|
|
<el-table-column v-if="isPersonnel" prop="userName" label="人员姓名" align="center" ></el-table-column>
|
|
<el-table-column v-if="isPersonnel" prop="userName" label="人员姓名" align="center" ></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
|
+ v-else
|
|
|
prop="insCompany"
|
|
prop="insCompany"
|
|
|
label="保险名称"
|
|
label="保险名称"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -260,6 +240,12 @@
|
|
|
align="center"
|
|
align="center"
|
|
|
:label="item.label"
|
|
:label="item.label"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ label="操作">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-button @click="handleClick(scope.row)" type="text" size="small">详情</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</div>
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -277,15 +263,16 @@
|
|
|
</div>
|
|
</div>
|
|
|
<el-button @click="resetForm" size="small">取 消</el-button>
|
|
<el-button @click="resetForm" size="small">取 消</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- </el-dialog>
|
|
|
|
|
|
|
+ </el-dialog> -->
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
import KtCommonTable from "@/views/Core/KtCommonTable.vue"; //表格组件
|
|
import KtCommonTable from "@/views/Core/KtCommonTable.vue"; //表格组件
|
|
|
import KtButton from "@/views/Core/KtButton"; // 按钮权限组件
|
|
import KtButton from "@/views/Core/KtButton"; // 按钮权限组件
|
|
|
|
|
+ import RegionTable from "../RegionTable.vue"; // 按钮权限组件
|
|
|
export default {
|
|
export default {
|
|
|
name: "InvoiceInformation",
|
|
name: "InvoiceInformation",
|
|
|
- components: { KtCommonTable, KtButton },
|
|
|
|
|
|
|
+ components: { KtCommonTable, KtButton ,RegionTable},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
isPersonnel:false,
|
|
isPersonnel:false,
|
|
@@ -472,23 +459,42 @@
|
|
|
//查看详情
|
|
//查看详情
|
|
|
handleDetail(index) {
|
|
handleDetail(index) {
|
|
|
this.detailParams.areaCode = index.areaCode;
|
|
this.detailParams.areaCode = index.areaCode;
|
|
|
- this.detailDialog = true;
|
|
|
|
|
- this.quMarks='1'
|
|
|
|
|
- this.getDetailData()
|
|
|
|
|
- this.isPersonnel=false
|
|
|
|
|
|
|
+ this.$refs.regionTable.detaiList={
|
|
|
|
|
+ userId:this.userId,
|
|
|
|
|
+ createTimeStart:this.formData.createTimeStart,
|
|
|
|
|
+ createTimeEnd:this.formData.createTimeEnd,
|
|
|
|
|
+ quMarks:'1'
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$refs.regionTable.open()
|
|
|
|
|
+ this.$refs.regionTable.getDetailData()
|
|
|
|
|
+ // this.detailDialog = true;
|
|
|
|
|
+ // this.quMarks='1'
|
|
|
|
|
+ // this.getDetailData()
|
|
|
|
|
+ // this.isPersonnel=false
|
|
|
},
|
|
},
|
|
|
handlePersonnelDetail(index) {
|
|
handlePersonnelDetail(index) {
|
|
|
- this.quMarks='2'
|
|
|
|
|
|
|
+ // this.quMarks='2'
|
|
|
this.detailParams.areaCode = index.areaCode;
|
|
this.detailParams.areaCode = index.areaCode;
|
|
|
- this.detailDialog = true;
|
|
|
|
|
- this.getDetailData()
|
|
|
|
|
- this.isPersonnel=true
|
|
|
|
|
|
|
+ this.$refs.regionTable.detaiList={
|
|
|
|
|
+ userId:this.userId,
|
|
|
|
|
+ createTimeStart:this.formData.createTimeStart,
|
|
|
|
|
+ createTimeEnd:this.formData.createTimeEnd,
|
|
|
|
|
+ quMarks:'2'
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$refs.regionTable.open()
|
|
|
|
|
+ this.$refs.regionTable.getDetailData()
|
|
|
|
|
+ // this.detailDialog = true;
|
|
|
|
|
+ // this.getDetailData()
|
|
|
|
|
+ // this.isPersonnel=true
|
|
|
|
|
+ },
|
|
|
|
|
+ handledetailClick(row){
|
|
|
|
|
+ console.log(111111);
|
|
|
},
|
|
},
|
|
|
- getDetailData(){
|
|
|
|
|
|
|
+ getDetailData(data){
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
this.$api.user.quUserNumDetail({...this.detailParams,userId:this.userId,createTimeStart:this.formData.createTimeStart,createTimeEnd:this.formData.createTimeEnd,quMarks:this.quMarks }).then((res) => {
|
|
this.$api.user.quUserNumDetail({...this.detailParams,userId:this.userId,createTimeStart:this.formData.createTimeStart,createTimeEnd:this.formData.createTimeEnd,quMarks:this.quMarks }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
- this.detailData = res.data.records;
|
|
|
|
|
|
|
+ this.tableData = res.data.records;
|
|
|
this.detailParams.pageNum = res.data.current;
|
|
this.detailParams.pageNum = res.data.current;
|
|
|
this.detailParams.pageSize = res.data.size;
|
|
this.detailParams.pageSize = res.data.size;
|
|
|
this.detailParams.totalPages = res.data.pages;
|
|
this.detailParams.totalPages = res.data.pages;
|