|
@@ -1,6 +1,41 @@
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
-
|
|
|
|
|
|
+ <slot name="header">
|
|
|
|
+ <el-row class="radio">
|
|
|
|
+ <el-radio-group v-model="region">
|
|
|
|
+ <el-radio label="">全部经销商</el-radio>
|
|
|
|
+ <!-- <el-radio label="1">地区</el-radio>-->
|
|
|
|
+ <!-- <el-radio label="2">指定</el-radio>-->
|
|
|
|
+ </el-radio-group>
|
|
|
|
+ <el-upload
|
|
|
|
+ class="import-btn"
|
|
|
|
+ :action="baseURL + 'student/import'"
|
|
|
|
+ :http-request="handleImport"
|
|
|
|
+ :file-list="importFileList"
|
|
|
|
+ :show-file-list="false"
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ >导入经销商</el-button>
|
|
|
|
+ </el-upload>
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ @click="hanleDownloadFiles"
|
|
|
|
+ >下载模板</el-button>
|
|
|
|
+ </el-row>
|
|
|
|
+ <el-row type="flex">
|
|
|
|
+ <el-col>
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="keyword"
|
|
|
|
+ placeholder="查找经销商"
|
|
|
|
+ size="small"
|
|
|
|
+ />
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col style="margin-left: 10px"><el-button size="small" @click="getList">确定</el-button></el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ </slot>
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :span="10" :offset="0">
|
|
<el-col :span="10" :offset="0">
|
|
<h5>未选经销商</h5>
|
|
<h5>未选经销商</h5>
|
|
@@ -109,35 +144,25 @@
|
|
</el-table>
|
|
</el-table>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
- <div>
|
|
|
|
- <el-button
|
|
|
|
- v-if="$parent.isShow == 5"
|
|
|
|
- type="primary"
|
|
|
|
- size="default"
|
|
|
|
- @click="handleSave"
|
|
|
|
- >保存</el-button>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <slot name="footer">
|
|
|
|
+ <el-row style="margin:20px 0 0 0;">
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="small"
|
|
|
|
+ @click="handleSave"
|
|
|
|
+ >提交审核</el-button>
|
|
|
|
+ <el-button type="primary" size="small" @click="handleReset">重置</el-button>
|
|
|
|
+ </el-row>
|
|
|
|
+ </slot>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import {
|
|
|
|
- deleteCondition,
|
|
|
|
- deleteMaterialPolicy,
|
|
|
|
- getConditionList,
|
|
|
|
- getCrList,
|
|
|
|
- getCustomerList,
|
|
|
|
- getMaterialList,
|
|
|
|
- getPolicyDetail,
|
|
|
|
- toExamine,
|
|
|
|
- updatePolicy
|
|
|
|
-} from '@/api/policy_list'
|
|
|
|
|
|
+import { deleteCondition, deleteMaterialPolicy, getConditionList, getCrList, getCustomerList } from '@/api/policy_list'
|
|
|
|
+import { downloadFiles, handleImport } from '@/utils/util'
|
|
import EditCondition from './EditCondition'
|
|
import EditCondition from './EditCondition'
|
|
import ImageUpload from '@/components/Common/image-upload.vue'
|
|
import ImageUpload from '@/components/Common/image-upload.vue'
|
|
-
|
|
|
|
-import { handleImport } from '@/utils/util'
|
|
|
|
-
|
|
|
|
import Minxin from '@/mixin'
|
|
import Minxin from '@/mixin'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -147,15 +172,18 @@ export default {
|
|
ImageUpload
|
|
ImageUpload
|
|
},
|
|
},
|
|
mixins: [Minxin],
|
|
mixins: [Minxin],
|
|
|
|
+ // eslint-disable-next-line vue/require-prop-types
|
|
|
|
+ props: ['code'],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ keyword: '',
|
|
|
|
+ region: '',
|
|
baseURL: '',
|
|
baseURL: '',
|
|
dcurrentPage: 1,
|
|
dcurrentPage: 1,
|
|
dpageSize: 10,
|
|
dpageSize: 10,
|
|
dlistTotal: 0,
|
|
dlistTotal: 0,
|
|
currentPages: 1, // 当前页码
|
|
currentPages: 1, // 当前页码
|
|
pageSizes: 10, // 每页数量
|
|
pageSizes: 10, // 每页数量
|
|
- clistTotal: 0,
|
|
|
|
input: '',
|
|
input: '',
|
|
remark: '',
|
|
remark: '',
|
|
fileList: [],
|
|
fileList: [],
|
|
@@ -191,7 +219,6 @@ export default {
|
|
clistTotal: 0,
|
|
clistTotal: 0,
|
|
clistTotals: 0,
|
|
clistTotals: 0,
|
|
type: 1,
|
|
type: 1,
|
|
- fileList: [],
|
|
|
|
importFileList: [],
|
|
importFileList: [],
|
|
leftData: [],
|
|
leftData: [],
|
|
rightData: [],
|
|
rightData: [],
|
|
@@ -204,68 +231,46 @@ export default {
|
|
value: 'LIMIT',
|
|
value: 'LIMIT',
|
|
label: '限量'
|
|
label: '限量'
|
|
}
|
|
}
|
|
- ]
|
|
|
|
|
|
+ ],
|
|
|
|
+ comCode: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- computed: {
|
|
|
|
- comTitle() {
|
|
|
|
- let title = '详情页'
|
|
|
|
- if (this.$parent.isShow == 5) {
|
|
|
|
- title = '编辑页'
|
|
|
|
- } else if (this.$parent.isShow == 8) {
|
|
|
|
- title = '审核页'
|
|
|
|
- } else {
|
|
|
|
- title = '详情页'
|
|
|
|
- }
|
|
|
|
- return title
|
|
|
|
- }
|
|
|
|
|
|
+ created() {
|
|
|
|
+ this.comCode = this.code
|
|
|
|
+ console.log(this.code,'kkkkk')
|
|
|
|
+ this.getCond()
|
|
|
|
+ },
|
|
|
|
+ updated() {
|
|
|
|
+ this.comCode = this.code
|
|
|
|
+ console.log(this.code,'kkkkk')
|
|
},
|
|
},
|
|
- created() {},
|
|
|
|
methods: {
|
|
methods: {
|
|
getList() {
|
|
getList() {
|
|
- this.listLoading = true
|
|
|
|
- getPolicyDetail({ policyId: this.$parent.id }).then((res) => {
|
|
|
|
- this.detail = res.data
|
|
|
|
- this.srcList = [this.$imageUrl + this.detail.imgSrc]
|
|
|
|
- if (this.$parent.isShow == 5 && this.detail.imgSrc) {
|
|
|
|
- this.fileList = [
|
|
|
|
- {
|
|
|
|
- hover: '',
|
|
|
|
- url: this.detail.imgSrc
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- this.handletwoList()
|
|
|
|
- // 获取条件政策
|
|
|
|
- this.getConditionList()
|
|
|
|
- this.getCond()
|
|
|
|
- })
|
|
|
|
|
|
+ this.getCrList()
|
|
|
|
+ this.getCond()
|
|
},
|
|
},
|
|
-
|
|
|
|
getCrList() {
|
|
getCrList() {
|
|
const customerParams = {
|
|
const customerParams = {
|
|
- pageNum: this.currentPage,
|
|
|
|
- pageSize: this.pageSize,
|
|
|
|
- keyword: this.region == 1 || this.region == '' ? '' : this.keyword,
|
|
|
|
- region: this.region == 1 ? this.keyword : ''
|
|
|
|
|
|
+ pageNum: this.currentPages,
|
|
|
|
+ pageSize: this.pageSizes,
|
|
|
|
+ keyword: this.keyword,
|
|
|
|
+ region: ''
|
|
}
|
|
}
|
|
// 获取经销商列表
|
|
// 获取经销商列表
|
|
getCrList(customerParams).then((res) => {
|
|
getCrList(customerParams).then((res) => {
|
|
|
|
+ this.dataL = res.data.records
|
|
for (let j = 0; j < this.custoList.length; j++) {
|
|
for (let j = 0; j < this.custoList.length; j++) {
|
|
for (let i = 0; i < res.data.records.length; i++) {
|
|
for (let i = 0; i < res.data.records.length; i++) {
|
|
- if (res.data.records[i].id == this.custoList[j].customerId) {
|
|
|
|
|
|
+ if (res.data.records[i].id === this.custoList[j].customerId) {
|
|
res.data.records[i].disabled = true
|
|
res.data.records[i].disabled = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- this.dataL = res.data.records
|
|
|
|
for (let k = 0; k < this.dataL.length; k++) {
|
|
for (let k = 0; k < this.dataL.length; k++) {
|
|
(this.dataL[k].customerId = this.dataL[k].id),
|
|
(this.dataL[k].customerId = this.dataL[k].id),
|
|
(this.dataL[k].customerName = this.dataL[k].name),
|
|
(this.dataL[k].customerName = this.dataL[k].name),
|
|
(this.dataL[k].customerNumber = this.dataL[k].number)
|
|
(this.dataL[k].customerNumber = this.dataL[k].number)
|
|
}
|
|
}
|
|
-
|
|
|
|
- console.log(this.dataL, '获取经销商列表')
|
|
|
|
this.clistTotal = res.data.total
|
|
this.clistTotal = res.data.total
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -273,114 +278,89 @@ export default {
|
|
handleSizeChanges(val) {
|
|
handleSizeChanges(val) {
|
|
this.pageSizes = val
|
|
this.pageSizes = val
|
|
this.currentPages = 1
|
|
this.currentPages = 1
|
|
- this.getCond()
|
|
|
|
|
|
+ this.getCrList()
|
|
},
|
|
},
|
|
// 更改当前页
|
|
// 更改当前页
|
|
handleCurrentChanges(val) {
|
|
handleCurrentChanges(val) {
|
|
this.currentPages = val
|
|
this.currentPages = val
|
|
- this.getCond()
|
|
|
|
|
|
+ this.getCrList()
|
|
},
|
|
},
|
|
- // 更改每页数量
|
|
|
|
- handleSizeChange2(val) {
|
|
|
|
- this.dpageSize = val
|
|
|
|
- this.dcurrentPage = 1
|
|
|
|
- this.handletwoList()
|
|
|
|
|
|
+ // 去掉相同数据
|
|
|
|
+ resArr(arr1, arr2) {
|
|
|
|
+ return arr1.filter((v) => arr2.every((val) => val.id !== v.id))
|
|
},
|
|
},
|
|
- // 更改当前页
|
|
|
|
- handleCurrentChange2(val) {
|
|
|
|
- this.dcurrentPage = val
|
|
|
|
- this.handletwoList()
|
|
|
|
|
|
+ // 导入经销商模板
|
|
|
|
+ async handleImport(param) {
|
|
|
|
+ this.importLoading = true
|
|
|
|
+ const file = param.file
|
|
|
|
+ const formData = new FormData()
|
|
|
|
+ formData.append('file', file)
|
|
|
|
+ // formData.append('policyId', this.searchForm.code)
|
|
|
|
+ // formData.append("mainId", this.searchForm.mainId);
|
|
|
|
+ const result = await handleImport('/policy/importCustomer', formData)
|
|
|
|
+ console.log(result)
|
|
|
|
+ this.importLoading = false
|
|
|
|
+ this.importFileList = []
|
|
|
|
+ if (result.code === 200) {
|
|
|
|
+ await this.$alert(result.message, '导入成功', {
|
|
|
|
+ confirmButtonText: '确定'
|
|
|
|
+ })
|
|
|
|
+ for (let i = 0; i < result.data.length; i++) {
|
|
|
|
+ result.data[i].customerNumber = result.data[i].number
|
|
|
|
+ result.data[i].customerName = result.data[i].name
|
|
|
|
+ }
|
|
|
|
+ if (this.custoList.length) {
|
|
|
|
+ this.custoList = [...this.custoList, ...this.resArr(this.custoList, result.data)]
|
|
|
|
+ } else {
|
|
|
|
+ this.custoList = result.data
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ await this.$alert(result.message, '导入失败', {
|
|
|
|
+ confirmButtonText: '确定'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ // 下载经销商模板
|
|
|
|
+ hanleDownloadFiles() {
|
|
|
|
+ downloadFiles('/policy/customer_count/export', {
|
|
|
|
+ code: '',
|
|
|
|
+ remark: '',
|
|
|
|
+ title: ''
|
|
|
|
+ })
|
|
},
|
|
},
|
|
getCommonApi(row) {
|
|
getCommonApi(row) {
|
|
(this.isEdit = 2), (this.cid = row.id), (this.cpolicyId = row.policyId)
|
|
(this.isEdit = 2), (this.cid = row.id), (this.cpolicyId = row.policyId)
|
|
console.log(
|
|
console.log(
|
|
this.cpolicyId,
|
|
this.cpolicyId,
|
|
- this.detail.code,
|
|
|
|
- this.cpolicyId == this.detail.code
|
|
|
|
|
|
+ this.comCode,
|
|
|
|
+ this.cpolicyId == this.comCode
|
|
)
|
|
)
|
|
},
|
|
},
|
|
getCond() {
|
|
getCond() {
|
|
|
|
+ console.log(this.code , 'hhjkhkj',this.comCode,'999999')
|
|
this.listLoading = true
|
|
this.listLoading = true
|
|
const custoParams = {
|
|
const custoParams = {
|
|
pageNum: this.currentPages,
|
|
pageNum: this.currentPages,
|
|
pageSize: this.pageSizes,
|
|
pageSize: this.pageSizes,
|
|
- policyId: this.detail.code
|
|
|
|
|
|
+ policyId: this.comCode || this.code
|
|
}
|
|
}
|
|
getCustomerList(custoParams).then((res) => {
|
|
getCustomerList(custoParams).then((res) => {
|
|
this.custoList = res.data.records
|
|
this.custoList = res.data.records
|
|
|
|
+ console.log(this.custoList, '已选的')
|
|
this.clistTotals = res.data.total
|
|
this.clistTotals = res.data.total
|
|
this.listLoading = false
|
|
this.listLoading = false
|
|
- this.getCrList()
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- handleSubmit() {
|
|
|
|
- toExamine({
|
|
|
|
- examineStatus: this.examineStatus,
|
|
|
|
- policyId: this.$parent.id,
|
|
|
|
- examineRemark: this.remark
|
|
|
|
- }).then((res) => {
|
|
|
|
- this.$successMsg('已提交审核')
|
|
|
|
- this.$parent.isShow = 1
|
|
|
|
- this.$parent.getList()
|
|
|
|
|
|
+ // this.getCrList()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 获取货品信息
|
|
|
|
- handletwoList() {
|
|
|
|
- // this.searchForm.type
|
|
|
|
- const paramss = {
|
|
|
|
- pageNum: this.dcurrentPage,
|
|
|
|
- pageSize: this.dpageSize,
|
|
|
|
- policyId: this.detail.code,
|
|
|
|
- saleTypeCode: ''
|
|
|
|
- }
|
|
|
|
- getMaterialList(paramss)
|
|
|
|
- .then((result) => {
|
|
|
|
- this.dataList = result.data.records
|
|
|
|
- this.dlistTotal = result.data.total
|
|
|
|
- this.listLoading = false
|
|
|
|
- })
|
|
|
|
- .catch((err) => {
|
|
|
|
- console.error(err)
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- // 导入
|
|
|
|
- async handleImport(param) {
|
|
|
|
- this.importLoading = true
|
|
|
|
- const file = param.file
|
|
|
|
- console.log(file, 123)
|
|
|
|
- const formData = new FormData()
|
|
|
|
- formData.append('file', file)
|
|
|
|
- formData.append('policyId', this.detail.code)
|
|
|
|
- // formData.append("mainId", this.detail.mainId);
|
|
|
|
- const result = await handleImport('/policy/material/import', formData)
|
|
|
|
- this.importLoading = false
|
|
|
|
- this.importFileList = []
|
|
|
|
- if (result.code == 200) {
|
|
|
|
- this.$alert(result.message, '导入成功', {
|
|
|
|
- confirmButtonText: '确定'
|
|
|
|
- })
|
|
|
|
-
|
|
|
|
- this.handletwoList()
|
|
|
|
- } else {
|
|
|
|
- this.$alert(result.message, '导入失败', {
|
|
|
|
- confirmButtonText: '确定'
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
handleCondition(id, index) {
|
|
handleCondition(id, index) {
|
|
deleteCondition({ id }).then((res) => {
|
|
deleteCondition({ id }).then((res) => {
|
|
- // this.conditionList.splice(index, 1);
|
|
|
|
- // Object.assign(
|
|
|
|
- // this.$children[9].$data,
|
|
|
|
- // this.$children[9].$options.data()
|
|
|
|
- // );
|
|
|
|
this.getConditionList()
|
|
this.getConditionList()
|
|
this.$successMsg('删除成功')
|
|
this.$successMsg('删除成功')
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getConditionList() {
|
|
getConditionList() {
|
|
const condParams = {
|
|
const condParams = {
|
|
- policyId: this.detail.code
|
|
|
|
|
|
+ policyId: this.comCode
|
|
}
|
|
}
|
|
getConditionList(condParams).then((res) => {
|
|
getConditionList(condParams).then((res) => {
|
|
this.conditionList = res.data
|
|
this.conditionList = res.data
|
|
@@ -391,7 +371,6 @@ export default {
|
|
const params = { policyMaterialId: id }
|
|
const params = { policyMaterialId: id }
|
|
deleteMaterialPolicy(params).then((res) => {
|
|
deleteMaterialPolicy(params).then((res) => {
|
|
this.$successMsg('删除成功')
|
|
this.$successMsg('删除成功')
|
|
- this.handletwoList()
|
|
|
|
})
|
|
})
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
@@ -450,11 +429,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleAllDelete() {
|
|
handleAllDelete() {
|
|
- if (this.type == 2 && this.rightData.length) {
|
|
|
|
|
|
+ if (this.type === 2 && this.rightData.length) {
|
|
for (let i = 0; i < this.dataL.length; i++) {
|
|
for (let i = 0; i < this.dataL.length; i++) {
|
|
for (let j = 0; j < this.rightData.length; j++) {
|
|
for (let j = 0; j < this.rightData.length; j++) {
|
|
- if (this.dataL[i].id == this.rightData[j].customerId) {
|
|
|
|
|
|
+ if (this.dataL[i].id === this.rightData[j].customerId) {
|
|
this.$set(this.dataL[i], 'disabled', false)
|
|
this.$set(this.dataL[i], 'disabled', false)
|
|
|
|
+ // this.dataL[i].disabled = false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -465,10 +445,10 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleAdd() {
|
|
handleAdd() {
|
|
- if (this.type == 1 && this.leftData.length) {
|
|
|
|
|
|
+ if (this.type === 1 && this.leftData.length) {
|
|
for (let i = 0; i < this.dataL.length; i++) {
|
|
for (let i = 0; i < this.dataL.length; i++) {
|
|
for (let j = 0; j < this.leftData.length; j++) {
|
|
for (let j = 0; j < this.leftData.length; j++) {
|
|
- if (this.dataL[i].id == this.leftData[j].id) {
|
|
|
|
|
|
+ if (this.dataL[i].id === this.leftData[j].id) {
|
|
this.dataL[i].disabled = true
|
|
this.dataL[i].disabled = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -481,11 +461,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleDelete() {
|
|
handleDelete() {
|
|
- if (this.type == 2 && this.rightData.length) {
|
|
|
|
|
|
+ if (this.type === 2 && this.rightData.length) {
|
|
for (let i = 0; i < this.dataL.length; i++) {
|
|
for (let i = 0; i < this.dataL.length; i++) {
|
|
for (let j = 0; j < this.rightData.length; j++) {
|
|
for (let j = 0; j < this.rightData.length; j++) {
|
|
- if (this.dataL[i].id == this.rightData[j].customerId) {
|
|
|
|
|
|
+ if (this.dataL[i].id === this.rightData[j].customerId) {
|
|
this.$set(this.dataL[i], 'disabled', false)
|
|
this.$set(this.dataL[i], 'disabled', false)
|
|
|
|
+ // this.dataL[i].disabled = false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -497,43 +478,33 @@ export default {
|
|
},
|
|
},
|
|
// 去掉相同数据
|
|
// 去掉相同数据
|
|
resArr(arr1, arr2) {
|
|
resArr(arr1, arr2) {
|
|
- return arr1.filter((v) => arr2.every((val) => val.id != v.id))
|
|
|
|
|
|
+ return arr1.filter((v) => arr2.every((val) => val.id !== v.id))
|
|
},
|
|
},
|
|
- async handleSave() {
|
|
|
|
- if (this.custoList.length) {
|
|
|
|
- var arr = []
|
|
|
|
- this.custoList.forEach((el) => {
|
|
|
|
- arr.push({
|
|
|
|
- customerId: el.customerId,
|
|
|
|
- customerName: el.customerName,
|
|
|
|
- customerNumber: el.customerNumber,
|
|
|
|
- lastOrderTime: '',
|
|
|
|
- limitTakeNum: 0,
|
|
|
|
- policyId: this.detail.code,
|
|
|
|
- policyTitle: '',
|
|
|
|
- remark: ''
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
|
|
+ // 提交数据
|
|
|
|
|
|
- const params = {
|
|
|
|
- ...this.detail,
|
|
|
|
- policyCustomers: arr,
|
|
|
|
- imgSrc: this.fileList.length ? this.fileList[0].url : ''
|
|
|
|
- }
|
|
|
|
- await updatePolicy(params)
|
|
|
|
- await this.getCond()
|
|
|
|
- this.$successMsg('编辑成功')
|
|
|
|
- this.fileList = []
|
|
|
|
- this.$parent.isShow = 1
|
|
|
|
- }
|
|
|
|
|
|
+ async handleSave() {
|
|
|
|
+ this.$emit('handlEditPolicy', this.custoList)
|
|
|
|
+ },
|
|
|
|
+ handleReset() {
|
|
|
|
+ this.dataR = this.rightData = []
|
|
|
|
+ this.keyword = ''
|
|
|
|
+ this.$emit('handleReset')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+.radio{
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin: 0 0 20px 0;
|
|
|
|
+}
|
|
|
|
+.import-btn{
|
|
|
|
+ margin:0 10px;
|
|
|
|
+}
|
|
.el-col {
|
|
.el-col {
|
|
- overflow: hidden;
|
|
|
|
|
|
+ //overflow: hidden;
|
|
}
|
|
}
|
|
.value{
|
|
.value{
|
|
::v-deep .el-input__prefix{
|
|
::v-deep .el-input__prefix{
|