forked from qiushanhe/dm-manage-web
Merge pull request '提交' (#3) from dev-zcx into master
Reviewed-on: qiushanhe/dm-manage-web#3dev-zcx
commit
fc3f3fa3de
@ -0,0 +1,35 @@ |
||||
import request from '@/utils/request' |
||||
|
||||
// 查询通讯录列表
|
||||
export function getMaillistTableList(query) { |
||||
return request({ |
||||
url: '/system/maillist/list', |
||||
method: 'get', |
||||
params: query |
||||
}) |
||||
} |
||||
|
||||
// 新增通讯录
|
||||
export function insertMaillist(params) { |
||||
return request({ |
||||
url: '/system/maillist', |
||||
method: 'post', |
||||
data: params |
||||
}) |
||||
} |
||||
// 修改通讯录
|
||||
export function updateMaillist(params) { |
||||
return request({ |
||||
url: '/system/maillist', |
||||
method: 'put', |
||||
data: params |
||||
}) |
||||
} |
||||
|
||||
// 删除通讯录
|
||||
export function deleteMaillist(params) { |
||||
return request({ |
||||
url: '/system/maillist/' + params, |
||||
method: 'delete' |
||||
}) |
||||
} |
@ -0,0 +1,28 @@ |
||||
import request from '@/utils/request' |
||||
|
||||
// 查询任务
|
||||
export function getList(query) { |
||||
return request({ |
||||
url: '/system/summary/list', |
||||
method: 'get', |
||||
params: query |
||||
}) |
||||
} |
||||
|
||||
// 查询任务
|
||||
export function getTask(query) { |
||||
return request({ |
||||
url: '/system/summary', |
||||
method: 'get', |
||||
params: query |
||||
}) |
||||
} |
||||
|
||||
// 保存
|
||||
export function saveTask(data) { |
||||
return request({ |
||||
url: '/system/summary', |
||||
method: 'post', |
||||
data: data |
||||
}) |
||||
} |
@ -0,0 +1,194 @@ |
||||
<template> |
||||
<div class="app-container"> |
||||
<el-row :gutter="20"> |
||||
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px" size="mini"> |
||||
<el-form-item> |
||||
<el-input v-model="queryParams.contact" placeholder="姓名/主办业务" clearable size="mini" style="width: 240px" @keyup.enter.native="handleQuery" /> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
||||
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['system:maillist:add']">新增</el-button> |
||||
</el-form-item> |
||||
</el-form> |
||||
</el-row> |
||||
|
||||
<el-table v-loading="loading.tableLoading" :data="tableDataList" stripe size="mini"> |
||||
<el-table-column type="index" width="50" align="center" /> |
||||
<el-table-column label="姓名" align="center" prop="contact" show-overflow-tooltip /> |
||||
<el-table-column label="手机" align="center" prop="phone" show-overflow-tooltip /> |
||||
<el-table-column label="固话" align="center" prop="tel" show-overflow-tooltip /> |
||||
<el-table-column label="主办业务" align="center" prop="remark" show-overflow-tooltip /> |
||||
<el-table-column label="操作" fixed="right" align="center" width="200"> |
||||
<template slot-scope="scope"> |
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['system:maillist:edit']">修改</el-button> |
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleDelete(scope.row)" v-hasPermi="['system:maillist:delete']">删除</el-button> |
||||
</template> |
||||
</el-table-column> |
||||
</el-table> |
||||
|
||||
<pagination :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getPageList" /> |
||||
|
||||
<el-dialog title="通讯录" :visible.sync="modalVisible" width="500px" append-to-body :close-on-click-modal="false"> |
||||
<el-form :model="modalForm" ref="modalForm" :rules="modalRules" size="mini" label-width="80px"> |
||||
<el-row> |
||||
<el-col :span="12"> |
||||
<el-form-item label="姓名" prop="contact"> |
||||
<el-input v-model="modalForm.contact" placeholder="请输入姓名"></el-input> |
||||
</el-form-item> |
||||
</el-col> |
||||
<el-col :span="12"> |
||||
<el-form-item label="联系电话" prop="phone"> |
||||
<el-input v-model="modalForm.phone" placeholder="请输入联系电话"></el-input> |
||||
</el-form-item> |
||||
</el-col> |
||||
</el-row> |
||||
<el-row> |
||||
<el-col :span="24"> |
||||
<el-form-item label="联系固话" prop="tel"> |
||||
<el-input v-model="modalForm.tel" placeholder="请输入联系固话"></el-input> |
||||
</el-form-item> |
||||
</el-col> |
||||
</el-row> |
||||
<el-row> |
||||
<el-form-item label="主办业务" prop="remark"> |
||||
<el-input type="textarea" :autosize="{ minRows: 2, maxRows: 4}" v-model="modalForm.remark" placeholder="请输入主办业务" /> |
||||
</el-form-item> |
||||
</el-row> |
||||
</el-form> |
||||
<span slot="footer"> |
||||
<el-button size="mini" @click="modalVisible = false">取 消</el-button> |
||||
<el-button size="mini" type="primary" v-loading="loading.modalSaveLoading" @click="handleSave">确 定</el-button> |
||||
</span> |
||||
</el-dialog> |
||||
|
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import { getMaillistTableList, updateMaillist, insertMaillist, deleteMaillist } from "@/api/system/maillist"; |
||||
import { validateMoney } from '@/utils/validate' |
||||
export default { |
||||
name: 'Maillist', |
||||
data() { |
||||
return { |
||||
queryParams: { |
||||
pageNum: 1, |
||||
pageSize: 10, |
||||
typeName: undefined, |
||||
status: undefined, |
||||
deptId: this.$store.getters.schoolId, |
||||
licenseType: undefined |
||||
}, |
||||
loading: { |
||||
tableLoading: false, |
||||
modalSaveLoading: false |
||||
}, |
||||
tableDataList: [], |
||||
total: 0, |
||||
statusOptions: [], |
||||
licenseTypeOption: [], |
||||
modalVisible: false, |
||||
modalForm: {}, |
||||
modalRules: { |
||||
contact: { required: true, message: '姓名不为空', trigger: 'blur' }, |
||||
originalPrice: { required: true, validator: validateMoney, trigger: 'blur' }, |
||||
currentPrice: { required: true, validator: validateMoney, trigger: 'blur' } |
||||
}, |
||||
}; |
||||
}, |
||||
created() { |
||||
this.getPageList(); |
||||
}, |
||||
methods: { |
||||
// 搜索 |
||||
handleQuery() { |
||||
this.queryParams.page = 1; |
||||
this.getPageList(); |
||||
}, |
||||
getPageList() { |
||||
this.loading.tableLoading = true; |
||||
getMaillistTableList(this.queryParams).then(response => { |
||||
this.tableDataList = response.rows; |
||||
this.total = response.total; |
||||
this.loading.tableLoading = false; |
||||
}); |
||||
}, |
||||
// 重置搜索 |
||||
resetQuery() { |
||||
this.queryParams.typeName = ""; |
||||
this.queryParams.status = undefined; |
||||
this.handleQuery(); |
||||
}, |
||||
// 新增 |
||||
handleAdd() { |
||||
this.modalVisible = true; |
||||
this.modalForm = { |
||||
typeName: '', |
||||
status: '0', |
||||
originalPrice: undefined, |
||||
licenseType: 'C1', |
||||
description: '', |
||||
currentPrice: undefined |
||||
} |
||||
}, |
||||
// 编辑 |
||||
handleUpdate(listItem) { |
||||
this.modalForm = Object.assign({}, listItem); |
||||
this.modalVisible = true; |
||||
}, |
||||
// 模态框保存 |
||||
handleSave() { |
||||
this.$refs.modalForm.validate((valid) => { |
||||
if (valid) { |
||||
this.loading.modalSaveLoading = true; |
||||
if (this.modalForm.mailId) { |
||||
updateMaillist(this.modalForm).then(resp => { |
||||
if (resp.code == 200) { |
||||
this.$message.success('修改成功'); |
||||
this.modalVisible = false; |
||||
this.loading.modalSaveLoading = false; |
||||
this.getPageList(); |
||||
} else { |
||||
this.$message.error('修改失败:' + resp.message); |
||||
this.loading.modalSaveLoading = false; |
||||
} |
||||
}) |
||||
} else { |
||||
this.$set(this.modalForm, 'deptId', this.$store.getters.schoolId); |
||||
insertMaillist(this.modalForm).then(resp => { |
||||
if (resp.code == 200) { |
||||
this.$message.success('新增成功'); |
||||
this.modalVisible = false; |
||||
this.loading.modalSaveLoading = false; |
||||
this.getPageList(); |
||||
} else { |
||||
this.$message.error('新增失败:' + resp.message); |
||||
this.loading.modalSaveLoading = false; |
||||
} |
||||
}) |
||||
} |
||||
} |
||||
}) |
||||
}, |
||||
/** 删除按钮操作 */ |
||||
handleDelete(listItem) { |
||||
this.modalForm = Object.assign({}, listItem); |
||||
const roleIds = this.modalForm.mailId || this.ids; |
||||
this.$confirm('是否确认删除通讯录"' + this.modalForm.contact + '"的数据项?', "警告", { |
||||
confirmButtonText: "确定", |
||||
cancelButtonText: "取消", |
||||
type: "warning" |
||||
}).then(function () { |
||||
return deleteMaillist(roleIds); |
||||
}).then(() => { |
||||
this.getPageList(); |
||||
this.msgSuccess("删除成功"); |
||||
}).catch(function () { }); |
||||
}, |
||||
// 字典状态字典翻译 |
||||
statusFormat(row, column) { |
||||
return this.selectDictLabel(this.statusOptions, row.status); |
||||
}, |
||||
} |
||||
}; |
||||
</script> |
@ -0,0 +1,259 @@ |
||||
<template> |
||||
<div class="app-container"> |
||||
<el-form :model="queryParams" ref="queryForm" :inline="true" label-width="60px" size="mini"> |
||||
<el-form-item label="员工" prop="userId" v-hasPermi="['system:task:send']"> |
||||
<el-select v-model="queryParams.userId" placeholder="请选择" size="mini"> |
||||
<el-option v-for="dict in userOptions" :key="dict.id" :label="dict.name" :value="dict.id" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
<el-form-item label="类型" prop="summaryType"> |
||||
<el-select v-model="queryParams.summaryType" placeholder="请选择" size="mini"> |
||||
<el-option label="月总结" :value="1" /> |
||||
<el-option label="日总结" :value="2" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
<el-form-item label="月份" prop="month"> |
||||
<el-select v-model="queryParams.month" placeholder="请选择" size="mini"> |
||||
<el-option v-for="dict in 12" :key="dict" :label="dict" :value="dict" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
<el-form-item label="日期" prop="day"> |
||||
<el-date-picker v-model="queryParams.day" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" /> |
||||
</el-form-item> |
||||
|
||||
<el-form-item> |
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> |
||||
<el-button type="primary" icon="el-icon-plus" v-hasPermi="['system:summary:add']" size="mini" @click="handleAdd()">新增</el-button> |
||||
</el-form-item> |
||||
</el-form> |
||||
|
||||
<!-- 列表 --> |
||||
<el-table v-loading="loading" :data="taskList" border> |
||||
<el-table-column type="selection" width="55" align="center" /> |
||||
<el-table-column label="序号" type="index" width="50" align="center" /> |
||||
<el-table-column label="姓名" align="center" prop="employeeName" width="100" /> |
||||
<el-table-column label="任务类型" align="center"> |
||||
<template slot-scope="scope"> |
||||
<span v-if="scope.row.summaryType == 1">月总结</span> |
||||
<span v-else>日总结</span> |
||||
</template> |
||||
</el-table-column> |
||||
<el-table-column label="月份" align="center" prop="month" /> |
||||
= <el-table-column label="日期" align="center" prop="day" width="100" /> |
||||
<el-table-column label="内容" align="center" min-width="100"> |
||||
<template slot-scope="scope"> |
||||
<div v-html="scope.row.content" /> |
||||
</template> |
||||
</el-table-column> |
||||
|
||||
<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" v-hasPermi="['system:summary:edit']" @click="handleUpdate(scope.row)">修改</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" /> |
||||
|
||||
<!-- 添加或修改公告对话框 --> |
||||
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body> |
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> |
||||
<el-row> |
||||
<!-- <el-col :span="24"> |
||||
<el-form-item label="员工" prop="userId"> |
||||
<el-select v-model="form.userId" placeholder="请选择" size="small" :disabled="dayEdit"> |
||||
<el-option v-for="dict in userOptions" :key="dict.id" :label="dict.name" :value="dict.id" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
</el-col> --> |
||||
<el-col :span="24"> |
||||
<el-form-item label="总结类型" prop="summaryType"> |
||||
<el-radio-group v-model="form.summaryType"> |
||||
<el-radio :label="1">月总结</el-radio> |
||||
<el-radio :label="2">日总结</el-radio> |
||||
</el-radio-group> |
||||
</el-form-item> |
||||
</el-col> |
||||
<el-col :span="24"> |
||||
<el-form-item label="月份" prop="month"> |
||||
<el-select v-model="form.month" placeholder="请选择" size="mini" :disabled="dayEdit"> |
||||
<el-option v-for="dict in 12" :key="dict" :label="dict" :value="dict" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
</el-col> |
||||
<el-col :span="24" v-if="form.summaryType === 2"> |
||||
<el-form-item label="日期" prop="day"> |
||||
<el-date-picker v-model="form.day" value-format="yyyy-MM-dd" format="yyyy-MM-dd" type="date" :disabled="dayEdit" /> |
||||
</el-form-item> |
||||
</el-col> |
||||
|
||||
<el-col :span="24"> |
||||
<el-form-item label="任务内容" prop="content"> |
||||
<!-- <editor v-model="form.content" /> --> |
||||
<el-input type="textarea" :rows="13" v-model="form.content"></el-input> |
||||
</el-form-item> |
||||
</el-col> |
||||
</el-row> |
||||
</el-form> |
||||
<div slot="footer" class="dialog-footer" style="padding-top:20px"> |
||||
<el-button type="primary" @click="submitForm">确 定</el-button> |
||||
<el-button @click="cancel">取 消</el-button> |
||||
</div> |
||||
</el-dialog> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
import { saveTask, getList } from '@/api/system/summary' |
||||
import Editor from '@/components/Editor' |
||||
import empAPi from '@/api/system/employee' |
||||
|
||||
export default { |
||||
name: 'Summary', |
||||
components: { |
||||
Editor, |
||||
}, |
||||
data() { |
||||
return { |
||||
// 遮罩层 |
||||
loading: true, |
||||
// 总条数 |
||||
total: 0, |
||||
// 公告表格数据 |
||||
taskList: [], |
||||
// 弹出层标题 |
||||
title: '', |
||||
// 是否显示弹出层 |
||||
open: false, |
||||
// 查询参数 |
||||
queryParams: { |
||||
pageNum: 1, |
||||
pageSize: 10, |
||||
userId: undefined, |
||||
summaryType: 1, |
||||
month: undefined, |
||||
day: undefined, |
||||
}, |
||||
// 表单参数 |
||||
form: {}, |
||||
// 表单校验 |
||||
rules: { |
||||
userId: [{ required: true, message: '员工不能为空', trigger: 'blur' }], |
||||
month: [{ required: true, message: '月份不能为空', trigger: 'blur' }], |
||||
day: [{ required: true, message: '日期不能为空', trigger: 'blur' }], |
||||
content: [ |
||||
{ required: true, message: '任务内容不能为空', trigger: 'blur' }, |
||||
], |
||||
summaryType: [{ required: true, message: '总结类型不能为空', trigger: 'blur' }], |
||||
}, |
||||
taskType: 1, |
||||
userOptions: [], |
||||
month: undefined, |
||||
day: undefined, |
||||
dayEdit: false, |
||||
userId: localStorage.getItem('userId'), |
||||
} |
||||
}, |
||||
created() { |
||||
this.getList() |
||||
this.getEmployee() |
||||
let now = new Date() |
||||
let year = now.getFullYear() //得到年份 |
||||
let month = now.getMonth() + 1 //得到月份 |
||||
let date = now.getDate() //得到日期 |
||||
this.month = month |
||||
this.day = year + '-' + month + '-' + date |
||||
}, |
||||
methods: { |
||||
/** 查询公告列表 */ |
||||
getList() { |
||||
this.loading = true |
||||
getList(this.queryParams).then((response) => { |
||||
this.taskList = response.rows |
||||
this.total = response.total |
||||
this.loading = false |
||||
}) |
||||
}, |
||||
// 取消按钮 |
||||
cancel() { |
||||
this.open = false |
||||
this.reset() |
||||
}, |
||||
// 表单重置 |
||||
reset() { |
||||
this.form = { |
||||
summaryType: 1, |
||||
userId: undefined, |
||||
month: this.month, |
||||
day: undefined, |
||||
content: undefined, |
||||
} |
||||
this.resetForm('form') |
||||
}, |
||||
/** 搜索按钮操作 */ |
||||
handleQuery() { |
||||
this.queryParams.pageNum = 1 |
||||
this.getList() |
||||
}, |
||||
/** 重置按钮操作 */ |
||||
resetQuery() { |
||||
this.resetForm('queryForm') |
||||
this.handleQuery() |
||||
}, |
||||
|
||||
/** 新增按钮操作 */ |
||||
handleAdd() { |
||||
this.reset() |
||||
this.open = true |
||||
this.$set(this.form, 'userId', this.userId) |
||||
this.$set(this.form, 'day', this.day) |
||||
this.dayEdit = false |
||||
}, |
||||
/** 修改按钮操作 */ |
||||
handleUpdate(row) { |
||||
this.reset() |
||||
|
||||
this.form = Object.assign({}, row) |
||||
this.taskType = this.form.taskType |
||||
if (this.form.taskType == 1) { |
||||
this.title = this.month + '月-总结' |
||||
} else { |
||||
this.title = this.month + '月-总结' |
||||
} |
||||
this.open = true |
||||
this.dayEdit = true |
||||
}, |
||||
/** 提交按钮 */ |
||||
submitForm: function () { |
||||
this.$refs['form'].validate((valid) => { |
||||
if (valid) { |
||||
if (this.form.summaryType === 1) { |
||||
this.form.day = undefined |
||||
} |
||||
saveTask(this.form).then((response) => { |
||||
if (response.code === 200) { |
||||
this.$message.success('保存成功'); |
||||
this.open = false |
||||
this.getList() |
||||
} |
||||
}) |
||||
} |
||||
}) |
||||
}, |
||||
//查询员工 |
||||
getEmployee() { |
||||
empAPi.getEmployee({ coach: false }).then((resp) => { |
||||
if (resp.code == 200) { |
||||
//this.userOptions = resp.data; |
||||
if (resp.data && resp.data.length > 0) { |
||||
resp.data.forEach((item) => { |
||||
this.userOptions.push(item) |
||||
}) |
||||
} |
||||
} |
||||
}) |
||||
}, |
||||
}, |
||||
} |
||||
</script> |
@ -0,0 +1,80 @@ |
||||
<template> |
||||
<div> |
||||
<el-row> |
||||
<el-form ref="queryForm" :model="queryParams" inline> |
||||
<el-row> |
||||
<el-form-item> |
||||
<el-input v-model="queryParams.name" placeholder="姓名/联系方式" clearable style="width: 200px" @keyup.enter.native="handleQuery" /> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-select v-model="queryParams.source" placeholder="选择线索来源" clearable @change="handleQuery"> |
||||
<el-option v-for="dict in sourceOptions" :key="dict.dictValue" :value="dict.dictValue" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-select v-model="queryParams.intentionState" placeholder="选择意向状态" clearable @change="handleQuery"> |
||||
<el-option v-for="dict in intentionOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue"> |
||||
<i class="el-icon-star-on" :style="dict.cssClass" /> |
||||
<span style="float: right; color: #8492a6; font-size: 13px">{{ dict.dictValue }}</span> |
||||
</el-option> |
||||
</el-select> |
||||
</el-form-item> |
||||
<el-form-item> |
||||
<el-select v-model="queryParams.followUser2" placeholder="选择跟进人员" filterable clearable @change="handleQuery"> |
||||
<el-option v-for="dict in userOptions" :key="dict.id" :label="dict.name" :value="dict.id" /> |
||||
</el-select> |
||||
</el-form-item> |
||||
<el-form-item label="创建时间"> |
||||
<el-date-picker v-model="queryParams.createTime" style="width: 240px" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="handleQuery" /> |
||||
</el-form-item> |
||||
</el-row> |
||||
|
||||
<el-row> |
||||
<el-form-item label-width="80"> |
||||
<template slot="label"> |
||||
<el-button type="text" @click="handleFilter">筛选</el-button> |
||||
</template> |
||||
<el-checkbox-group v-model="queryParams.etc" @change="etcChange"> |
||||
<el-checkbox v-if="filterItems.myCreate" label="myCreate">我创建的</el-checkbox> |
||||
<el-checkbox v-if="filterItems.myValid" label="myValid">我的有效</el-checkbox> |
||||
<el-checkbox v-if="filterItems.valid" label="valid">有效线索</el-checkbox> |
||||
<el-checkbox v-if="filterItems.todayValid" label="todayValid">今日有效线索</el-checkbox> |
||||
<el-checkbox v-if="filterItems.todayFollow" label="todayFollow">今日跟踪</el-checkbox> |
||||
<el-checkbox v-if="filterItems.outtime" label="outtime"> |
||||
<el-badge :value="expireCount" type="danger">过期线索</el-badge> |
||||
</el-checkbox> |
||||
<el-checkbox v-if="filterItems.relate" label="relate">相关线索</el-checkbox> |
||||
<el-checkbox v-if="filterItems.reSign" label="reSign">撞单线索</el-checkbox> |
||||
</el-checkbox-group> |
||||
</el-form-item> |
||||
<el-form-item class="m20"> |
||||
<el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button> |
||||
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button> |
||||
<el-button type="primary" icon="el-icon-plus" @click="handleAdd">新增</el-button> |
||||
<el-button type="primary" @click="handlePublicClue">公海</el-button> |
||||
<el-dropdown trigger="click"> |
||||
<el-button type="primary"> |
||||
更多 |
||||
<i class="el-icon-arrow-down el-icon--right" /> |
||||
</el-button> |
||||
<el-dropdown-menu slot="dropdown"> |
||||
<el-dropdown-item @click.native="handleImport(false)">导入</el-dropdown-item> |
||||
<el-dropdown-item @click.native="handleImport(true)">一点通导入</el-dropdown-item> |
||||
<el-dropdown-item v-if="admin == 'true'" @click.native="handleExport">导出</el-dropdown-item> |
||||
<el-dropdown-item v-if="admin == 'true'" @click.native="handleBatChUpdate()">批量修改</el-dropdown-item> |
||||
</el-dropdown-menu> |
||||
</el-dropdown> |
||||
</el-form-item> |
||||
<!-- <el-button type="primary" v-if="admin != 'true' && accept" @click="handleAccept(false)">停止接收</el-button> |
||||
<el-button type="primary" v-if="admin != 'true' && !accept" @click="handleAccept(true)">启动接收</el-button> --> |
||||
</el-row> |
||||
</el-form> |
||||
</el-row> |
||||
</div> |
||||
</template> |
||||
<script> |
||||
export default { |
||||
|
||||
} |
||||
</script> |
||||
|
Loading…
Reference in new issue