草稿删除
This commit is contained in:
@@ -137,6 +137,15 @@ export function queryTaskFirst (data) {
|
|||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 草稿删除
|
||||||
|
export function taskDel (data) {
|
||||||
|
return axios({
|
||||||
|
url: '/api/lawss/activiti/delCG',
|
||||||
|
method: 'post',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
// 整改流程 详情查询nonconformity
|
// 整改流程 详情查询nonconformity
|
||||||
export function getNonconformity (data) {
|
export function getNonconformity (data) {
|
||||||
return axios({
|
return axios({
|
||||||
|
|||||||
@@ -269,6 +269,9 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
this.$router.push('/phoneBzrhStep2')
|
||||||
|
},
|
||||||
processTable() {
|
processTable() {
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
|
|||||||
@@ -292,6 +292,9 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
this.$router.push('/phoneBzrhStep4')
|
||||||
|
},
|
||||||
// 右上标签页面切换
|
// 右上标签页面切换
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -303,6 +303,11 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
if (this.taskInfo !== '标准法规工程师汇总修订完毕') {
|
||||||
|
this.$router.push('/phoneBzrhStep6')
|
||||||
|
}
|
||||||
|
},
|
||||||
// 右上标签页面切换
|
// 右上标签页面切换
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -274,6 +274,9 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
this.$router.push('/phoneBzhhStep2')
|
||||||
|
},
|
||||||
// 右上标签页面切换
|
// 右上标签页面切换
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -241,6 +241,9 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
this.$router.push('/phoneBzchStep2')
|
||||||
|
},
|
||||||
// 右上标签页面切换
|
// 右上标签页面切换
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -246,6 +246,9 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
this.$router.push('/phoneBzchStep4')
|
||||||
|
},
|
||||||
// 右上标签页面切换
|
// 右上标签页面切换
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -260,6 +260,11 @@ export default {
|
|||||||
this.getData()
|
this.getData()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
if (this.taskInfo !== '标准法规工程师修订完毕') {
|
||||||
|
this.$router.push('/phoneBzchStep6')
|
||||||
|
}
|
||||||
|
},
|
||||||
// 右上标签页面切换
|
// 右上标签页面切换
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
this.active = name
|
this.active = name
|
||||||
|
|||||||
@@ -235,9 +235,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
phoneClick () {
|
|
||||||
this.$router.push('/phoneWfhxStep4')
|
|
||||||
},
|
|
||||||
processTable() {
|
processTable() {
|
||||||
this.$http.get("lawss/activiti/get_list_by_instance", {
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
|
|||||||
@@ -225,6 +225,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
phoneClick () {
|
||||||
|
this.$router.push('/phoneWfhxStep5')
|
||||||
|
},
|
||||||
queryFile(row) {
|
queryFile(row) {
|
||||||
this.fileTextList = row.fileText
|
this.fileTextList = row.fileText
|
||||||
this.fileMadel = true
|
this.fileMadel = true
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div style="flex: auto;">
|
||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
@@ -73,7 +73,8 @@
|
|||||||
border
|
border
|
||||||
row-key="id"
|
row-key="id"
|
||||||
:no-data-text="listNoDataText"
|
:no-data-text="listNoDataText"
|
||||||
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}"
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}"
|
||||||
>
|
>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
class="common-button-default"
|
class="common-button-default"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="resetSelect">清空</el-button>
|
@click="resetSelect">清空</el-button>
|
||||||
|
<el-button size="mini" type="danger" @click="dataDel">删除</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-area-item">
|
<div class="search-area-item">
|
||||||
@@ -115,16 +116,17 @@
|
|||||||
<span>{{ scope.row.overTime ? $moment(scope.row.overTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
<span>{{ scope.row.overTime ? $moment(scope.row.overTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('m.operation')" align="center" width="50">
|
<el-table-column :label="$t('m.operation')" align="center" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click.stop style="display: inline-block">
|
<el-button size="mini" type="primary" @click="dealWith(scope.row)">办理</el-button>
|
||||||
|
<!-- <div @click.stop style="display: inline-block">
|
||||||
<el-dropdown trigger="click" @command="handleCommand">
|
<el-dropdown trigger="click" @command="handleCommand">
|
||||||
<i class="iconfont"></i>
|
<i class="iconfont"></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>-->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -144,6 +146,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {mapMutations, mapActions} from 'vuex'
|
import {mapMutations, mapActions} from 'vuex'
|
||||||
import ProcessMixin from '../../../components/ProcessMixin'
|
import ProcessMixin from '../../../components/ProcessMixin'
|
||||||
|
import { taskDel } from '@/api/process.js'
|
||||||
export default {
|
export default {
|
||||||
name: 'ProcessCenter',
|
name: 'ProcessCenter',
|
||||||
mixins: [ProcessMixin],
|
mixins: [ProcessMixin],
|
||||||
@@ -198,6 +201,45 @@ export default {
|
|||||||
handleSelectionChange (selected) { // 待办流程列表选中事件
|
handleSelectionChange (selected) { // 待办流程列表选中事件
|
||||||
this.processListSelect = selected
|
this.processListSelect = selected
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/** 删除按钮 */
|
||||||
|
dataDel() {
|
||||||
|
if (this.processListSelect.length > 0) {
|
||||||
|
let msgIds = []
|
||||||
|
for (let i = 0; i < this.processListSelect.length; i++) {
|
||||||
|
let msgId = this.processListSelect[i].id
|
||||||
|
msgIds.push(msgId)
|
||||||
|
}
|
||||||
|
let delId = {
|
||||||
|
id: msgIds.join(',')
|
||||||
|
}
|
||||||
|
this.$confirm('确定删除这些数据?', '提示', {
|
||||||
|
confirmButtonText: this.$t('m.determine'),
|
||||||
|
cancelButtonText: this.$t('m.cancel'),
|
||||||
|
type: 'warning',
|
||||||
|
confirmButtonClass: 'common-button-primary',
|
||||||
|
roundButton: true
|
||||||
|
}).then(() => {
|
||||||
|
taskDel(delId).then(res => {
|
||||||
|
if (res === 'success') {
|
||||||
|
this.$message.success('删除成功')
|
||||||
|
this.pageNo = 1
|
||||||
|
this.processListSelect = []
|
||||||
|
this.queryProcess()
|
||||||
|
} else {
|
||||||
|
this.$message.warning('删除失败')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message({
|
||||||
|
type: 'info',
|
||||||
|
message: '已取消删除'
|
||||||
|
})
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择一条数据进行删除')
|
||||||
|
}
|
||||||
|
},
|
||||||
pageChange (pageNo) { // 页码改变
|
pageChange (pageNo) { // 页码改变
|
||||||
this.pageNo = pageNo
|
this.pageNo = pageNo
|
||||||
this.queryProcess()
|
this.queryProcess()
|
||||||
|
|||||||
@@ -1776,6 +1776,16 @@ const routes = [
|
|||||||
title: '外部标准化协会入会流程(选择代表)'
|
title: '外部标准化协会入会流程(选择代表)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzrhStep2',
|
||||||
|
name: 'phoneBzrhStep2',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-rh/step2.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会入会流程(选择代表)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzrhStep3',
|
path: '/bzrhStep3',
|
||||||
name: 'bzrhStep3',
|
name: 'bzrhStep3',
|
||||||
@@ -1794,6 +1804,16 @@ const routes = [
|
|||||||
title: '外部标准化协会入会流程(责任负责人审批)'
|
title: '外部标准化协会入会流程(责任负责人审批)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzrhStep4',
|
||||||
|
name: 'phoneBzrhStep4',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-rh/step4.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会入会流程(责任负责人审批)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzrhStep5',
|
path: '/bzrhStep5',
|
||||||
name: 'bzrhStep5',
|
name: 'bzrhStep5',
|
||||||
@@ -1812,6 +1832,16 @@ const routes = [
|
|||||||
title: '外部标准化协会入会流程(审批)'
|
title: '外部标准化协会入会流程(审批)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzrhStep6',
|
||||||
|
name: 'phoneBzrhStep6',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-rh/step6.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会入会流程(审批)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzrhStep6-1',
|
path: '/bzrhStep6-1',
|
||||||
name: 'bzrhStep6-1',
|
name: 'bzrhStep6-1',
|
||||||
@@ -1841,6 +1871,16 @@ const routes = [
|
|||||||
title: '外部标准化协会参会流程(选择入会代表)'
|
title: '外部标准化协会参会流程(选择入会代表)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzchStep2',
|
||||||
|
name: 'phoneBzchStep2',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-ch/step2.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会参会流程(选择入会代表)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzchStep3',
|
path: '/bzchStep3',
|
||||||
name: 'bzchStep3',
|
name: 'bzchStep3',
|
||||||
@@ -1859,6 +1899,16 @@ const routes = [
|
|||||||
title: '外部标准化协会参会流程(审批)'
|
title: '外部标准化协会参会流程(审批)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzchStep4',
|
||||||
|
name: 'phoneBzchStep4',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-ch/step4.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会参会流程(审批)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzchStep5',
|
path: '/bzchStep5',
|
||||||
name: 'bzchStep5',
|
name: 'bzchStep5',
|
||||||
@@ -1877,6 +1927,16 @@ const routes = [
|
|||||||
title: '外部标准化协会参会流程(审定)'
|
title: '外部标准化协会参会流程(审定)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzchStep6',
|
||||||
|
name: 'phoneBzchStep6',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-ch/step6.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化协会参会流程(审定)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/bzchStep6-1',
|
path: '/bzchStep6-1',
|
||||||
name: 'bzchStep6-1',
|
name: 'bzchStep6-1',
|
||||||
@@ -1904,6 +1964,16 @@ const routes = [
|
|||||||
title: '外部标准化会后管理流程(审批)'
|
title: '外部标准化会后管理流程(审批)'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzhhStep2',
|
||||||
|
name: 'phoneBzhhStep2',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzhHd-hh/step2.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '外部标准化会后管理流程(审批)'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/phoneBzjdStep4',
|
path: '/phoneBzjdStep4',
|
||||||
name: 'phoneBzjdStep4',
|
name: 'phoneBzjdStep4',
|
||||||
|
|||||||
Reference in New Issue
Block a user