|
@@ -9,7 +9,7 @@
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
<template #default="{ list }">
|
|
<template #default="{ list }">
|
|
- <Column label="代理商ID" :searchParams="queryParams" :showSearch="true" fixed prop="agentId" sortable="custom"/>
|
|
|
|
|
|
+<!-- <Column label="代理商ID" :searchParams="queryParams" :showSearch="true" fixed prop="agentId" sortable="custom"/>-->
|
|
<!--代理商编号-->
|
|
<!--代理商编号-->
|
|
<Column :label="$t('agent.agentNo')" :searchParams="queryParams" :showSearch="true" fixed prop="agentNo" sortable="custom"/>
|
|
<Column :label="$t('agent.agentNo')" :searchParams="queryParams" :showSearch="true" fixed prop="agentNo" sortable="custom"/>
|
|
<!--代理商名称-->
|
|
<!--代理商名称-->
|
|
@@ -52,6 +52,9 @@
|
|
</template>
|
|
</template>
|
|
</Column>
|
|
</Column>
|
|
|
|
|
|
|
|
+ <!--授权区域-->
|
|
|
|
+ <Column :label="$t('agent.authorizedArea')" prop="authorizedArea" width="250" show-search :searchParams="queryParams"/>
|
|
|
|
+
|
|
<!--城市-->
|
|
<!--城市-->
|
|
<Column :label="$t('project.city')" prop="city" show-search :searchParams="queryParams"/>
|
|
<Column :label="$t('project.city')" prop="city" show-search :searchParams="queryParams"/>
|
|
|
|
|
|
@@ -75,6 +78,12 @@
|
|
<!-- 协议失效日期-->
|
|
<!-- 协议失效日期-->
|
|
<Column :label="$t('agent.protocolEndDate')" prop="protocolEndDate" show-search :searchParams="queryParams"
|
|
<Column :label="$t('agent.protocolEndDate')" prop="protocolEndDate" show-search :searchParams="queryParams"
|
|
search-type="dateRange" prop-start="protocolEsDate" prop-end="protocolEeDate" width="250"/>
|
|
search-type="dateRange" prop-start="protocolEsDate" prop-end="protocolEeDate" width="250"/>
|
|
|
|
+
|
|
|
|
+ <!--创建时间-->
|
|
|
|
+ <Column :label="$t('common.createTime')" :searchParams="queryParams" :showSearch="true" prop="createTime"
|
|
|
|
+ searchType="dateRange" prop-start="beginTime" prop-end="endTime" width="300px">
|
|
|
|
+
|
|
|
|
+ </Column>
|
|
<!--国家-->
|
|
<!--国家-->
|
|
<!-- <Column :label="$t('account.country')" :search-dict="curCountryOps" :showSearch="true" label-prop="second"-->
|
|
<!-- <Column :label="$t('account.country')" :search-dict="curCountryOps" :showSearch="true" label-prop="second"-->
|
|
<!-- prop="countryId"-->
|
|
<!-- prop="countryId"-->
|
|
@@ -86,16 +95,16 @@
|
|
<!-- </Column>-->
|
|
<!-- </Column>-->
|
|
|
|
|
|
<Column :label="$t('common.operate')" :min-width="180" :showSearch="true" fixed="right" searchType="operate">
|
|
<Column :label="$t('common.operate')" :min-width="180" :showSearch="true" fixed="right" searchType="operate">
|
|
- <template #default="{ row }">
|
|
|
|
- <!--编辑-->
|
|
|
|
- <el-button v-hasPermi="['user:tcAgentHistory:edit']" :disabled="row.agentId === 0" icon="el-icon-edit" size="mini"
|
|
|
|
- type="text" @click="handleUpdate(row)">{{ $t('common.edit') }}
|
|
|
|
- </el-button>
|
|
|
|
- <!--删除-->
|
|
|
|
- <el-button v-hasPermi="['user:tcAgentHistory:del']" :disabled="row.agentId === 0" icon="el-icon-delete" size="mini"
|
|
|
|
- type="text" @click="handleDelete(row)">{{ $t('common.delete') }}
|
|
|
|
- </el-button>
|
|
|
|
- </template>
|
|
|
|
|
|
+<!-- <template #default="{ row }">-->
|
|
|
|
+<!-- <!–编辑–>-->
|
|
|
|
+<!-- <el-button v-hasPermi="['user:tcAgentHistory:edit']" :disabled="row.agentId === 0" icon="el-icon-edit" size="mini"-->
|
|
|
|
+<!-- type="text" @click="handleUpdate(row)">{{ $t('common.edit') }}-->
|
|
|
|
+<!-- </el-button>-->
|
|
|
|
+<!-- <!–删除–>-->
|
|
|
|
+<!-- <el-button v-hasPermi="['user:tcAgentHistory:del']" :disabled="row.agentId === 0" icon="el-icon-delete" size="mini"-->
|
|
|
|
+<!-- type="text" @click="handleDelete(row)">{{ $t('common.delete') }}-->
|
|
|
|
+<!-- </el-button>-->
|
|
|
|
+<!-- </template>-->
|
|
</Column>
|
|
</Column>
|
|
|
|
|
|
</template>
|
|
</template>
|
|
@@ -104,7 +113,6 @@
|
|
</card-table>
|
|
</card-table>
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
<!-- <el-form-item label="负责人名称" prop="head">-->
|
|
<!-- <el-form-item label="负责人名称" prop="head">-->
|
|
<!-- <el-input v-model="queryParams.head" placeholder="请输入负责人名称" clearable @keyup.enter.native="handleQuery"/>-->
|
|
<!-- <el-input v-model="queryParams.head" placeholder="请输入负责人名称" clearable @keyup.enter.native="handleQuery"/>-->
|
|
<!-- </el-form-item>-->
|
|
<!-- </el-form-item>-->
|
|
@@ -117,49 +125,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-<!-- <el-table v-loading="loading" :data="historyList" @selection-change="handleSelectionChange">-->
|
|
|
|
-
|
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
|
-<!-- <span>{{ parseTime(scope.row.protocolStartDate, '{y}-{m}-{d}') }}</span>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
-<!-- <el-table-column label="协议失效日期" align="center" prop="protocolEndDate" width="180">-->
|
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
|
-<!-- <span>{{ parseTime(scope.row.protocolEndDate, '{y}-{m}-{d}') }}</span>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
-<!-- <el-table-column label="授权区域" align="center" prop="authorizedArea" />-->
|
|
|
|
-<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">-->
|
|
|
|
-<!-- <template slot-scope="scope">-->
|
|
|
|
-<!-- <el-button-->
|
|
|
|
-<!-- size="mini"-->
|
|
|
|
-<!-- type="text"-->
|
|
|
|
-<!-- icon="el-icon-edit"-->
|
|
|
|
-<!-- @click="handleUpdate(scope.row)"-->
|
|
|
|
-<!-- v-hasPermi="['system:history:edit']"-->
|
|
|
|
-<!-- >修改</el-button>-->
|
|
|
|
-<!-- <el-button-->
|
|
|
|
-<!-- size="mini"-->
|
|
|
|
-<!-- type="text"-->
|
|
|
|
-<!-- icon="el-icon-delete"-->
|
|
|
|
-<!-- @click="handleDelete(scope.row)"-->
|
|
|
|
-<!-- v-hasPermi="['system:history:remove']"-->
|
|
|
|
-<!-- >删除</el-button>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
-<!-- </el-table>-->
|
|
|
|
-
|
|
|
|
-<!-- <pagination-->
|
|
|
|
-<!-- v-show="total>0"-->
|
|
|
|
-<!-- :total="total"-->
|
|
|
|
-<!-- :page.sync="queryParams.pageNum"-->
|
|
|
|
-<!-- :limit.sync="queryParams.pageSize"-->
|
|
|
|
-<!-- @pagination="getList"-->
|
|
|
|
-<!-- />-->
|
|
|
|
-
|
|
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -352,6 +317,7 @@ export default {
|
|
this.$set(this.form, 'protocolStartDate', null)
|
|
this.$set(this.form, 'protocolStartDate', null)
|
|
this.$set(this.form, 'protocolEndDate', null)
|
|
this.$set(this.form, 'protocolEndDate', null)
|
|
this.$set(this.form, 'authorizedArea', null)
|
|
this.$set(this.form, 'authorizedArea', null)
|
|
|
|
+ this.$set(this.form, 'parentAgentName', null)
|
|
//this.resetForm("form");
|
|
//this.resetForm("form");
|
|
this.areaTree = [];
|
|
this.areaTree = [];
|
|
},
|
|
},
|
|
@@ -363,7 +329,6 @@ export default {
|
|
/** 重置按钮操作 */
|
|
/** 重置按钮操作 */
|
|
resetQuery() {
|
|
resetQuery() {
|
|
this.$set(this.queryParams, 'agentId', null)
|
|
this.$set(this.queryParams, 'agentId', null)
|
|
- this.$set(this.queryParams, 'id', null)
|
|
|
|
this.$set(this.queryParams, 'agentNo', null)
|
|
this.$set(this.queryParams, 'agentNo', null)
|
|
this.$set(this.queryParams, 'agentName', null)
|
|
this.$set(this.queryParams, 'agentName', null)
|
|
this.$set(this.queryParams, 'areaId', null)
|
|
this.$set(this.queryParams, 'areaId', null)
|
|
@@ -381,17 +346,28 @@ export default {
|
|
this.$set(this.queryParams, 'address', null)
|
|
this.$set(this.queryParams, 'address', null)
|
|
this.$set(this.queryParams, 'status', null)
|
|
this.$set(this.queryParams, 'status', null)
|
|
this.$set(this.queryParams, 'permissionChar', null)
|
|
this.$set(this.queryParams, 'permissionChar', null)
|
|
- this.$set(this.queryParams, 'delFlag', null)
|
|
|
|
- this.$set(this.queryParams, 'createTime', null)
|
|
|
|
- this.$set(this.queryParams, 'createBy', null)
|
|
|
|
- this.$set(this.queryParams, 'updateTime', null)
|
|
|
|
- this.$set(this.queryParams, 'updateBy', null)
|
|
|
|
- this.$set(this.queryParams, 'remark', null)
|
|
|
|
this.$set(this.queryParams, 'origin', null)
|
|
this.$set(this.queryParams, 'origin', null)
|
|
this.$set(this.queryParams, 'firstCooperationYear', null)
|
|
this.$set(this.queryParams, 'firstCooperationYear', null)
|
|
this.$set(this.queryParams, 'protocolStartDate', null)
|
|
this.$set(this.queryParams, 'protocolStartDate', null)
|
|
this.$set(this.queryParams, 'protocolEndDate', null)
|
|
this.$set(this.queryParams, 'protocolEndDate', null)
|
|
this.$set(this.queryParams, 'authorizedArea', null)
|
|
this.$set(this.queryParams, 'authorizedArea', null)
|
|
|
|
+
|
|
|
|
+ this.$set(this.queryParams, 'protocolSsDate', null);
|
|
|
|
+ this.$set(this.queryParams, 'protocolSeDate', null);
|
|
|
|
+ this.$set(this.queryParams, 'protocolEsDate', null);
|
|
|
|
+ this.$set(this.queryParams, 'protocolEeDate', null);
|
|
|
|
+
|
|
|
|
+ this.$set(this.queryParams, 'areaIds', null)
|
|
|
|
+ this.$set(this.queryParams, 'parentAgentName', null)
|
|
|
|
+ this.$set(this.queryParams, 'parentSalerName', null)
|
|
|
|
+ this.$set(this.queryParams, 'agentLevels', null)
|
|
|
|
+ this.$set(this.queryParams, 'origins', null)
|
|
|
|
+
|
|
|
|
+ this.$set(this.queryParams, 'beginTime', null)
|
|
|
|
+ this.$set(this.queryParams, 'endTime', null)
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
},
|
|
},
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|