Commit b753639d authored by qddidi's avatar qddidi

流程

parent ee452793
...@@ -147,3 +147,11 @@ export const getGrantList = (data) => { ...@@ -147,3 +147,11 @@ export const getGrantList = (data) => {
data data
}) })
} }
//流程详情
export const selectRoleflowNo = (params) => {
return axios({
url: 'role/selectRoleflowNo',
method: 'get',
params
})
}
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
//export const baseUrl ="http://faceauth.weface.com.cn:98" //export const baseUrl ="http://faceauth.weface.com.cn:98"
//export const baseUrl2 = 'http://faceauth.weface.com.cn:97' //export const baseUrl2 = 'http://faceauth.weface.com.cn:97'
//export const baseUrl = 'http://172.16.10.33:9002' //export const baseUrl = 'http://172.16.10.33:9002'
//export const baseUrl = 'http://172.16.10.25:9002' export const baseUrl = 'http://172.16.10.25:9002'
export const baseUrl ="http://172.16.10.33:9002" //export const baseUrl ="http://172.16.10.33:9002"
//export const baseUrl2 = 'http://172.16.10.25:9999' //export const baseUrl2 = 'http://172.16.10.25:9999'
//export const baseUrl = 'http://172.16.10.25:9002' //export const baseUrl = 'http://172.16.10.25:9002'
//export const baseUrl ="http://172.16.10.33:9002" //export const baseUrl ="http://172.16.10.33:9002"
......
...@@ -244,7 +244,7 @@ import defaultImg from "../../assets/defaultPicture.jpg" ...@@ -244,7 +244,7 @@ import defaultImg from "../../assets/defaultPicture.jpg"
label:"100岁以上", label:"100岁以上",
}], }],
//年龄计算方式 //年龄计算方式
agemeth:"", agemeth:"1",
agemethList:[{ agemethList:[{
value:"1", value:"1",
label:"按年计算", label:"按年计算",
......
...@@ -49,6 +49,51 @@ ...@@ -49,6 +49,51 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-dialog title="已作废流程" :visible.sync="dialogTableVisible">
<el-table
:data="detableData"
style="width: 100%"
>
<el-table-column
type="index"
:index="indexMethod">
</el-table-column>
<el-table-column
prop="flowname"
label="名称"
width="180">
</el-table-column>
<el-table-column
prop="createby"
label="创建人">
</el-table-column>
<el-table-column
prop="createtime"
label="创建时间">
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-popover
placement="right"
width="200"
trigger="click">
<div class="step" style="height: 200px;">
<el-steps direction="vertical" :active="7">
<el-step v-for="index in step" :key="step[index]" :title="index.name"></el-step>
</el-steps>
</div>
<el-button
size="mini"
slot="reference"
@click="dehandle(scope.$index, scope.row)">详情</el-button>
</el-popover>
</template>
</el-table-column>
</el-table>
</el-dialog>
<el-pagination <el-pagination
class="pone" class="pone"
:page-size='10' :page-size='10'
...@@ -133,6 +178,7 @@ ...@@ -133,6 +178,7 @@
export default { export default {
data() { data() {
return { return {
dialogTableVisible:false,
flowTitle:"", flowTitle:"",
showiii:false, showiii:false,
//标题 //标题
...@@ -146,6 +192,7 @@ ...@@ -146,6 +192,7 @@
input:"", input:"",
info:'', info:'',
tableData: [], tableData: [],
detableData:[],
options: [], options: [],
value: [], value: [],
oldvalue:[], oldvalue:[],
...@@ -156,8 +203,8 @@ ...@@ -156,8 +203,8 @@
//作废 //作废
delet(){ delet(){
this.$api.getlist.selectflowState().then((res) => { this.$api.getlist.selectflowState().then((res) => {
this.tableData=res.data this.detableData=res.data
console.log(this.tableData) this.dialogTableVisible=true
}).catch((res) => { }).catch((res) => {
...@@ -304,6 +351,17 @@ this.$api.getlist.selectflowState().then((res) => { ...@@ -304,6 +351,17 @@ this.$api.getlist.selectflowState().then((res) => {
}); });
}, },
dehandle(s,d){
console.log(d)
var par={
flowNo:d.flowNo
}
this.$api.getlist.selectRoleflowNo(par).then((res) => {
this.step=res.data
}).catch((res) => {
});
}
}, },
created(){ created(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment