流程详情

This commit is contained in:
yf
2021-06-22 13:37:47 +08:00
parent 537cb139e0
commit bb760d6bb4
3 changed files with 8 additions and 8 deletions
@@ -124,7 +124,7 @@
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item> <el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
@@ -167,7 +167,7 @@ export default {
methods: { methods: {
handleCommand (command) { handleCommand (command) {
switch (command[1]) { switch (command[1]) {
case '办理': case '查看':
this.dealWith(command[0]) this.dealWith(command[0])
break break
} }
@@ -210,7 +210,7 @@ export default {
pageSizeChange (pageSize) { // 数量改变 pageSizeChange (pageSize) { // 数量改变
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith (row) { // 查看
this.$router.push({ this.$router.push({
name: 'ProcessDetail', name: 'ProcessDetail',
query: { query: {
@@ -124,7 +124,7 @@
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '办理']">办理</el-dropdown-item> <el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
@@ -167,7 +167,7 @@ export default {
methods: { methods: {
handleCommand (command) { handleCommand (command) {
switch (command[1]) { switch (command[1]) {
case '办理': case '查看':
this.dealWith(command[0]) this.dealWith(command[0])
break break
} }
@@ -211,7 +211,7 @@ export default {
pageSizeChange (pageSize) { // 数量改变 pageSizeChange (pageSize) { // 数量改变
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith (row) { // 查看
this.$router.push({ this.$router.push({
name: 'ProcessDetail', name: 'ProcessDetail',
query: { query: {
@@ -124,7 +124,7 @@
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '办理']">查看</el-dropdown-item> <el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
@@ -211,7 +211,7 @@ export default {
pageSizeChange (pageSize) { // 数量改变 pageSizeChange (pageSize) { // 数量改变
this.queryProcess() this.queryProcess()
}, },
dealWith (row) { // 办理 dealWith (row) { // 查看
this.$router.push({ this.$router.push({
name: 'ProcessDetail', name: 'ProcessDetail',
query: { query: {