Blame view

src/api/fqsq.js 4.6 KB
liangyifan committed
1
import request from '@/utils/request'
任超 committed
2
import SERVER from './config'
liangyifan committed
3
// 转出
任超 committed
4
export function completeTask (data) {
liangyifan committed
5
    return request({
任超 committed
6
        url: SERVER.SERVERAPI + '/rest/business/workFlow/completeTask',
liangyifan committed
7 8 9 10
        method: 'post',
        data
    })
}
liangyifan committed
11
// 回退表格数据
任超 committed
12
export function getTaskBackNode (params) {
liangyifan committed
13
    return request({
任超 committed
14
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getTaskBackNode',
田浩浩 committed
15 16
        method: 'get',
        params: params
liangyifan committed
17
    })
田浩浩 committed
18
}
liangyifan committed
19
//   退回确认接口
任超 committed
20
export function sendBackTask (data) {
liangyifan committed
21
    return request({
任超 committed
22
        url: SERVER.SERVERAPI + '/rest/business/workFlow/sendBackTask',
liangyifan committed
23 24 25 26
        method: 'post',
        data
    })
}
liangyifan committed
27
// 获取左侧列表
任超 committed
28
export function leftMenu (data) {
liangyifan committed
29
    return request({
任超 committed
30
        url: SERVER.SERVERAPI + '/rest/business/workFlow/leftMenu',
liangyifan committed
31 32 33 34
        method: 'post',
        data
    })
}
吴蕾 committed
35
// 材料目录明细初始化
任超 committed
36
export function clmlInit (data) {
吴蕾 committed
37
    return request({
任超 committed
38
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/Init',
吴蕾 committed
39 40 41 42 43 44
        method: 'post',
        data
    })
}

// 材料目录明细移动
任超 committed
45
export function move (data) {
吴蕾 committed
46
    return request({
任超 committed
47
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/move',
吴蕾 committed
48 49 50 51 52 53
        method: 'post',
        data
    })
}

// 材料目录明细保存
任超 committed
54
export function save (data) {
吴蕾 committed
55
    return request({
任超 committed
56
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/save',
吴蕾 committed
57 58 59 60
        method: 'post',
        data
    })
}
吴蕾 committed
61 62

// 材料目录批量删除
任超 committed
63
export function clmlDelete (params) {
吴蕾 committed
64
    return request({
任超 committed
65
        url: SERVER.SERVERAPI + '/rest/zhcx/clml/delete',
吴蕾 committed
66 67 68 69
        method: 'delete',
        params: params
    })
}
蔡俊立 committed
70 71

// 获取下一环节信息
任超 committed
72
export function getNextLinkInfo (params) {
蔡俊立 committed
73
    return request({
任超 committed
74
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getNextLinkInfo',
蔡俊立 committed
75 76
        method: 'get',
        params: params
田浩浩 committed
77
    });
蔡俊立 committed
78 79
}

80
//获取单元对应的环节表单信息
任超 committed
81
export function getStepFormInfo (data) {
82
    return request({
任超 committed
83
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getStepFormInfo',
84 85 86 87
        method: 'post',
        data
    });
}
蔡俊立 committed
88
// 环节扩展信息
任超 committed
89
export function stepExpandInfo (data) {
蔡俊立 committed
90
    return request({
任超 committed
91
        url: SERVER.SERVERAPI + '/rest/business/workFlow/stepExpandInfo',
蔡俊立 committed
92 93 94 95
        method: 'post',
        data
    })
}
蔡俊立 committed
96 97

// 获取审批意见
任超 committed
98
export function getSpyjList (data) {
蔡俊立 committed
99
    return request({
任超 committed
100
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getSpyjList',
蔡俊立 committed
101 102 103 104 105 106
        method: 'post',
        data
    })
}

// 保存审批意见
任超 committed
107
export function saveSpyj (data) {
蔡俊立 committed
108
    return request({
任超 committed
109
        url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyj',
蔡俊立 committed
110 111 112 113
        method: 'post',
        data
    })
}
蔡俊立 committed
114
// 根据受理申请保存审批意见
任超 committed
115
export function saveSpyjBySlsq (data) {
蔡俊立 committed
116
    return request({
任超 committed
117
        url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyjBySlsq',
蔡俊立 committed
118 119 120 121
        method: 'post',
        data
    })
}
田浩浩 committed
122
// 登簿接口
任超 committed
123
export function record (data) {
田浩浩 committed
124
    return request({
任超 committed
125
        url: SERVER.SERVERAPI + '/rest/business/workFlow/record',
田浩浩 committed
126 127 128 129
        method: 'post',
        data
    })
}
蔡俊立 committed
130
// 获取不动产权证列表
任超 committed
131
export function getBdcqzList (params) {
蔡俊立 committed
132
    return request({
任超 committed
133
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getBdcqzList',
蔡俊立 committed
134 135 136 137 138
        method: 'get',
        params: params
    })
}
// 获取印刷序列号
任超 committed
139
export function readYsxlh (params) {
蔡俊立 committed
140
    return request({
任超 committed
141
        url: SERVER.SERVERAPI + '/rest/business/workFlow/readYsxlh',
蔡俊立 committed
142 143 144 145
        method: 'get',
        params: params
    })
}
蔡俊立 committed
146
// 缮证
任超 committed
147
export function certificate (data) {
蔡俊立 committed
148
    return request({
任超 committed
149
        url: SERVER.SERVERAPI + '/rest/business/workFlow/certificate',
蔡俊立 committed
150 151 152 153 154
        method: 'post',
        data
    })
}
// 作废缮证信息
任超 committed
155
export function invalidCertificate (data) {
蔡俊立 committed
156
    return request({
任超 committed
157
        url: SERVER.SERVERAPI + '/rest/business/workFlow/invalidCertificate',
蔡俊立 committed
158 159 160 161 162
        method: 'post',
        data
    })
}
// 缮证列表
任超 committed
163
export function getCertificateList (data) {
蔡俊立 committed
164
    return request({
任超 committed
165
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getCertificateList',
蔡俊立 committed
166 167 168 169
        method: 'post',
        data
    })
}
蔡俊立 committed
170
// 发证
任超 committed
171
export function issueCertificate (data) {
蔡俊立 committed
172
    return request({
任超 committed
173
        url: SERVER.SERVERAPI + '/rest/business/workFlow/issueCertificate',
蔡俊立 committed
174 175 176 177
        method: 'post',
        data
    })
}
蔡俊立 committed
178 179 180
// 获取受理申请下全部不动产权证
export function getSlsqBdcqzList (params) {
    return request({
任超 committed
181
        url: SERVER.SERVERAPI + '/rest/business/workFlow/getSlsqBdcqzList',
蔡俊立 committed
182 183 184 185
        method: 'get',
        params
    })
}
蔡俊立 committed
186 187 188
// 终止任务
export function stopTask (data) {
    return request({
任超 committed
189
        url: SERVER.SERVERAPI + '/rest/business/workFlow/stopTask',
蔡俊立 committed
190 191 192 193
        method: 'post',
        data
    })
}