|
|
@ -21,21 +21,14 @@
|
|
|
|
<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-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
|
|
|
|
<el-button type="primary" @click="handleAddOaProject">发起项目申请</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
<!-- <el-col :span="1.5">-->
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
|
|
|
v-hasPermi="['system:deployment:add']"
|
|
|
|
|
|
|
|
>新增流程</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<!-- <el-col :span="1.5">-->
|
|
|
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
<!-- <el-button-->
|
|
|
|
<!-- type="danger"-->
|
|
|
|
<!-- type="danger"-->
|
|
|
|
<!-- plain-->
|
|
|
|
<!-- plain-->
|
|
|
@ -159,11 +152,12 @@
|
|
|
|
@pagination="listDefinition"
|
|
|
|
@pagination="listDefinition"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
<oa-project-flow ref="oaProjectFlow"></oa-project-flow>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
import oaProjectFlow from "@/views/flowable/oa-project-flow.vue";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
getDeployment,
|
|
|
|
getDeployment,
|
|
|
|
delDeployment,
|
|
|
|
delDeployment,
|
|
|
@ -177,7 +171,8 @@ import {listDefinition} from "@/api/flowable/definition";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Deploy",
|
|
|
|
name: "Deploy",
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
},
|
|
|
|
oaProjectFlow
|
|
|
|
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
// 遮罩层
|
|
|
|
// 遮罩层
|
|
|
@ -250,6 +245,9 @@ export default {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
handleAddOaProject() {
|
|
|
|
|
|
|
|
this.$refs.oaProjectFlow.init()
|
|
|
|
|
|
|
|
},
|
|
|
|
// 取消按钮
|
|
|
|
// 取消按钮
|
|
|
|
cancel() {
|
|
|
|
cancel() {
|
|
|
|
this.open = false;
|
|
|
|
this.open = false;
|
|
|
|