nbwansui 1.0.1 → 1.0.2
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.
- package/.history/package_20260118103726.json +11 -11
- package/.history/package_20260118104713.json +11 -11
- package/.history/package_20260118104950.json +11 -11
- package/.history/package_20260118105418.json +12 -12
- package/.history/package_20260118110411.json +12 -12
- package/.history/package_20260118110422.json +12 -12
- package/.history/package_20260118112231.json +12 -12
- package/components/PiLiangXiuGai.vue +266 -0
- package/components/XiaZaiWanShangMoKuai.vue +69 -0
- package/components/excelmuban.vue +341 -0
- package/components/excelshangchuan.vue +240 -0
- package/components/guanlianniu.vue +547 -0
- package/components/houtaidaima.vue +210 -0
- package/components/index.js +54 -0
- package/components/myTable.vue +299 -0
- package/components/quanxianguanli.vue +201 -0
- package/components/rizhiwenjian.vue +290 -0
- package/components/svg/wave.svg +1 -0
- package/components/taskModal.vue +343 -0
- package/components/xiugaibiaodan.vue +836 -0
- package/components/zaixiansheji.vue +462 -0
- package/components/zengjiayonghu.vue +149 -0
- package/dialog/dakaiyemian.vue +53 -0
- package/dialog/fapiaoshangchuan.vue +634 -0
- package/dialog/faqiliucheng.vue +291 -0
- package/dialog/index.js +23 -0
- package/dialog/liuchengtuchakan.vue +301 -0
- package/dialog/print.vue +133 -0
- package/dialog/shenpiliucheng.vue +451 -0
- package/dialog/shishigongju.vue +32 -0
- package/form/changxiaochanpin.vue +355 -0
- package/form/currentuser.vue +40 -0
- package/form/department.vue +69 -0
- package/form/huiYiShiShengQing copy.vue +458 -0
- package/form/huiYiShiShengQing.vue +90 -0
- package/form/huodongchanpin.vue +236 -0
- package/form/image.vue +55 -0
- package/form/imageCube.vue +205 -0
- package/form/index.js +78 -0
- package/form/maptree.vue +475 -0
- package/form/page.vue +57 -0
- package/form/placeholder.vue +40 -0
- package/form/qianzi.vue +186 -0
- package/form/scrollList.vue +151 -0
- package/form/selectCar.vue +564 -0
- package/form/selectImg.vue +226 -0
- package/form/selectStyle.vue +170 -0
- package/form/selectVideo.vue +219 -0
- package/form/selectpeople copy.vue +1514 -0
- package/form/selectpeople.vue +1442 -0
- package/form/shenPiList.vue +63 -0
- package/form/shenpiyijian.vue +170 -0
- package/form/shouyefenlei.vue +175 -0
- package/form/showmap.vue +74 -0
- package/form/showtianqi.vue +108 -0
- package/form/star.vue +52 -0
- package/form/stateBtn.vue +67 -0
- package/form/swiper.vue +70 -0
- package/form/tableelement.vue +54 -0
- package/form/tiaoma.vue +33 -0
- package/form/ueditor.vue +174 -0
- package/form/video.vue +50 -0
- package/form/viewtable.vue +96 -0
- package/form/xiangqingneirong.vue +75 -0
- package/form/zhanwei.vue +40 -0
- package/index.js +7 -13
- package/package.json +12 -12
- package/wsui/350/257/264/346/230/216.xls +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwansui",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
-
},
|
|
8
|
-
"author": "",
|
|
9
|
-
"license": "ISC",
|
|
10
|
-
"description": ""
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwansui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
+
},
|
|
8
|
+
"author": "",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"description": ""
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwansui-pc",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
-
},
|
|
8
|
-
"author": "",
|
|
9
|
-
"license": "ISC",
|
|
10
|
-
"description": ""
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwansui-pc",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
+
},
|
|
8
|
+
"author": "",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"description": ""
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwansui",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
-
},
|
|
8
|
-
"author": "",
|
|
9
|
-
"license": "ISC",
|
|
10
|
-
"description": ""
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwansui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
7
|
+
},
|
|
8
|
+
"author": "",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"description": ""
|
|
11
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwansui",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"keywords": ["nbwansui"],
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"description": ""
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwansui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"keywords": ["nbwansui"],
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"description": ""
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwans-wsui",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"keywords": ["nbwansui"],
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"description": ""
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwans-wsui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"keywords": ["nbwansui"],
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"description": ""
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwansui",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"keywords": ["nbwansui"],
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"description": ""
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwansui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"keywords": ["nbwansui"],
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"description": ""
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nbwansui",
|
|
3
|
-
"version": "1.0.1",
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"keywords": ["nbwansui"],
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
|
-
"author": "",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"description": ""
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "nbwansui",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"keywords": ["nbwansui"],
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "ISC",
|
|
11
|
+
"description": ""
|
|
12
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="modify-dialog">
|
|
3
|
+
<div style="padding: 20px">
|
|
4
|
+
<el-alert :title="BeiZhu" type="info" />
|
|
5
|
+
</div>
|
|
6
|
+
<el-form ref="form" :inline="false" label-width="180px">
|
|
7
|
+
<template v-for="(col, index) in LieShuJu" :key="index">
|
|
8
|
+
<el-form-item :label="col.label">
|
|
9
|
+
<div style="display: flex; width: 100%">
|
|
10
|
+
<wsui-switch v-model="col.isCha" active-color="#13ce66" :dic="isChadic"
|
|
11
|
+
inactive-color="rgb(239, 239, 239)" />
|
|
12
|
+
<wsui-input v-if="col.type == 'input'" v-model="col.QuYu" :change="(v) => {
|
|
13
|
+
if (v.value) {
|
|
14
|
+
col.isCha = 1
|
|
15
|
+
} else {
|
|
16
|
+
col.isCha = 0
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
" placeholder="请输入内容" />
|
|
20
|
+
<el-select v-if="col.type == 'switch'" v-model="col.QuYu" style="width: 180px; padding-left: 10px" @change="(v) => {
|
|
21
|
+
if (v != '') {
|
|
22
|
+
col.isCha = 1
|
|
23
|
+
col.TiaoJian = 'eq'
|
|
24
|
+
} else {
|
|
25
|
+
col.isCha = 0
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
">
|
|
29
|
+
<el-option label="空" value="" />
|
|
30
|
+
<el-option label="否" value="0" />
|
|
31
|
+
<el-option label="是" value="1" />
|
|
32
|
+
</el-select>
|
|
33
|
+
|
|
34
|
+
<wsui-date v-if="col.type == 'daterange'" v-model="col.QuYu" align="center" format="YYYY-MM-DD"
|
|
35
|
+
type="daterange" @change="(v) => {
|
|
36
|
+
if (v.value) {
|
|
37
|
+
col.isCha = 1
|
|
38
|
+
} else {
|
|
39
|
+
col.isCha = 0
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
" />
|
|
43
|
+
|
|
44
|
+
<wsui-date v-if="col.type == 'month'" v-model="col.QuYu" align="center" @change="(v) => {
|
|
45
|
+
if (v.value) {
|
|
46
|
+
col.isCha = 1
|
|
47
|
+
} else {
|
|
48
|
+
col.isCha = 0
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
" format="YYYY-MM-01" style="width: 100px" type="month" />
|
|
52
|
+
|
|
53
|
+
<wsui-date v-if="col.type == 'year'" v-model="col.QuYu" align="center" @change="(v) => {
|
|
54
|
+
if (v.value) {
|
|
55
|
+
col.isCha = 1
|
|
56
|
+
} else {
|
|
57
|
+
col.isCha = 0
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
" format="YYYY-01-01" style="width: 100px" type="year" />
|
|
61
|
+
|
|
62
|
+
<wsui-input-number v-if="col.type == 'number'" v-model="col.QuYu" :change="(v) => {
|
|
63
|
+
if (v.value) {
|
|
64
|
+
col.isCha = 1
|
|
65
|
+
} else {
|
|
66
|
+
col.isCha = 0
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
" style="width: 193px" />
|
|
70
|
+
|
|
71
|
+
<wsui-select v-if="col.type == 'tree'" v-model="col.QuYu" :change="(v) => {
|
|
72
|
+
if (v.value) {
|
|
73
|
+
col.isCha = 1
|
|
74
|
+
col.TiaoJian = 'eq'
|
|
75
|
+
} else {
|
|
76
|
+
col.isCha = 0
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
" filterable NOfooter placeholder="输入关键字查询" :props="props" remote :remote-url="col.dicUrl"
|
|
80
|
+
style="width: 100%" type="tree" />
|
|
81
|
+
<wsui-select v-if="col.type == 'select'" v-model="col.QuYu" :change="(v) => {
|
|
82
|
+
if (v.value) {
|
|
83
|
+
col.isCha = 1
|
|
84
|
+
col.TiaoJian = 'eq'
|
|
85
|
+
} else {
|
|
86
|
+
col.isCha = 0
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
" :dic="XiaLaShuJu(index, col.dicUrl)" filterable NOfooter placeholder="请选择内容" :props="props"
|
|
90
|
+
style="width: 100%" type="tree" />
|
|
91
|
+
</div>
|
|
92
|
+
</el-form-item>
|
|
93
|
+
</template>
|
|
94
|
+
</el-form>
|
|
95
|
+
|
|
96
|
+
<div class="modify-button">
|
|
97
|
+
<el-button icon="plus" size="default" type="primary" @click="QueRenXiuGai">确认修改</el-button>
|
|
98
|
+
|
|
99
|
+
<el-button icon="close" size="default" type="danger" @click="GuanBi">关闭</el-button>
|
|
100
|
+
</div>
|
|
101
|
+
<div style="padding: 10px">
|
|
102
|
+
<el-alert effect="dark" title="注意!!!批量修改数后无法批量返回,操作时一定要注意选中的。" type="warning" />
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
<el-dialog v-model="xiugai.div" center title="Warning" width="30%">
|
|
106
|
+
<el-alert :title="BeiZhu" type="info" />
|
|
107
|
+
<el-table :data="xiugai.list" style="width: 100%">
|
|
108
|
+
<el-table-column label="修改项" prop="label" />
|
|
109
|
+
<el-table-column label="修改后" prop="QuYu" />
|
|
110
|
+
</el-table>
|
|
111
|
+
|
|
112
|
+
<template #footer>
|
|
113
|
+
<span class="dialog-footer">
|
|
114
|
+
<el-button @click="xiugai.div = false">取消</el-button>
|
|
115
|
+
<el-button type="primary" @click="ZhenXiuGai()">修改</el-button>
|
|
116
|
+
</span>
|
|
117
|
+
</template>
|
|
118
|
+
</el-dialog>
|
|
119
|
+
</template>
|
|
120
|
+
|
|
121
|
+
<script>
|
|
122
|
+
export default {
|
|
123
|
+
name: 'Piliangxiugai',
|
|
124
|
+
|
|
125
|
+
inject: ['$baseMessage'],
|
|
126
|
+
props: {
|
|
127
|
+
canshu: {
|
|
128
|
+
default: () => { },
|
|
129
|
+
type: Object,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
data() {
|
|
133
|
+
return {
|
|
134
|
+
LieShuJu: [],
|
|
135
|
+
xiugai: {
|
|
136
|
+
div: false,
|
|
137
|
+
list: [],
|
|
138
|
+
},
|
|
139
|
+
Mid: 0,
|
|
140
|
+
Bid: 0,
|
|
141
|
+
BeiZhu: '',
|
|
142
|
+
isChadic: [
|
|
143
|
+
{
|
|
144
|
+
label: '',
|
|
145
|
+
value: 0,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
label: '要修改',
|
|
149
|
+
value: 1,
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
ids: '',
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
watch: {
|
|
156
|
+
canshu: {
|
|
157
|
+
handler(newVal, oldVal) {
|
|
158
|
+
// console.log(this.canshu)
|
|
159
|
+
this.canShu = this.canshu //上级页面传过来的参数,从新赋值
|
|
160
|
+
this.Mid = this.canShu.Mid
|
|
161
|
+
this.Bid = this.canShu.Bid
|
|
162
|
+
if (this.canShu.data.length > 0) {
|
|
163
|
+
this.BeiZhu = `您选中了【${this.canShu.data.length}】行数据`
|
|
164
|
+
let ids = ''
|
|
165
|
+
for (let i = 0; i < this.canShu.data.length; i++) {
|
|
166
|
+
if (i > 0) {
|
|
167
|
+
ids += ','
|
|
168
|
+
}
|
|
169
|
+
ids += this.canShu.data[i].id
|
|
170
|
+
}
|
|
171
|
+
this.ids = ids
|
|
172
|
+
// this.canShu.data[0].id
|
|
173
|
+
this.GetList()
|
|
174
|
+
} else {
|
|
175
|
+
this.BeiZhu = `请您选择数据后再使用`
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
deep: true,
|
|
179
|
+
immediate: true,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
methods: {
|
|
183
|
+
GetList() {
|
|
184
|
+
this.$http({
|
|
185
|
+
url: '/api/PingTai/Piliangxiugai',
|
|
186
|
+
data: {
|
|
187
|
+
Mid: this.Mid,
|
|
188
|
+
},
|
|
189
|
+
}).then((res) => {
|
|
190
|
+
if (res.Success) {
|
|
191
|
+
this.LieShuJu = JSON.parse(res.CanShu2)
|
|
192
|
+
}
|
|
193
|
+
})
|
|
194
|
+
},
|
|
195
|
+
QueRenXiuGai() {
|
|
196
|
+
console.info(this.LieShuJu)
|
|
197
|
+
this.xiugai.list = []
|
|
198
|
+
const list = []
|
|
199
|
+
for (let i = 0; i < this.LieShuJu.length; i++) {
|
|
200
|
+
if (this.LieShuJu[i].isCha == 1) {
|
|
201
|
+
list.push(this.LieShuJu[i])
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
if (list.length > 0) {
|
|
205
|
+
this.xiugai.div = true
|
|
206
|
+
this.xiugai.list = list
|
|
207
|
+
} else {
|
|
208
|
+
this.$baseMessage('您没有要改的数据', 'error')
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
ZhenXiuGai() {
|
|
212
|
+
let Zhi = ''
|
|
213
|
+
for (let i = 0; i < this.xiugai.list.length; i++) {
|
|
214
|
+
if (i > 0) {
|
|
215
|
+
Zhi += '∮'
|
|
216
|
+
}
|
|
217
|
+
Zhi += `${this.xiugai.list[i].prop}∷${this.xiugai.list[i].QuYu}`
|
|
218
|
+
}
|
|
219
|
+
this.$http({
|
|
220
|
+
url: '/api/PingTai/PiliangZhenXiuGai',
|
|
221
|
+
data: {
|
|
222
|
+
Mid: this.Mid,
|
|
223
|
+
Bid: this.Bid,
|
|
224
|
+
ids: this.ids,
|
|
225
|
+
Zhi: Zhi,
|
|
226
|
+
},
|
|
227
|
+
}).then((res) => {
|
|
228
|
+
if (res.Success) {
|
|
229
|
+
this.$baseMessage(res.Message, 'success')
|
|
230
|
+
} else {
|
|
231
|
+
this.$baseMessage(res.Message, 'error')
|
|
232
|
+
}
|
|
233
|
+
})
|
|
234
|
+
},
|
|
235
|
+
GuanBi() {
|
|
236
|
+
this.$emit('closeBiaoDan', {
|
|
237
|
+
MingLing: '关闭',
|
|
238
|
+
canShu: this.canShu,
|
|
239
|
+
})
|
|
240
|
+
},
|
|
241
|
+
XiaLaShuJu(index, url) {
|
|
242
|
+
//下拉数据
|
|
243
|
+
|
|
244
|
+
if (this.LieShuJu[index].XiaLaShuJu) {
|
|
245
|
+
return this.LieShuJu[index].XiaLaShuJu
|
|
246
|
+
} else {
|
|
247
|
+
this.$http({
|
|
248
|
+
url: url,
|
|
249
|
+
}).then((res) => {
|
|
250
|
+
this.LieShuJu[index].XiaLaShuJu = res
|
|
251
|
+
})
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
}
|
|
256
|
+
</script>
|
|
257
|
+
|
|
258
|
+
<style lang="scss" scoped>
|
|
259
|
+
.modify-button {
|
|
260
|
+
display: flex;
|
|
261
|
+
flex-direction: row;
|
|
262
|
+
align-items: center;
|
|
263
|
+
justify-content: space-around;
|
|
264
|
+
width: 100%;
|
|
265
|
+
}
|
|
266
|
+
</style>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin: 20px">
|
|
3
|
+
<el-input v-if="!jgdiv.div" v-model="MoKuai" placeholder="请输入模块码">
|
|
4
|
+
<template #append><vab-icon icon="download-cloud-2-line" @click="XiaZai()" /></template>
|
|
5
|
+
</el-input>
|
|
6
|
+
<vab-card v-else>
|
|
7
|
+
<el-result :icon="jgdiv.icon" :sub-bz="jgdiv.icon" :title="jgdiv.title">
|
|
8
|
+
<template #extra>
|
|
9
|
+
<el-button type="primary">关闭</el-button>
|
|
10
|
+
</template>
|
|
11
|
+
</el-result>
|
|
12
|
+
</vab-card>
|
|
13
|
+
</div>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
export default {
|
|
18
|
+
name: 'XiaZaiWanShangMoKuai',
|
|
19
|
+
props: {
|
|
20
|
+
canshu: {
|
|
21
|
+
default: () => { },
|
|
22
|
+
type: Object,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
data() {
|
|
26
|
+
return {
|
|
27
|
+
MoKuai: '',
|
|
28
|
+
jgdiv: {
|
|
29
|
+
div: false,
|
|
30
|
+
icon: 'Loading',
|
|
31
|
+
title: '后台处理中',
|
|
32
|
+
bz: '请等待后台处理结束',
|
|
33
|
+
},
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
watch: {
|
|
37
|
+
canshu: {
|
|
38
|
+
handler(newVal, oldVal) {
|
|
39
|
+
this.canShu = this.canshu //上级页面传过来的参数,从新赋值
|
|
40
|
+
},
|
|
41
|
+
deep: true,
|
|
42
|
+
immediate: true,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
XiaZai() {
|
|
47
|
+
if (this.MoKuai != '') {
|
|
48
|
+
this.jgdiv.div = true
|
|
49
|
+
this.$http({
|
|
50
|
+
url: '/Api/XiTong/GetPingTaiMoKuai',
|
|
51
|
+
data: {
|
|
52
|
+
appname: this.MoKuai,
|
|
53
|
+
},
|
|
54
|
+
}).then((res) => {
|
|
55
|
+
if (res.Success) {
|
|
56
|
+
this.jgdiv.icon = 'success'
|
|
57
|
+
this.jgdiv.title = '处理成功'
|
|
58
|
+
this.jgdiv.bz = res.Message
|
|
59
|
+
} else {
|
|
60
|
+
this.jgdiv.icon = 'error'
|
|
61
|
+
this.jgdiv.title = '失败了'
|
|
62
|
+
this.jgdiv.bz = res.Message
|
|
63
|
+
}
|
|
64
|
+
})
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
}
|
|
69
|
+
</script>
|