3f535f30
杨鑫
'初始'
|
1
2
|
<template>
<div style="background-color:#f7f7f7;padding:10px 10px;">
|
93c8bac5
李宇
1
|
3
|
<div class="zhuti" v-if="onaction == '1'">
|
3f535f30
杨鑫
'初始'
|
4
5
6
7
8
9
10
11
|
<div style="height:58px;line-height:58px;">
<div style="color:#0006"> <span>商铺租赁服务</span> <span style="padding:0 5px;">></span> <span
style="color:#000000e6">合同管理</span></div>
</div>
<!-- 线上 -->
<div>
<!-- 搜索 -->
<div class="formSearch">
|
93c8bac5
李宇
1
|
12
|
<el-form :inline="true" :model="pagequery">
|
4373acf5
wesley88
1
|
13
|
<el-form-item label="合同名称">
|
93c8bac5
李宇
1
|
14
|
<el-input v-model="pagequery.contractName" placeholder="请输入" style="width:168px;" />
|
3f535f30
杨鑫
'初始'
|
15
|
</el-form-item>
|
c3f8e431
wesley88
1
|
16
17
18
19
20
21
22
23
|
<el-form-item label="合同状态" prop="dataStatus">
<el-select v-model="pagequery.dataStatus" clearable placeholder="请选择" style="width: 168px;margin-right: 15px">
<el-option label="使用中" value="1"></el-option>
<el-option label="往期合同" value="2"></el-option>
<el-option label="已终止" value="3"></el-option>
</el-select>
</el-form-item>
|
3f535f30
杨鑫
'初始'
|
24
|
</el-form>
|
c3f8e431
wesley88
1
|
25
|
|
3f535f30
杨鑫
'初始'
|
26
27
28
29
30
31
32
33
34
|
<div>
<el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询
</el-button>
<el-button @click="resetting" class="buttonHover"
style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">重置
</el-button>
</div>
</div>
<div style="margin-bottom: 20px;">
|
93c8bac5
李宇
1
|
35
|
<el-button @click="removeonaction('2')" style="background-color: #3F9B6A;color: #fff;padding:8px 15px;"
|
3f535f30
杨鑫
'初始'
|
36
37
38
39
40
|
icon="el-icon-circle-plus-outline">新增</el-button>
<!-- <el-button @click="" style="background-color: #3F9B6A;color: #fff">批量导入</el-button> -->
</div>
<!-- 表格 -->
|
93c8bac5
李宇
1
|
41
|
<el-table :data="tableData"
|
3f535f30
杨鑫
'初始'
|
42
|
:header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}">
|
900ab311
李宇
1
|
43
|
<el-table-column label="合同名称">
|
3f535f30
杨鑫
'初始'
|
44
|
<template slot-scope="scope">
|
fb82c607
李宇
1
|
45
|
{{scope.row.contractName}}
|
3f535f30
杨鑫
'初始'
|
46
47
48
|
</template>
</el-table-column>
|
900ab311
李宇
1
|
49
|
<el-table-column label="合同金额">
|
93c8bac5
李宇
1
|
50
|
<template slot-scope="scope">
|
fb82c607
李宇
1
|
51
|
{{scope.row.contractAmount}}
|
3f535f30
杨鑫
'初始'
|
52
|
|
93c8bac5
李宇
1
|
53
|
</template>
|
3f535f30
杨鑫
'初始'
|
54
|
</el-table-column>
|
900ab311
李宇
1
|
55
|
<el-table-column label="签订日期">
|
93c8bac5
李宇
1
|
56
|
<template slot-scope="scope">
|
900ab311
李宇
1
|
57
|
{{scope.row.contractSigningDate}}
|
3f535f30
杨鑫
'初始'
|
58
|
|
93c8bac5
李宇
1
|
59
|
</template>
|
3f535f30
杨鑫
'初始'
|
60
|
</el-table-column>
|
900ab311
李宇
1
|
61
|
<el-table-column label="终止日期">
|
3f535f30
杨鑫
'初始'
|
62
|
<template slot-scope="scope">
|
900ab311
李宇
1
|
63
|
{{scope.row.contractTerminationDate}}
|
3f535f30
杨鑫
'初始'
|
64
65
66
|
</template>
</el-table-column>
|
900ab311
李宇
1
|
67
|
<el-table-column label="姓名">
|
93c8bac5
李宇
1
|
68
|
<template slot-scope="scope">
|
900ab311
李宇
1
|
69
|
{{scope.row.tenantName}}
|
3f535f30
杨鑫
'初始'
|
70
|
|
93c8bac5
李宇
1
|
71
|
</template>
|
3f535f30
杨鑫
'初始'
|
72
|
</el-table-column>
|
900ab311
李宇
1
|
73
|
<el-table-column label="联系电话">
|
3f535f30
杨鑫
'初始'
|
74
|
<template slot-scope="scope">
|
900ab311
李宇
1
|
75
|
{{scope.row.tenantTelephone}}
|
3f535f30
杨鑫
'初始'
|
76
77
78
|
</template>
</el-table-column>
|
900ab311
李宇
1
|
79
|
<el-table-column label="合同类型">
|
3f535f30
杨鑫
'初始'
|
80
|
<template slot-scope="scope">
|
900ab311
李宇
1
|
81
|
{{scope.row.contractType}}
|
3f535f30
杨鑫
'初始'
|
82
83
|
</template>
|
0cd4da15
wesley88
1
|
84
|
</el-table-column>
|
900ab311
李宇
1
|
85
|
<el-table-column prop="dataStatus" label="合同状态">
|
3f535f30
杨鑫
'初始'
|
86
|
<template slot-scope="scope">
|
900ab311
李宇
1
|
87
88
89
|
<span v-if='scope.row.dataStatus == 1'>使用中</span>
<span v-else-if='scope.row.dataStatus == 2'>往期合同</span>
<span v-else-if='scope.row.dataStatus == 3'>已终止</span>
|
c4af7f82
wesley88
1
|
90
91
92
|
<span v-else-if='scope.row.dataStatus == 4'>待发起</span>
<span v-else-if='scope.row.dataStatus == 5'>待审核</span>
<span v-else-if='scope.row.dataStatus == 6'>已拒绝</span>
|
900ab311
李宇
1
|
93
|
<span v-else>-</span>
|
3f535f30
杨鑫
'初始'
|
94
95
96
|
</template>
</el-table-column>
|
900ab311
李宇
1
|
97
98
|
<el-table-column label="操作" min-width="150" fixed="right">
<template slot-scope="scope">
|
c0c9fa7a
wesley88
1
|
99
|
<div @click="details(scope.row,'1')" class="tableBtn greens">查看</div>
|
6b583a85
wesley88
1
|
100
|
<!-- -->
|
542e27d5
wesley88
1
|
101
102
103
|
<!-- <div v-if='scope.row.dataStatus == 5 && scope.row.isInterior == 1' @click="details(scope.row,'2')" class="tableBtn greens">审核</div> -->
<div v-if='scope.row.dataStatus == 4' @click="details(scope.row,'2')" class="tableBtn greens">审核</div>
<!-- <div v-if='scope.row.dataStatus == 4' @click="remove(scope.row)" class="tableBtn greens">内部审核</div> -->
|
53c1431a
wesley88
1
|
104
|
<div v-if='scope.row.dataStatus == 4' @click="openOAitem(scope.row)" class="tableBtn greens">OA审核</div>
|
4373acf5
wesley88
1
|
105
106
107
|
<div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同变更')" class="tableBtn greens">合同变更</div>
<div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同续约')" class="tableBtn greens">合同续约</div>
<div v-if='scope.row.dataStatus == 1' @click="removeinfozz(scope.row,'合同终止')" class="tableBtn greens">合同终止</div>
|
900ab311
李宇
1
|
108
109
|
<!-- <div @click="handleDelete(scope.row)" class="tableBtn greens">删除</div> -->
</template>
|
3f535f30
杨鑫
'初始'
|
110
111
|
</el-table-column>
</el-table>
|
93c8bac5
李宇
1
|
112
113
|
<div style="display: flex;justify-content: space-between;" class="bom">
<div style="font-size: 14px;">共 <span style="color: #3F9B6A;">{{total}}</span> 项数据</div>
|
4373acf5
wesley88
1
|
114
115
|
<el-pagination :current-page="pagequery.pageNumber+1" :page-sizes="[10, 20, 50, 100]" :page-size="10"
background small layout="prev, pager, next" :total="total" @size-change="handleSizeChange"
|
93c8bac5
李宇
1
|
116
117
|
@current-change="handleCurrentChange">
</el-pagination>
|
3f535f30
杨鑫
'初始'
|
118
|
</div>
|
3f535f30
杨鑫
'初始'
|
119
|
|
3f535f30
杨鑫
'初始'
|
120
121
122
|
</div>
</div>
|
3f535f30
杨鑫
'初始'
|
123
|
|
3f535f30
杨鑫
'初始'
|
124
|
|
3f535f30
杨鑫
'初始'
|
125
|
|
3f535f30
杨鑫
'初始'
|
126
|
|
3f535f30
杨鑫
'初始'
|
127
|
|
93c8bac5
李宇
1
|
128
129
130
131
132
133
|
<div class="zhuti" v-if="onaction == '2'">
<div style="height:58px;line-height:58px;">
<div style="color:#0006"> <span>合同管理</span> <span style="padding:0 5px;">></span> <span
style="color:#000000e6">新增</span></div>
</div>
|
3f535f30
杨鑫
'初始'
|
134
|
|
8550d958
杨鑫
'最新'
|
135
|
<div style="padding: 20px 20px 20px 0;">
|
93c8bac5
李宇
1
|
136
|
<add :info="formInline" @removeonaction="removeonaction"></add>
|
8550d958
杨鑫
'最新'
|
137
138
|
</div>
</div>
|
900ab311
李宇
1
|
139
140
141
142
143
144
|
<div class="zhuti" v-if="onaction == '3'">
<div style="height:58px;line-height:58px;">
<div style="color:#0006"> <span>合同管理</span> <span style="padding:0 5px;">></span> <span
style="color:#000000e6">查看</span></div>
</div>
<div>
|
c0c9fa7a
wesley88
1
|
145
|
<busCha :issp="issp" :info="detailsinfo" @removeonaction="removeonaction"></busCha>
|
900ab311
李宇
1
|
146
|
</div>
|
4373acf5
wesley88
1
|
147
148
149
150
151
152
153
154
155
156
157
158
159
|
<!-- <div>
<el-button class="buttonHover"
style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;margin-top: 20px;"
@click="removeonaction('1')">返回</el-button>
</div> -->
</div>
<div class="zhuti" v-if="onaction == '4'">
<div style="height:58px;line-height:58px;">
<div style="color:#0006"> <span>合同管理</span> <span style="padding:0 5px;">></span> <span
style="color:#000000e6">{{contractChangeReason}}</span></div>
</div>
<div style="padding: 20px 20px 20px 0;">
|
9a707dae
wesley88
1
|
160
161
162
|
<!-- <addremove :info="detailsinfo" :contractChangeReason="contractChangeReason" @removeonaction="removeonaction">
</addremove> -->
<add :info="detailsinfo" :contractChangeReason="contractChangeReason" @removeonaction="removeonaction"></add>
|
900ab311
李宇
1
|
163
164
|
</div>
</div>
|
6b583a85
wesley88
1
|
165
166
167
168
169
170
171
172
173
174
175
|
<el-dialog :visible.sync="openoa" title="OA" width="65%" append-to-body center :close-on-click-modal="false"
:close-on-press-escape="false" :show-close="false">
<el-form v-if="openoa" style="padding-right: 50px;padding-top: 20px;" :model="ruleForm" :rules="rulesoa" ref="oaForm" label-width="130px" class="demo-ruleForm">
<el-form-item label="审核人" prop="reviewers">
<el-select v-model="ruleForm.reviewers" placeholder="请选择" style="width: 100%;">
<el-option label="陈阳" value="1858710592190291968"></el-option>
</el-select>
</el-form-item>
</el-form>
<div style="display: flex; justify-content: flex-end; align-items: center;padding: 20px 50px;">
|
6b583a85
wesley88
1
|
176
177
|
<el-button @click="openoa =false" class="buttonHover"
style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">取消</el-button>
|
89bb9f2b
wesley88
1
|
178
|
<el-button @click="OA" style="background-color: #3F9B6A;color: #fff;">确定</el-button>
|
6b583a85
wesley88
1
|
179
180
|
</div>
</el-dialog>
|
3f535f30
杨鑫
'初始'
|
181
182
183
184
185
186
187
|
</div>
</template>
<script>
import {
|
93c8bac5
李宇
1
|
188
|
contractGetAllnew,
|
c0c9fa7a
wesley88
1
|
189
190
|
edit,
editById
|
4373acf5
wesley88
1
|
191
192
193
194
195
196
197
|
} from '@/api/manage.js'
import add from '@/components/add/addht.vue'
import addremove from '@/components/add/addremoveht.vue'
import busCha from '@/components/buscha/busCha'
import {
cereContractInformation
} from '@/api/commodityLease.js'
|
ad5052c5
wesley88
1
|
198
|
import {
|
c3f8e431
wesley88
1
|
199
|
modifyResourceStatus,general
|
ad5052c5
wesley88
1
|
200
|
} from '@/api/newly.js'
|
c3f8e431
wesley88
1
|
201
|
import axios from 'axios'
|
3f535f30
杨鑫
'初始'
|
202
|
export default {
|
3f535f30
杨鑫
'初始'
|
203
204
|
data() {
return {
|
c0c9fa7a
wesley88
1
|
205
|
issp:'1',
|
6b583a85
wesley88
1
|
206
207
208
209
210
211
212
213
214
215
216
|
rulesoa: {
reviewers: [{
required: true,
message: '请选择审核人',
trigger: 'blur'
}, ],
},
ruleForm:{
reviewers:""
},
openoa:false,
|
4373acf5
wesley88
1
|
217
218
|
contractChangeReason: '',
detailsinfo: {},
|
93c8bac5
李宇
1
|
219
|
pagequery: {
|
c3f8e431
wesley88
1
|
220
|
// dataStatus:'1',
|
900ab311
李宇
1
|
221
|
pageNumber: 0,
|
3f535f30
杨鑫
'初始'
|
222
|
pageSize: 10,
|
4373acf5
wesley88
1
|
223
|
contractName: ''
|
3f535f30
杨鑫
'初始'
|
224
|
},
|
93c8bac5
李宇
1
|
225
226
227
|
tableData: [],
total: 0,
onaction: '1',
|
9a707dae
wesley88
1
|
228
|
formInline: {},
|
6b583a85
wesley88
1
|
229
|
oainfo:{}
|
3f535f30
杨鑫
'初始'
|
230
231
|
}
},
|
93c8bac5
李宇
1
|
232
|
components: {
|
4373acf5
wesley88
1
|
233
234
235
|
add,
busCha,
addremove
|
93c8bac5
李宇
1
|
236
|
},
|
3f535f30
杨鑫
'初始'
|
237
238
|
created() {
this.getAll()
|
3f535f30
杨鑫
'初始'
|
239
240
|
},
methods: {
|
c0c9fa7a
wesley88
1
|
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
remove(row) {
let that = this
this.$confirm('是否确定内部审核吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
editById({
contractNumber:row.contractNumber,
isInterior:'1'
}).then(res => {
console.error(res)
if (res.code == 200) {
edit({
contractNumber: row.contractNumber,
dataStatus: '5',
}).then(res1 => {
this.$message({
message: '处理成功',
type: 'success'
})
console.error(res1)
this.resetting()
})
} else {
this.$message({
message: res.msg,
type: 'error'
})
}
})
})
},
|
6b583a85
wesley88
1
|
276
277
278
279
280
|
openOAitem(row){
this.oainfo = row
this.ruleForm.reviewers = ''
this.openoa = true
},
|
8d287597
wesley88
1
|
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
|
downloadBase64File(base64String, fileName, mimeType) {
try {
// 将 Base64 字符串解码为二进制数据
const byteCharacters = atob(base64String);
const byteNumbers = new Array(byteCharacters.length);
for (let i = 0; i < byteCharacters.length; i++) {
byteNumbers[i] = byteCharacters.charCodeAt(i);
}
const byteArray = new Uint8Array(byteNumbers);
// 创建 Blob 对象
const blob = new Blob([byteArray], { type: mimeType });
// 生成下载链接并触发下载
const url = window.URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.setAttribute('download', fileName); // 设置下载文件名
document.body.appendChild(link);
link.click();
|
c3f8e431
wesley88
1
|
301
|
|
8d287597
wesley88
1
|
302
303
304
305
306
307
308
309
310
|
// 清理生成的 URL 对象
window.URL.revokeObjectURL(url);
document.body.removeChild(link);
console.log('文件下载成功:', fileName);
} catch (error) {
console.error('文件下载失败:', error);
}
},
|
6b583a85
wesley88
1
|
311
|
async OA(){
|
866d1a6a
wesley88
1
|
312
|
// console.error(row)
|
6b583a85
wesley88
1
|
313
314
315
316
317
318
319
320
321
322
323
324
|
let row = this.oainfo
await this.$refs.oaForm.validate((valid) => {
})
if(!this.ruleForm.reviewers) {
return
}
const loading = this.$loading({
fullscreen: true
})
this.openoa = false
|
8d287597
wesley88
1
|
325
326
327
328
329
330
331
|
console.log(this.$baseURL+row.appendicesContract)
const response = await axios({
method: 'get',
url: this.$baseURL + row.appendicesContract, // 文件 URL
responseType: 'arraybuffer' // 指定响应类型为二进制数据
});
console.log(JSON.stringify(response.data));
|
c3f8e431
wesley88
1
|
332
|
// return
|
8d287597
wesley88
1
|
333
334
|
const buffer = Buffer.from(response.data);
const base64Data = buffer.toString('base64');
|
c3f8e431
wesley88
1
|
335
|
console.log(base64Data);
|
8d287597
wesley88
1
|
336
|
// this.downloadBase64File(base64Data, 'contract_file', response.headers['content-type']);
|
c3f8e431
wesley88
1
|
337
|
// return
|
8d287597
wesley88
1
|
338
|
const file = new File([response.data], 'filename.txt', { type: 'text/plain' });
|
c3f8e431
wesley88
1
|
339
|
console.log(file);
|
a8cf1417
杨鑫
'最新'
|
340
|
let userData = JSON.parse(localStorage.getItem('user'));
|
c3f8e431
wesley88
1
|
341
|
let fd = new FormData();
|
8d287597
wesley88
1
|
342
|
fd.append('files', file); // 假设 formData 包含文件
|
6b583a85
wesley88
1
|
343
|
fd.append('reviewers', this.ruleForm.reviewers);
|
8d287597
wesley88
1
|
344
|
fd.append('fileNames', '合同.docx');
|
a8cf1417
杨鑫
'最新'
|
345
|
fd.append('title', `${row.contractName}审批`);
|
866d1a6a
wesley88
1
|
346
|
fd.append('contractNumber', row.contractNumber);
|
a8cf1417
杨鑫
'最新'
|
347
|
fd.append('sponsor', userData.user.id);
|
c3f8e431
wesley88
1
|
348
|
console.log(fd);
|
8d287597
wesley88
1
|
349
350
351
352
353
354
355
|
// return
// let c1 ={
// "reviewers": '1858710592190291968',
// "fileNames":'合同.docx',
// "files":file,
// "title": "这是一个流程"
// }
|
c3f8e431
wesley88
1
|
356
|
// c1.files.push(fd)
|
8d287597
wesley88
1
|
357
358
|
// console.log(fd);
general(fd).then(res => {
|
c4af7f82
wesley88
1
|
359
360
|
console.log(res);
let data = JSON.parse(res.data)
|
e6353123
杨鑫
'小程序推广'
|
361
|
if(data.code == '0'){
|
c4af7f82
wesley88
1
|
362
363
364
365
|
this.$message({
type: 'success',
message: '发起成功'
})
|
6b583a85
wesley88
1
|
366
367
|
loading.close();
this.resetting()
|
866d1a6a
wesley88
1
|
368
369
370
371
372
373
374
|
// edit({
// contractNumber: row.contractNumber,
// dataStatus: '5',
// }).then(res1 => {
// console.error(res1)
// this.resetting()
// })
|
c4af7f82
wesley88
1
|
375
376
377
378
379
380
|
} else {
this.$message({
type: 'error',
message: data.message
})
}
|
c3f8e431
wesley88
1
|
381
|
})
|
c3f8e431
wesley88
1
|
382
|
|
8d287597
wesley88
1
|
383
|
|
c3f8e431
wesley88
1
|
384
|
},
|
4373acf5
wesley88
1
|
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
|
gettime() {
// 获取当前时间
let currentTime = new Date();
// 获取年份
let year = currentTime.getFullYear();
// 获取月份(注意月份是从0开始计数的,所以需要加1)
let month = currentTime.getMonth() + 1;
// 获取日期
let day = currentTime.getDate();
// 获取小时
let hours = currentTime.getHours();
// 获取分钟
let minutes = currentTime.getMinutes();
// 获取秒数
let seconds = currentTime.getSeconds();
// 获取毫秒数
let milliseconds = currentTime.getMilliseconds();
// 格式化时间为 YYYY-MM-DD
let formattedDate = `${year}-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}`;
// 格式化时间为 HH:MM:SS
let formattedTime =
`${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
// 格式化时间为 YYYY-MM-DD HH:MM:SS
let formattedDateTime = `${formattedDate} ${formattedTime}`;
return formattedDateTime
},
removeinfozz(row, e) {
let that = this
this.$confirm('确定要终止合同吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
cereContractInformation({
...row,
contractChangeReason: e,
dataStatus: '3',
originalContractCode: row.contractNumber,
updateDate: that.gettime(),
createDate: that.gettime(),
contractChangeTime: that.gettime(),
updateUser:localStorage.getItem('roleName')
}).then(res => {
console.error(res)
if (res.code == 200) {
this.$message({
message: '终止成功',
type: 'success'
})
|
ad5052c5
wesley88
1
|
445
446
447
448
449
450
451
|
let c1 = row.shopNumber
modifyResourceStatus({
resourcesId: c1,
status:"0"
}).then(res => {
console.error(res)
})
|
6abe0316
wesley88
1
|
452
453
|
// this.$emit('removeonaction', '1')
this.getAll()
|
4373acf5
wesley88
1
|
454
455
456
457
458
459
460
461
462
463
|
} else {
this.$message({
message: res.msg,
type: 'error'
})
}
})
})
},
|
c0c9fa7a
wesley88
1
|
464
465
|
details(row,e) {
this.issp = e
|
900ab311
李宇
1
|
466
467
468
|
this.detailsinfo = row
this.onaction = '3'
},
|
4373acf5
wesley88
1
|
469
470
|
removeinfo(row, e) {
this.contractChangeReason = e
|
9a707dae
wesley88
1
|
471
|
// console.error(this.contractChangeReason)
|
4373acf5
wesley88
1
|
472
473
|
this.detailsinfo = row
this.onaction = '4'
|
900ab311
李宇
1
|
474
|
},
|
93c8bac5
李宇
1
|
475
476
|
async getAll() {
const res = await contractGetAllnew(this.pagequery)
|
3f535f30
杨鑫
'初始'
|
477
|
this.tableData = res.data.content
|
900ab311
李宇
1
|
478
|
this.total = res.data.totalElements
|
3f535f30
杨鑫
'初始'
|
479
|
},
|
93c8bac5
李宇
1
|
480
481
482
|
removeonaction(e) {
console.error(e)
this.onaction = e
|
4373acf5
wesley88
1
|
483
484
|
this.pagequery.pageNumber = 0
this.getAll()
|
3f535f30
杨鑫
'初始'
|
485
486
|
},
handleCurrentChange(val) {
|
4373acf5
wesley88
1
|
487
|
this.pagequery.pageNumber = val - 1
|
900ab311
李宇
1
|
488
|
this.getAll()
|
3f535f30
杨鑫
'初始'
|
489
|
},
|
93c8bac5
李宇
1
|
490
491
|
handleSizeChange(val) {
this.pagequery.pageSize = val
|
3f535f30
杨鑫
'初始'
|
492
|
},
|
4373acf5
wesley88
1
|
493
|
// 查询按钮
|
3f535f30
杨鑫
'初始'
|
494
|
async onSubmit() {
|
900ab311
李宇
1
|
495
|
this.pagequery.pageNumber = 0
|
93c8bac5
李宇
1
|
496
|
this.getAll()
|
3f535f30
杨鑫
'初始'
|
497
498
499
|
},
//重置按钮
resetting() {
|
93c8bac5
李宇
1
|
500
|
this.pagequery = {
|
900ab311
李宇
1
|
501
|
pageNumber: 0,
|
93c8bac5
李宇
1
|
502
|
pageSize: 10,
|
c3f8e431
wesley88
1
|
503
|
dataStatus:'',
|
4373acf5
wesley88
1
|
504
|
contractName: ''
|
93c8bac5
李宇
1
|
505
|
},
|
3f535f30
杨鑫
'初始'
|
506
507
|
this.getAll()
},
|
3f535f30
杨鑫
'初始'
|
508
|
}
|
93c8bac5
李宇
1
|
509
|
|
3f535f30
杨鑫
'初始'
|
510
511
512
513
|
}
</script>
<style scoped>
|
93c8bac5
李宇
1
|
514
|
.el-table {
|
900ab311
李宇
1
|
515
|
/* height: calc(100vh - 330px); */
|
93c8bac5
李宇
1
|
516
|
}
|
900ab311
李宇
1
|
517
|
|
3f535f30
杨鑫
'初始'
|
518
519
520
521
522
523
524
525
526
527
528
529
530
|
.zhuti {
padding: 0 20px 20px 20px;
min-height: calc(100vh - 50px - 20px);
background-color: #Fff;
}
.chengeXia {
border-bottom: 6px solid #3F9B6A;
padding-bottom: 4px;
color: #3F9B6A;
}
|
93c8bac5
李宇
1
|
531
|
/* /deep/ .el-form-item__content {
|
3f535f30
杨鑫
'初始'
|
532
|
line-height: 0;
|
93c8bac5
李宇
1
|
533
|
} */
|
3f535f30
杨鑫
'初始'
|
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
|
.tableBtn {
display: inline-block;
margin-right: 10px;
color: #ACACAC;
}
.formSearch {
display: flex;
width: 100%;
font-size: 14px;
justify-content: space-between;
}
.greens {
color: #3F9B6A;
}
/deep/ .el-table__row {
font-size: 14px;
color: #000000e6;
height: 42px;
}
.fenye {
margin-top: 20px;
display: flex;
|
8550d958
杨鑫
'最新'
|
561
|
justify-content: space-between;
|
3f535f30
杨鑫
'初始'
|
562
563
564
565
566
567
|
}
/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: #3F9B6A;
}
|
3f535f30
杨鑫
'初始'
|
568
|
|
3f535f30
杨鑫
'初始'
|
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
|
.el-col {
border-radius: 4px;
}
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
background: #d3dce6;
}
.bg-purple-light {
background: #e5e9f2;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
}
.row-bg {
padding: 10px 0;
background-color: #f9fafc;
}
/deep/ .bg-purple[data-v-0e3fe4ec] {
background: #fff;
height: 50px;
}
/deep/ .bg-purple[data-v-3bebae82] {
background: #fff;
height: 50px;
}
::v-deep .bg-purple {
background: #fff;
height: 50px;
}
/deep/ .el-form--label-top .el-form-item__label {
padding: 0;
}
::v-deep .el-dialog__wrapper {
.el-dialog__header {
background-color: #fff;
}
}
|
8550d958
杨鑫
'最新'
|
621
|
|
3f535f30
杨鑫
'初始'
|
622
623
624
625
626
627
628
629
|
.dialog-footer {
display: flex;
justify-content: flex-end;
border-top: solid rgba(209, 209, 209, 0.2) 2px;
padding-top: 20px;
}
|
3f535f30
杨鑫
'初始'
|
630
|
|
3f535f30
杨鑫
'初始'
|
631
|
|
3f535f30
杨鑫
'初始'
|
632
633
634
635
636
|
.el-select-dropdown__item.selected {
color: #3F9B6A;
}
|
93c8bac5
李宇
1
|
637
638
639
640
|
::v-deep .el-dialog__title {
color: #000;
}
|
3f535f30
杨鑫
'初始'
|
641
642
643
644
645
646
|
::v-deep .el-dialog__wrapper {
.dialog_css {
margin-right: 12px;
margin-top: 61px !important;
|
3f535f30
杨鑫
'初始'
|
647
648
649
650
651
652
653
654
655
|
}
.diaslog_zhong {
margin-left: 222px;
margin-top: 61px !important;
}
}
|
3f535f30
杨鑫
'初始'
|
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
|
/deep/ .el-table_1_column_8 .hetong {
color: #7DBB9A;
text-decoration: underline;
}
/deep/ .first-column-bg {
background-color: #FAFAFA !important;
}
.el-table tr {
height: 56px;
}
::v-deep .table3 {
.el-table__empty-block {
display: none;
}
}
::v-deep .textarea {
width: 85%;
.el-textarea__inner {
width: 100%;
}
}
::v-deep .el-button--mini {
padding: 7px 10px;
}
::v-deep .pass_input {
width: 100%;
.el-input__inner {
border: none;
padding: 0;
}
}
::v-deep .pass_select {
width: 100%;
.el-input__inner {
border: none;
padding: 0;
}
.el-icon-arrow-up:before {
content: ''
}
}
/deep/ .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
background-color: #fff;
}
</style>
<style lang="scss" scoped>
|
93c8bac5
李宇
1
|
715
716
717
|
::v-deep .el-dialog__body {
padding: 0 0 !important;
}
|
3f535f30
杨鑫
'初始'
|
718
|
|
118fc86d
wesley88
1
|
719
|
|
3f535f30
杨鑫
'初始'
|
720
|
</style>
|