微心愿-事件分组
This commit is contained in:
@@ -48,10 +48,10 @@
|
|||||||
<template #content>
|
<template #content>
|
||||||
<el-steps direction="vertical" :active="1">
|
<el-steps direction="vertical" :active="1">
|
||||||
<el-step
|
<el-step
|
||||||
v-for="(item, i) in process"
|
v-for="(item, i) in process"
|
||||||
:key="i"
|
:key="i"
|
||||||
:title="item.systemExplain"
|
:title="item.systemExplain"
|
||||||
:description="item.doTime">
|
:description="item.doTime">
|
||||||
<template #title>
|
<template #title>
|
||||||
<h2 class="step-title" style="font-weight: 500; font-size: 14px;">
|
<h2 class="step-title" style="font-weight: 500; font-size: 14px;">
|
||||||
{{ item.systemExplain }}
|
{{ item.systemExplain }}
|
||||||
@@ -69,11 +69,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ai-dialog
|
<ai-dialog
|
||||||
:visible.sync="isShowAdd"
|
:visible.sync="isShowAdd"
|
||||||
width="800px"
|
width="800px"
|
||||||
title="事件处理"
|
title="事件处理"
|
||||||
@closed="onClose"
|
@closed="onClose"
|
||||||
@onConfirm="handleEvent">
|
@onConfirm="handleEvent">
|
||||||
<el-form class="ai-form" label-width="120px" :model="form" ref="form">
|
<el-form class="ai-form" label-width="120px" :model="form" ref="form">
|
||||||
<el-form-item label="事件分类" prop="groupId" style="width: 100%;" :rules="[{ required: true, message: '请选择事件分类' }]">
|
<el-form-item label="事件分类" prop="groupId" style="width: 100%;" :rules="[{ required: true, message: '请选择事件分类' }]">
|
||||||
<ai-select
|
<ai-select
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
this.instance.post(`/app/appclapeventgroup/list`, null, {
|
this.instance.post(`/app/appclapeventgrouppingchang/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search
|
...this.search
|
||||||
}
|
}
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
onConfirm () {
|
onConfirm () {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.instance.post(`/app/appclapeventgroup/addOrUpdate`, {
|
this.instance.post(`/app/appclapeventgrouppingchang/addOrUpdate`, {
|
||||||
...this.form,
|
...this.form,
|
||||||
id: this.id || null
|
id: this.id || null
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
|
|
||||||
remove(id) {
|
remove(id) {
|
||||||
this.$confirm('确定删除该数据?').then(() => {
|
this.$confirm('确定删除该数据?').then(() => {
|
||||||
this.instance.post(`/app/appclapeventgroup/delete?ids=${id}`).then(res => {
|
this.instance.post(`/app/appclapeventgrouppingchang/delete?ids=${id}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$message.success('删除成功!')
|
this.$message.success('删除成功!')
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user