jufubao-admin-library 1.1.192 → 1.1.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,9 +21,11 @@
|
|
|
21
21
|
<el-card class="app-container__list">
|
|
22
22
|
<div class="app-container__list-pagination">
|
|
23
23
|
<div></div>
|
|
24
|
+
<!-- #ifdef oa-finance -->
|
|
24
25
|
<div v-if="isExport">
|
|
25
|
-
|
|
26
|
+
<el-button type="primary" @click="handleExport">导出</el-button>
|
|
26
27
|
</div>
|
|
28
|
+
<!-- #endif -->
|
|
27
29
|
</div>
|
|
28
30
|
<div class="app-container__list-table">
|
|
29
31
|
<xd-table
|
|
@@ -367,7 +369,7 @@ export default {
|
|
|
367
369
|
export: true,
|
|
368
370
|
}
|
|
369
371
|
let loading = Loading.service({})
|
|
370
|
-
this.
|
|
372
|
+
this.purchaseMainOrder(params).then(res => {
|
|
371
373
|
console.log(res, 'asdasda')
|
|
372
374
|
this.$message.success('导出任务已经开始执行,请去任务管理查看下载状态')
|
|
373
375
|
this.exportFrom.name = ''
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
{{ option.label }}
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
|
-
<div class="template" :key="templateKey">
|
|
44
|
+
<div class="template" :key="templateKey" v-if="templateList.length > 0">
|
|
45
45
|
<div
|
|
46
46
|
@click="handleChoseTemplate(item.id)"
|
|
47
47
|
:style="{
|
|
@@ -63,6 +63,9 @@
|
|
|
63
63
|
<div class="template-item-name">{{ item.template_name }}</div>
|
|
64
64
|
</div>
|
|
65
65
|
</div>
|
|
66
|
+
<div v-else>
|
|
67
|
+
<div class="template-empty">暂无模版</div>
|
|
68
|
+
</div>
|
|
66
69
|
</el-form-item>
|
|
67
70
|
</el-form>
|
|
68
71
|
</template>
|
|
@@ -99,7 +102,7 @@ export default {
|
|
|
99
102
|
watch: {
|
|
100
103
|
"form.layout_id"() {
|
|
101
104
|
this.templateKey = new Date().getTime();
|
|
102
|
-
this.getTemplateList();
|
|
105
|
+
// this.getTemplateList();
|
|
103
106
|
},
|
|
104
107
|
},
|
|
105
108
|
mounted() {},
|
|
@@ -130,7 +133,7 @@ export default {
|
|
|
130
133
|
},
|
|
131
134
|
getTemplateList() {
|
|
132
135
|
this.getPPTTemplateList({
|
|
133
|
-
layout_id: this.form.layout_id,
|
|
136
|
+
// layout_id: this.form.layout_id,
|
|
134
137
|
category_id: this.templateType,
|
|
135
138
|
status: 'Y'
|
|
136
139
|
}).then((res) => {
|
|
@@ -353,4 +356,13 @@ export default {
|
|
|
353
356
|
.btn {
|
|
354
357
|
margin-left: 150px;
|
|
355
358
|
}
|
|
359
|
+
.template-empty {
|
|
360
|
+
text-align: center;
|
|
361
|
+
font-size: 14px;
|
|
362
|
+
color: #999;
|
|
363
|
+
padding: 20px;
|
|
364
|
+
background: #f5f7fa;
|
|
365
|
+
border-radius: 4px;
|
|
366
|
+
margin-top: 15px;
|
|
367
|
+
}
|
|
356
368
|
</style>
|