feat(客服列表): 区域列表接口参数调整
This commit is contained in:
parent
c8040d85f2
commit
338ef6126a
@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
<!-- 搜索栏 -->
|
||||||
<div class="filter-container">
|
<div class="filter-container">
|
||||||
|
<!-- 系统选择框 -->
|
||||||
<el-select
|
<el-select
|
||||||
v-model="listQuery.sysOrigin"
|
v-model="listQuery.sysOrigin"
|
||||||
placeholder="系统"
|
placeholder="系统"
|
||||||
@ -14,10 +16,14 @@
|
|||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
>
|
>
|
||||||
<span style="float: left;"> <sys-origin-icon :icon="item.value" :desc="item.value" /></span>
|
<span style="float: left;">
|
||||||
|
<sys-origin-icon :icon="item.value" :desc="item.value"
|
||||||
|
/></span>
|
||||||
<span style="float: left;margin-left:10px">{{ item.label }}</span>
|
<span style="float: left;margin-left:10px">{{ item.label }}</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
||||||
|
<!-- 区域选择框 -->
|
||||||
<el-select
|
<el-select
|
||||||
v-model="listQuery.region"
|
v-model="listQuery.region"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
@ -34,6 +40,8 @@
|
|||||||
:value="item.id"
|
:value="item.id"
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
|
|
||||||
|
<!-- 搜索按钮 -->
|
||||||
<el-button
|
<el-button
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -43,6 +51,8 @@
|
|||||||
>
|
>
|
||||||
搜索
|
搜索
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
|
<!-- 新增按钮 -->
|
||||||
<el-button
|
<el-button
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
type="primary"
|
type="primary"
|
||||||
@ -52,11 +62,15 @@
|
|||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- 提示 -->
|
||||||
<el-alert
|
<el-alert
|
||||||
title="排班统一“上海时间”,不区分国家,时差等因素"
|
title="排班统一“上海时间”,不区分国家,时差等因素"
|
||||||
type="success"
|
type="success"
|
||||||
:closable="false"
|
:closable="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<!-- 表单 -->
|
||||||
<el-table
|
<el-table
|
||||||
v-loading="listLoading"
|
v-loading="listLoading"
|
||||||
:data="list"
|
:data="list"
|
||||||
@ -66,33 +80,55 @@
|
|||||||
>
|
>
|
||||||
<el-table-column prop="sysOrigin" label="来源系统" align="center">
|
<el-table-column prop="sysOrigin" label="来源系统" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<sys-origin-icon :icon="scope.row.sysOrigin" :desc="scope.row.sysOrigin" />
|
<sys-origin-icon
|
||||||
|
:icon="scope.row.sysOrigin"
|
||||||
|
:desc="scope.row.sysOrigin"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="客服" align="center">
|
<el-table-column label="客服" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-link v-if="scope.row.userProfile.id" @click="queryUserDetails(scope.row.userProfile.id)">
|
<el-link
|
||||||
{{ scope.row.userProfile.userNickname }} / {{ scope.row.userProfile.account }}
|
v-if="scope.row.userProfile.id"
|
||||||
|
@click="queryUserDetails(scope.row.userProfile.id)"
|
||||||
|
>
|
||||||
|
{{ scope.row.userProfile.userNickname }} /
|
||||||
|
{{ scope.row.userProfile.account }}
|
||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="regionNameStr" label="区域" align="center" />
|
<el-table-column prop="regionNameStr" label="区域" align="center" />
|
||||||
<el-table-column label="上班时间段" align="center">
|
<el-table-column label="上班时间段" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-for="(item, index) in scope.row.timeSlots " :key="index">
|
<span v-for="(item, index) in scope.row.timeSlots" :key="index">
|
||||||
<el-tag style="margin: 2px 2px;">{{ item }}:00</el-tag>
|
<el-tag style="margin: 2px 2px;">{{ item }}:00</el-tag>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="createTime" label="创建时间" width="100" align="center">
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
width="100"
|
||||||
|
align="center"
|
||||||
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.createTime | dateFormat }}
|
{{ scope.row.createTime | dateFormat }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column fixed="right" label="操作" align="center">
|
<el-table-column fixed="right" label="操作" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="primary" icon="el-icon-edit" circle @click.native="handleEdit(scope.row)" />
|
<el-button
|
||||||
<el-button type="danger" icon="el-icon-delete" circle @click.native="del(scope.row)" />
|
type="primary"
|
||||||
|
icon="el-icon-edit"
|
||||||
|
circle
|
||||||
|
@click.native="handleEdit(scope.row)"
|
||||||
|
/>
|
||||||
|
<el-button
|
||||||
|
type="danger"
|
||||||
|
icon="el-icon-delete"
|
||||||
|
circle
|
||||||
|
@click.native="del(scope.row)"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -100,7 +136,7 @@
|
|||||||
<user-deatils-drawer
|
<user-deatils-drawer
|
||||||
v-if="userDeatilsDrawerVisible"
|
v-if="userDeatilsDrawerVisible"
|
||||||
:user-id="thatSelectedUserId"
|
:user-id="thatSelectedUserId"
|
||||||
@close="userDeatilsDrawerVisible=false"
|
@close="userDeatilsDrawerVisible = false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
@ -111,15 +147,37 @@
|
|||||||
width="80%"
|
width="80%"
|
||||||
>
|
>
|
||||||
<div v-loading="submitLoading">
|
<div v-loading="submitLoading">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="100px" style="margin-right: 50px;">
|
<el-form
|
||||||
|
ref="form"
|
||||||
|
:model="form"
|
||||||
|
:rules="rules"
|
||||||
|
label-width="100px"
|
||||||
|
style="margin-right: 50px;"
|
||||||
|
>
|
||||||
<el-form-item label="平台">
|
<el-form-item label="平台">
|
||||||
<el-input v-model.trim="listQuery.sysOrigin" :disabled="true" type="text" />
|
<el-input
|
||||||
|
v-model.trim="listQuery.sysOrigin"
|
||||||
|
:disabled="true"
|
||||||
|
type="text"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="form.id == ''" label="客服" prop="userId">
|
<el-form-item v-if="form.id == ''" label="客服" prop="userId">
|
||||||
<account-input v-model="form.userId" :sys-origin="listQuery.sysOrigin" placeholder="用户ID" />
|
<account-input
|
||||||
|
v-model="form.userId"
|
||||||
|
:sys-origin="listQuery.sysOrigin"
|
||||||
|
placeholder="用户ID"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="区域" prop="regionList">
|
<el-form-item label="区域" prop="regionList">
|
||||||
<el-select v-model="form.regionList" v-loading="loading" multiple clearable placeholder="请选择" style="width:100%;" class="filter-item">
|
<el-select
|
||||||
|
v-model="form.regionList"
|
||||||
|
v-loading="loading"
|
||||||
|
multiple
|
||||||
|
clearable
|
||||||
|
placeholder="请选择"
|
||||||
|
style="width:100%;"
|
||||||
|
class="filter-item"
|
||||||
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) in regions"
|
v-for="(item, index) in regions"
|
||||||
:key="index"
|
:key="index"
|
||||||
@ -130,37 +188,50 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="时间段" prop="timeSlots">
|
<el-form-item label="时间段" prop="timeSlots">
|
||||||
<el-checkbox-group v-model="form.timeSlots">
|
<el-checkbox-group v-model="form.timeSlots">
|
||||||
<el-checkbox-button v-for="slot in timeSlotList" :key="slot" :label="slot">{{ slot }}:00</el-checkbox-button>
|
<el-checkbox-button
|
||||||
|
v-for="slot in timeSlotList"
|
||||||
|
:key="slot"
|
||||||
|
:label="slot"
|
||||||
|
>{{ slot }}:00</el-checkbox-button
|
||||||
|
>
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button v-if="form.id == ''" type="primary" @click="add()">添加</el-button>
|
<el-button v-if="form.id == ''" type="primary" @click="add()"
|
||||||
<el-button v-if="form.id != ''" type="primary" @click="update()">修改</el-button>
|
>添加</el-button
|
||||||
|
>
|
||||||
|
<el-button v-if="form.id != ''" type="primary" @click="update()"
|
||||||
|
>修改</el-button
|
||||||
|
>
|
||||||
<el-button @click="handleClose()">取消</el-button>
|
<el-button @click="handleClose()">取消</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {
|
||||||
import { listCustomerService, addCustomerService, updateCustomerService, deleteCustomerService, regionConfigTable } from '@/api/sys'
|
listCustomerService,
|
||||||
import { mapGetters } from 'vuex'
|
addCustomerService,
|
||||||
|
updateCustomerService,
|
||||||
|
deleteCustomerService,
|
||||||
|
regionConfigTable
|
||||||
|
} from "@/api/sys";
|
||||||
|
import { mapGetters } from "vuex";
|
||||||
|
|
||||||
function getFormData() {
|
function getFormData() {
|
||||||
return {
|
return {
|
||||||
regionList: [],
|
regionList: [],
|
||||||
userId: '',
|
userId: "",
|
||||||
sysOrigin: '',
|
sysOrigin: "",
|
||||||
id: '',
|
id: "",
|
||||||
timeSlots: []
|
timeSlots: []
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
name: 'CustomerService',
|
name: "CustomerService",
|
||||||
props: {
|
props: {
|
||||||
row: {
|
row: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@ -169,26 +240,53 @@ export default {
|
|||||||
sysOrigin: {
|
sysOrigin: {
|
||||||
type: String,
|
type: String,
|
||||||
require: false,
|
require: false,
|
||||||
default: ''
|
default: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const commonRules = [{ required: true, message: '必填字段', trigger: 'blur' }]
|
const commonRules = [
|
||||||
|
{ required: true, message: "必填字段", trigger: "blur" }
|
||||||
|
];
|
||||||
return {
|
return {
|
||||||
searchDisabled: false,
|
searchDisabled: false,
|
||||||
userDeatilsDrawerVisible: false,
|
userDeatilsDrawerVisible: false,
|
||||||
thatSelectedUserId: '',
|
thatSelectedUserId: "",
|
||||||
formVisible: false,
|
formVisible: false,
|
||||||
submitLoading: false,
|
submitLoading: false,
|
||||||
form: getFormData(),
|
form: getFormData(),
|
||||||
textOptTitle: '',
|
textOptTitle: "",
|
||||||
list: [],
|
list: [],
|
||||||
timeSlotList: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23],
|
timeSlotList: [
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
3,
|
||||||
|
4,
|
||||||
|
5,
|
||||||
|
6,
|
||||||
|
7,
|
||||||
|
8,
|
||||||
|
9,
|
||||||
|
10,
|
||||||
|
11,
|
||||||
|
12,
|
||||||
|
13,
|
||||||
|
14,
|
||||||
|
15,
|
||||||
|
16,
|
||||||
|
17,
|
||||||
|
18,
|
||||||
|
19,
|
||||||
|
20,
|
||||||
|
21,
|
||||||
|
22,
|
||||||
|
23
|
||||||
|
],
|
||||||
rangeDate: [],
|
rangeDate: [],
|
||||||
regions: [],
|
regions: [],
|
||||||
listQuery: {
|
listQuery: {
|
||||||
region: '',
|
region: "",
|
||||||
sysOrigin: 'YOLO'
|
sysOrigin: "LIKEI"
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
regionList: commonRules,
|
regionList: commonRules,
|
||||||
@ -197,164 +295,177 @@ export default {
|
|||||||
timeSlots: commonRules
|
timeSlots: commonRules
|
||||||
},
|
},
|
||||||
listLoading: true
|
listLoading: true
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['permissionsSysOriginPlatforms'])
|
...mapGetters(["permissionsSysOriginPlatforms"])
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
row: {
|
row: {
|
||||||
handler(val) {
|
handler(val) {
|
||||||
if (!val) {
|
if (!val) {
|
||||||
this.listRegion()
|
this.listRegion();
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
const form = Object.assign({}, val)
|
const form = Object.assign({}, val);
|
||||||
if (form.regions) {
|
if (form.regions) {
|
||||||
form.regionList = form.regions.split(',')
|
form.regionList = form.regions.split(",");
|
||||||
}
|
}
|
||||||
this.form = Object.assign(this.form, form)
|
this.form = Object.assign(this.form, form);
|
||||||
this.listRegion()
|
this.listRegion();
|
||||||
},
|
},
|
||||||
immediate: true
|
immediate: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
const that = this
|
const that = this;
|
||||||
const querySystem = this.permissionsSysOriginPlatforms[0]
|
const querySystem = this.permissionsSysOriginPlatforms[0];
|
||||||
if (!querySystem) {
|
if (!querySystem) {
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
this.listRegion()
|
this.listRegion();
|
||||||
that.listQuery.sysOrigin = querySystem.value
|
that.listQuery.sysOrigin = querySystem.value;
|
||||||
that.renderData()
|
that.renderData();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
renderData(isClean) {
|
renderData(isClean) {
|
||||||
const that = this
|
const that = this;
|
||||||
if (isClean === true) {
|
if (isClean === true) {
|
||||||
that.list = []
|
that.list = [];
|
||||||
}
|
}
|
||||||
that.listLoading = true
|
that.listLoading = true;
|
||||||
listCustomerService(that.listQuery.sysOrigin, that.listQuery.region).then(res => {
|
listCustomerService(that.listQuery.sysOrigin, that.listQuery.region).then(
|
||||||
const { body } = res
|
res => {
|
||||||
that.list = body
|
const { body } = res;
|
||||||
that.listLoading = false
|
that.list = body;
|
||||||
})
|
that.listLoading = false;
|
||||||
|
}
|
||||||
|
);
|
||||||
},
|
},
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
this.renderData(true)
|
this.renderData(true);
|
||||||
},
|
},
|
||||||
listRegion() {
|
listRegion() {
|
||||||
const that = this
|
const that = this;
|
||||||
that.loading = true
|
that.loading = true;
|
||||||
regionConfigTable({ 'sysOrigin': that.listQuery.sysOrigin }).then(res => {
|
regionConfigTable({ sysOrigin: that.listQuery.sysOrigin })
|
||||||
that.regions = res.body || []
|
.then(res => {
|
||||||
that.loading = false
|
that.regions = res.body || [];
|
||||||
}).catch(er => {
|
that.loading = false;
|
||||||
that.loading = false
|
})
|
||||||
})
|
.catch(er => {
|
||||||
|
that.loading = false;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
handleCreate() {
|
handleCreate() {
|
||||||
console.log(1111, this.form.userId)
|
console.log(1111, this.form.userId);
|
||||||
this.formVisible = true
|
this.formVisible = true;
|
||||||
this.form.userId = ''
|
this.form.userId = "";
|
||||||
},
|
},
|
||||||
handleEdit(row) {
|
handleEdit(row) {
|
||||||
this.formVisible = true
|
this.formVisible = true;
|
||||||
this.form = row
|
this.form = row;
|
||||||
this.form.userId = row.userProfile.account
|
this.form.userId = row.userProfile.account;
|
||||||
},
|
},
|
||||||
changeSysOrigin() {
|
changeSysOrigin() {
|
||||||
this.listRegion()
|
this.listRegion();
|
||||||
this.handleSearch()
|
this.handleSearch();
|
||||||
},
|
},
|
||||||
queryUserDetails(id) {
|
queryUserDetails(id) {
|
||||||
this.userDeatilsDrawerVisible = true
|
this.userDeatilsDrawerVisible = true;
|
||||||
this.thatSelectedUserId = id
|
this.thatSelectedUserId = id;
|
||||||
},
|
},
|
||||||
del(item) {
|
del(item) {
|
||||||
const that = this
|
const that = this;
|
||||||
that.$confirm('确定删除客服人员吗', '提示', {
|
that
|
||||||
type: 'warning'
|
.$confirm("确定删除客服人员吗", "提示", {
|
||||||
}).then(() => {
|
type: "warning"
|
||||||
that.$message({
|
|
||||||
message: '删除中,请等待结果',
|
|
||||||
type: 'warning'
|
|
||||||
})
|
})
|
||||||
that.listLoading = true
|
.then(() => {
|
||||||
deleteCustomerService(item.id).then((res) => {
|
|
||||||
that.listLoading = false
|
|
||||||
that.$message({
|
that.$message({
|
||||||
message: '成功删除',
|
message: "删除中,请等待结果",
|
||||||
type: 'success'
|
type: "warning"
|
||||||
})
|
});
|
||||||
that.renderData()
|
that.listLoading = true;
|
||||||
}).catch(er => {
|
deleteCustomerService(item.id)
|
||||||
console.error(er)
|
.then(res => {
|
||||||
that.listLoading = false
|
that.listLoading = false;
|
||||||
|
that.$message({
|
||||||
|
message: "成功删除",
|
||||||
|
type: "success"
|
||||||
|
});
|
||||||
|
that.renderData();
|
||||||
|
})
|
||||||
|
.catch(er => {
|
||||||
|
console.error(er);
|
||||||
|
that.listLoading = false;
|
||||||
|
});
|
||||||
})
|
})
|
||||||
}).catch(er => {
|
.catch(er => {
|
||||||
console.error(er)
|
console.error(er);
|
||||||
that.listLoading = false
|
that.listLoading = false;
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
add() {
|
add() {
|
||||||
const that = this
|
const that = this;
|
||||||
that.$refs.form.validate(valid => {
|
that.$refs.form.validate(valid => {
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
console.error('error submit!!')
|
console.error("error submit!!");
|
||||||
return false
|
return false;
|
||||||
}
|
}
|
||||||
that.submitLoading = true
|
that.submitLoading = true;
|
||||||
that.form.sysOrigin = that.listQuery.sysOrigin
|
that.form.sysOrigin = that.listQuery.sysOrigin;
|
||||||
addCustomerService(that.form).then(res => {
|
addCustomerService(that.form)
|
||||||
that.submitLoading = false
|
.then(res => {
|
||||||
that.$emit('success', res)
|
that.submitLoading = false;
|
||||||
that.handleClose()
|
that.$emit("success", res);
|
||||||
that.renderData(true)
|
that.handleClose();
|
||||||
}).catch(er => {
|
that.renderData(true);
|
||||||
that.submitLoading = false
|
})
|
||||||
that.$emit('fail')
|
.catch(er => {
|
||||||
console.error(er)
|
that.submitLoading = false;
|
||||||
})
|
that.$emit("fail");
|
||||||
})
|
console.error(er);
|
||||||
|
});
|
||||||
|
});
|
||||||
},
|
},
|
||||||
update() {
|
update() {
|
||||||
const that = this
|
const that = this;
|
||||||
that.Addormodify = false
|
that.Addormodify = false;
|
||||||
that.$refs.form.validate(valid => {
|
that.$refs.form.validate(valid => {
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
console.error('error submit!!')
|
console.error("error submit!!");
|
||||||
return false
|
return false;
|
||||||
}
|
}
|
||||||
that.submitLoading = true
|
that.submitLoading = true;
|
||||||
updateCustomerService(that.form).then(res => {
|
updateCustomerService(that.form)
|
||||||
that.submitLoading = false
|
.then(res => {
|
||||||
that.$emit('success', res)
|
that.submitLoading = false;
|
||||||
that.handleClose()
|
that.$emit("success", res);
|
||||||
that.renderData(true)
|
that.handleClose();
|
||||||
}).catch(er => {
|
that.renderData(true);
|
||||||
that.submitLoading = false
|
})
|
||||||
that.$emit('fail')
|
.catch(er => {
|
||||||
console.error(er)
|
that.submitLoading = false;
|
||||||
})
|
that.$emit("fail");
|
||||||
})
|
console.error(er);
|
||||||
|
});
|
||||||
|
});
|
||||||
},
|
},
|
||||||
handleClose() {
|
handleClose() {
|
||||||
this.formVisible = false
|
this.formVisible = false;
|
||||||
this.resetForm()
|
this.resetForm();
|
||||||
},
|
},
|
||||||
resetForm() {
|
resetForm() {
|
||||||
this.form = getFormData()
|
this.form = getFormData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.store-table-expand {
|
.store-table-expand {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
label {
|
label {
|
||||||
width: 90px;
|
width: 90px;
|
||||||
color: #99a9bf;
|
color: #99a9bf;
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
@ -362,6 +473,6 @@ export default {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user