feat(h5) adapt process page

approve-sys
bob 2 years ago
parent 41f90db888
commit 9681974c03

@ -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;

Loading…
Cancel
Save