Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
97019e5f
Commit
97019e5f
authored
Oct 31, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:不通过操作
parent
62ccf888
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
29 deletions
+33
-29
src/views/shop/components/NoPassIdentifyDialog.vue
src/views/shop/components/NoPassIdentifyDialog.vue
+3
-7
src/views/shop/shopManagerList.vue
src/views/shop/shopManagerList.vue
+30
-22
No files found.
src/views/shop/components/NoPassIdentifyDialog.vue
View file @
97019e5f
...
...
@@ -31,7 +31,7 @@
<
script
>
import
{
MessageBox
}
from
'
element-ui
'
import
{
shopManagerCheck
}
from
'
@/api/business/shop
'
import
{
shopManagerCheck
}
from
'
@/api/business/shop
'
export
default
{
name
:
'
NoPassIdentifyDialog
'
,
props
:
{
...
...
@@ -42,10 +42,6 @@ export default {
openShopApplyOrderId
:
{
type
:
String
,
default
:
''
},
identifyOrderId
:
{
type
:
String
,
default
:
''
}
},
data
()
{
...
...
@@ -78,7 +74,7 @@ export default {
message
:
'
操作成功
'
})
this
.
cancelForm
=
{}
this
.
$emit
(
'
refreshItem
'
,
this
.
shopManagerCheck
)
this
.
$emit
(
'
refreshItem
'
,
this
.
openShopApplyOrderId
)
})
.
catch
(
response
=>
{
MessageBox
.
alert
(
'
业务错误:
'
+
response
.
data
.
errmsg
,
'
警告
'
,
{
...
...
src/views/shop/shopManagerList.vue
View file @
97019e5f
...
...
@@ -114,9 +114,8 @@
v-if=
"(scope.row.state === 10)"
type=
"danger"
size=
"mini"
@
click=
"handleNoPass()"
>
不通过
@
click=
"handleNoPass(
scope.row
)"
>
不通过
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -128,7 +127,7 @@
:limit.sync=
"listQuery.limit"
@
pagination=
"getList"
/>
<el-dialog
:visible.sync=
"sendDialogVisible"
title=
"发货"
>
<
!-- <
el-dialog :visible.sync="sendDialogVisible" title="发货">
<el-form
ref="sendFormRef"
:model="sendForm"
...
...
@@ -156,10 +155,12 @@
<el-button @click="sendDialogVisible = false">取消</el-button>
<el-button type="primary" @click="handleShowSendDialog">确定</el-button>
</div>
</el-dialog>
</el-dialog>
-->
<NoPassIdentifyDialog
:show-no-pass-identify-dialog-show=
"showNoPassIdentifyDialog"
:open-shop-apply-order-id=
"currentApplyId"
@
cancelDialog=
"showNoPassIdentifyDialog = false"
@
refreshItem=
"handleRefreshItem"
/>
</div>
</template>
...
...
@@ -168,11 +169,11 @@
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Pagination
from
'
@/components/Pagination
'
import
NoPassIdentifyDialog
from
'
./components/NoPassIdentifyDialog
'
import
{
shopManagerList
,
shopManagerCheck
}
from
'
@/api/business/shop
'
import
{
shopManagerList
,
shopManagerCheck
}
from
'
@/api/business/shop
'
import
{
requestLogisticsList
,
requestDelivery
}
from
'
@/api/business/order
'
export
default
{
name
:
'
s
hopManagerList
'
,
name
:
'
S
hopManagerList
'
,
components
:
{
Pagination
,
Line2Hidden
,
...
...
@@ -271,7 +272,8 @@ export default {
rules
:
{
waybill
:
[{
required
:
true
,
message
:
'
请输入物流单号
'
,
trigger
:
'
blur
'
}],
logisticsCode
:
[{
required
:
true
,
message
:
'
请选择快递公司
'
,
trigger
:
'
blur
'
}]
}
},
currentApplyId
:
''
}
},
created
()
{
...
...
@@ -313,6 +315,19 @@ export default {
})
})
},
handleRefreshItem
(
applyId
)
{
if
(
this
.
list
)
{
this
.
list
=
this
.
list
.
filter
((
item
)
=>
{
if
(
item
.
openShopApplyOrderId
===
applyId
)
{
item
.
state
=
30
return
item
}
return
item
})
}
this
.
showNoPassIdentifyDialog
=
false
},
// handleNoPass(row) {
// this.$confirm('确定不通过藏家的开店申请?', '平台开店结果', {
// confirmButtonText: '确定',
...
...
@@ -364,7 +379,6 @@ export default {
this
.
getList
()
},
handlerGetList
()
{
this
.
listQuery
.
page
=
1
this
.
getList
()
...
...
@@ -444,16 +458,10 @@ export default {
/**
* 不通过
*/
handleNoPass
()
{
handleNoPass
(
item
)
{
this
.
currentApplyId
=
item
.
openShopApplyOrderId
this
.
showNoPassIdentifyDialog
=
true
},
/**
* 不通过操作成功,刷新列表
*/
handleRefreshItem
()
{
this
.
handleGetDetail
()
this
.
showNoPassIdentifyDialog
=
false
},
/**
* 发货
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment