1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
| /**
| * 电子合同列表查询
| */
|
| import ApiModel from '@/utils/core/apiModel'
|
| // 表格信息
| const tableList = [
| {
| label: '电子合同编号',
| prop: 'serialNo',
| attrs: { width: 'auto' }
| },
| {
| label: '电子合同名称',
| prop: 'contractName',
| attrs: { width: 'auto' }
| },
| {
| label: '生成流程阶段',
| prop: 'phaseName',
| attrs: { width: 'auto' }
| },
| {
| label: '生成时间',
| prop: 'createTime',
| attrs: { width: 'auto' }
| },
| {
| label: '查看电子合同',
| prop: 'selectContractButton',
| type: 'links',
| links: ['查看电子合同'],
| attrs: { width: 'auto' }
| }
| ]
|
| export default options => {
| // 接口地址,required
| const api = 'server/queryContractList'
| return new ApiModel({
| api,
| tableList,
| request(params) {
| return this.post(params)
| }
| })
| }
|
|