|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="app-container"> |
|
|
<div class="app-container"> |
|
|
<div v-show="viewState == 1"> |
|
|
<div v-show="viewState == 1"> |
|
|
<button-bar view-title="流程抄送设置" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|
|
<button-bar view-title="工作流设置" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|
|
<div class="main-content"> |
|
|
<div class="main-content"> |
|
|
<div class="searchcon"> |
|
|
<div class="searchcon"> |
|
|
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|
|
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button> |
|
@ -26,13 +26,14 @@ |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%"> |
|
|
<el-table :key="tableKey" v-loading="listLoading" :data="list" border style="width: 100%"> |
|
|
<el-table-column width="60" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
<el-table-column width="60" label="序号" type="index" :index="indexMethod" align="center"/> |
|
|
<el-table-column width="180" label="操作" align="center"> |
|
|
<el-table-column width="260" label="操作" align="center"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-button size="small" type="primary" @click="handleUpdate(scope.row)">设置</el-button> |
|
|
<el-button size="small" type="primary" @click="toSend(scope.row)">抄送设置</el-button> |
|
|
|
|
|
<el-button size="small" type="primary" @click="toPower(scope.row)">权限设置</el-button> |
|
|
<el-button size="small" type="danger" @click="handleDelete(scope.row)">删除</el-button> |
|
|
<el-button size="small" type="danger" @click="handleDelete(scope.row)">删除</el-button> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column label="流程名称" align="center" width="400"> |
|
|
<el-table-column label="流程名称" align="center" width="200"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<span>{{ scope.row.flowName }}</span> |
|
|
<span>{{ scope.row.flowName }}</span> |
|
|
</template> |
|
|
</template> |
|
@ -52,6 +53,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<liuchengchaosongAdd v-show="viewState == 2 ||viewState == 3" ref="divadd" @doback="resetState" @reloadlist="getList" /> |
|
|
<liuchengchaosongAdd v-show="viewState == 2 ||viewState == 3" ref="divadd" @doback="resetState" @reloadlist="getList" /> |
|
|
|
|
|
<power v-show="viewState == 4" ref="divPower" @doback="resetState" /> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -62,6 +64,7 @@ import Pagination from '@/components/pagination' |
|
|
import pageye from '@/components/pagination/pageye' |
|
|
import pageye from '@/components/pagination/pageye' |
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
import liuchengchaosongAdd from './liuchengchaosongAdd' |
|
|
import liuchengchaosongAdd from './liuchengchaosongAdd' |
|
|
|
|
|
import power from './power' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: 'liuchengchaosong', |
|
|
name: 'liuchengchaosong', |
|
@ -69,7 +72,8 @@ export default { |
|
|
Pagination, |
|
|
Pagination, |
|
|
pageye, |
|
|
pageye, |
|
|
ButtonBar, |
|
|
ButtonBar, |
|
|
liuchengchaosongAdd |
|
|
liuchengchaosongAdd, |
|
|
|
|
|
power |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
@ -192,10 +196,14 @@ export default { |
|
|
this.$refs['divadd'].showAdd() |
|
|
this.$refs['divadd'].showAdd() |
|
|
}, |
|
|
}, |
|
|
// 编辑 |
|
|
// 编辑 |
|
|
handleUpdate(row) { |
|
|
toSend(row) { |
|
|
this.viewState = 3 |
|
|
this.viewState = 3 |
|
|
this.$refs['divadd'].showEdit(row) |
|
|
this.$refs['divadd'].showEdit(row) |
|
|
}, |
|
|
}, |
|
|
|
|
|
toPower(row) { |
|
|
|
|
|
this.viewState = 4 |
|
|
|
|
|
this.$refs['divPower'].showInit(row) |
|
|
|
|
|
}, |
|
|
handleDelete(row) { |
|
|
handleDelete(row) { |
|
|
const tip = '请确认是否删除' |
|
|
const tip = '请确认是否删除' |
|
|
this.$confirm(tip, '提示', { |
|
|
this.$confirm(tip, '提示', { |
|
|