|
@@ -38,7 +38,7 @@
|
|
|
<el-row>
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="保险公司">
|
|
<el-form-item label="保险公司">
|
|
|
- <el-cascader ref="insuranceCascaderRef1" style="width: 100%;"
|
|
|
|
|
|
|
+ <el-cascader ref="insuranceCascaderRef1" style="width: 85%;"
|
|
|
v-model="searchForm.companyId" :show-all-levels="false" :options="prodInsurance"
|
|
v-model="searchForm.companyId" :show-all-levels="false" :options="prodInsurance"
|
|
|
:props="optionProps" @change="prodhandleChange1" clearable filterable></el-cascader>
|
|
:props="optionProps" @change="prodhandleChange1" clearable filterable></el-cascader>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -75,15 +75,13 @@
|
|
|
<el-row type="flex" justify="end">
|
|
<el-row type="flex" justify="end">
|
|
|
<el-col :span="4" style="margin-top: 2px">
|
|
<el-col :span="4" style="margin-top: 2px">
|
|
|
<el-button
|
|
<el-button
|
|
|
- size="medium"
|
|
|
|
|
|
|
+ size="small"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
- style="background-color: #00bc70; border: 1px solid #00bc70"
|
|
|
|
|
@click="queryProduct"
|
|
@click="queryProduct"
|
|
|
>查询</el-button>
|
|
>查询</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- size="medium"
|
|
|
|
|
|
|
+ size="small"
|
|
|
@click="resetQueryConditions"
|
|
@click="resetQueryConditions"
|
|
|
- style="background-color: #ffffff; border: 1px solid c6e2ff"
|
|
|
|
|
>重置</el-button>
|
|
>重置</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -91,13 +89,13 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 操作按钮 -->
|
|
<!-- 操作按钮 -->
|
|
|
<div class="data-table-caption">
|
|
<div class="data-table-caption">
|
|
|
- <el-button
|
|
|
|
|
- size="small"
|
|
|
|
|
- type="primary"
|
|
|
|
|
|
|
+ <kt-button
|
|
|
icon="fa fa-plus"
|
|
icon="fa fa-plus"
|
|
|
- style="background-color: #00bc70; border: 1px solid #00bc70"
|
|
|
|
|
|
|
+ label="添加产品"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ perms="sys:productEntry1:add"
|
|
|
@click="addProduct"
|
|
@click="addProduct"
|
|
|
- >添加产品</el-button>
|
|
|
|
|
|
|
+ />
|
|
|
</div>
|
|
</div>
|
|
|
<!-- 查询结果-->
|
|
<!-- 查询结果-->
|
|
|
<div class="table-wrap">
|
|
<div class="table-wrap">
|
|
@@ -133,13 +131,13 @@
|
|
|
<el-table-column prop="validEndDate" label="销售结束时间" min-width="140"></el-table-column>
|
|
<el-table-column prop="validEndDate" label="销售结束时间" min-width="140"></el-table-column>
|
|
|
<el-table-column fixed="right" label="操作" width="120">
|
|
<el-table-column fixed="right" label="操作" width="120">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <el-button
|
|
|
|
|
- @click="editProduct(scope.$index, scope.row,'Edit')"
|
|
|
|
|
- type="primary"
|
|
|
|
|
- icon="el-icon-edit"
|
|
|
|
|
- style="background-color: #00bc70; border: 1px solid #00bc70"
|
|
|
|
|
- size="small"
|
|
|
|
|
- >编辑明细</el-button>
|
|
|
|
|
|
|
+ <kt-button
|
|
|
|
|
+ icon="fa fa-edit"
|
|
|
|
|
+ label="编辑明细"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ perms="sys:productEntry1:edit"
|
|
|
|
|
+ @click="editProduct(scope.$index, scope.row,'Edit')"
|
|
|
|
|
+ />
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -504,10 +502,13 @@ import Cookies from "js-cookie";
|
|
|
import tree from "@/components/ztree.vue"; //机构树组件
|
|
import tree from "@/components/ztree.vue"; //机构树组件
|
|
|
import { pathToBase64, base64ToPath } from "@/common/image-tools-base64.js";
|
|
import { pathToBase64, base64ToPath } from "@/common/image-tools-base64.js";
|
|
|
import Editor from "../../../components/Tinymce";
|
|
import Editor from "../../../components/Tinymce";
|
|
|
|
|
+import KtButton from "@/views/Core/KtButton"; //按钮权限组件
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
tree,
|
|
tree,
|
|
|
- Editor
|
|
|
|
|
|
|
+ Editor,
|
|
|
|
|
+ KtButton
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
pickerOptionsEnd() {
|
|
pickerOptionsEnd() {
|
|
@@ -1236,7 +1237,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.com-pro-search {
|
|
.com-pro-search {
|
|
|
- margin-bottom: 10px;
|
|
|
|
|
|
|
+ margin: 10px 0;
|
|
|
.el-form {
|
|
.el-form {
|
|
|
padding: 0px 20px;
|
|
padding: 0px 20px;
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|