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
ca025424
Commit
ca025424
authored
Oct 31, 2024
by
gaia
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature/20240918_1005_091801' into release_pre_20241031143540
parents
ec72a541
97019e5f
Changes
2
Hide 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 @
ca025424
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<
script
>
<
script
>
import
{
MessageBox
}
from
'
element-ui
'
import
{
MessageBox
}
from
'
element-ui
'
import
{
shopManagerCheck
}
from
'
@/api/business/shop
'
import
{
shopManagerCheck
}
from
'
@/api/business/shop
'
export
default
{
export
default
{
name
:
'
NoPassIdentifyDialog
'
,
name
:
'
NoPassIdentifyDialog
'
,
props
:
{
props
:
{
...
@@ -42,10 +42,6 @@ export default {
...
@@ -42,10 +42,6 @@ export default {
openShopApplyOrderId
:
{
openShopApplyOrderId
:
{
type
:
String
,
type
:
String
,
default
:
''
default
:
''
},
identifyOrderId
:
{
type
:
String
,
default
:
''
}
}
},
},
data
()
{
data
()
{
...
@@ -69,7 +65,7 @@ export default {
...
@@ -69,7 +65,7 @@ export default {
*/
*/
handleCancelValue
()
{
handleCancelValue
()
{
if
(
this
.
openShopApplyOrderId
)
{
if
(
this
.
openShopApplyOrderId
)
{
const
params
=
{
...
this
.
cancelForm
,
openShopApplyOrderId
:
this
.
openShopApplyOrderId
,
state
:
30
}
const
params
=
{
...
this
.
cancelForm
,
openShopApplyOrderId
:
this
.
openShopApplyOrderId
,
state
:
30
}
this
.
$refs
.
cancel
.
validate
((
valid
)
=>
{
this
.
$refs
.
cancel
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
shopManagerCheck
(
params
)
shopManagerCheck
(
params
)
...
@@ -78,7 +74,7 @@ export default {
...
@@ -78,7 +74,7 @@ export default {
message
:
'
操作成功
'
message
:
'
操作成功
'
})
})
this
.
cancelForm
=
{}
this
.
cancelForm
=
{}
this
.
$emit
(
'
refreshItem
'
,
this
.
shopManagerCheck
)
this
.
$emit
(
'
refreshItem
'
,
this
.
openShopApplyOrderId
)
})
})
.
catch
(
response
=>
{
.
catch
(
response
=>
{
MessageBox
.
alert
(
'
业务错误:
'
+
response
.
data
.
errmsg
,
'
警告
'
,
{
MessageBox
.
alert
(
'
业务错误:
'
+
response
.
data
.
errmsg
,
'
警告
'
,
{
...
...
src/views/shop/shopManagerList.vue
View file @
ca025424
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<el-button
class=
"filter-item"
@
click=
"resetSearchForm"
>
重置
</el-button>
<el-button
class=
"filter-item"
@
click=
"resetSearchForm"
>
重置
</el-button>
</div>
</div>
</div>
</div>
<el-table
<el-table
v-loading=
"listLoading"
v-loading=
"listLoading"
:data=
"list"
:data=
"list"
...
@@ -114,9 +114,8 @@
...
@@ -114,9 +114,8 @@
v-if=
"(scope.row.state === 10)"
v-if=
"(scope.row.state === 10)"
type=
"danger"
type=
"danger"
size=
"mini"
size=
"mini"
@
click=
"handleNoPass()"
>
不通过
@
click=
"handleNoPass(
scope.row
)"
>
不通过
</el-button>
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -127,8 +126,8 @@
...
@@ -127,8 +126,8 @@
:page.sync=
"listQuery.page"
:page.sync=
"listQuery.page"
:limit.sync=
"listQuery.limit"
:limit.sync=
"listQuery.limit"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
<el-dialog
:visible.sync=
"sendDialogVisible"
title=
"发货"
>
<
!-- <
el-dialog :visible.sync="sendDialogVisible" title="发货">
<el-form
<el-form
ref="sendFormRef"
ref="sendFormRef"
:model="sendForm"
:model="sendForm"
...
@@ -156,23 +155,25 @@
...
@@ -156,23 +155,25 @@
<el-button @click="sendDialogVisible = false">取消</el-button>
<el-button @click="sendDialogVisible = false">取消</el-button>
<el-button type="primary" @click="handleShowSendDialog">确定</el-button>
<el-button type="primary" @click="handleShowSendDialog">确定</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
-->
<NoPassIdentifyDialog
<NoPassIdentifyDialog
:show-no-pass-identify-dialog-show=
"showNoPassIdentifyDialog"
:show-no-pass-identify-dialog-show=
"showNoPassIdentifyDialog"
:open-shop-apply-order-id=
"currentApplyId"
@
cancelDialog=
"showNoPassIdentifyDialog = false"
@
cancelDialog=
"showNoPassIdentifyDialog = false"
@
refreshItem=
"handleRefreshItem"
/>
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Line2Hidden
from
'
@/components/line2Hidden
'
import
Pagination
from
'
@/components/Pagination
'
import
Pagination
from
'
@/components/Pagination
'
import
NoPassIdentifyDialog
from
'
./components/NoPassIdentifyDialog
'
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
'
import
{
requestLogisticsList
,
requestDelivery
}
from
'
@/api/business/order
'
export
default
{
export
default
{
name
:
'
s
hopManagerList
'
,
name
:
'
S
hopManagerList
'
,
components
:
{
components
:
{
Pagination
,
Pagination
,
Line2Hidden
,
Line2Hidden
,
...
@@ -271,7 +272,8 @@ export default {
...
@@ -271,7 +272,8 @@ export default {
rules
:
{
rules
:
{
waybill
:
[{
required
:
true
,
message
:
'
请输入物流单号
'
,
trigger
:
'
blur
'
}],
waybill
:
[{
required
:
true
,
message
:
'
请输入物流单号
'
,
trigger
:
'
blur
'
}],
logisticsCode
:
[{
required
:
true
,
message
:
'
请选择快递公司
'
,
trigger
:
'
blur
'
}]
logisticsCode
:
[{
required
:
true
,
message
:
'
请选择快递公司
'
,
trigger
:
'
blur
'
}]
}
},
currentApplyId
:
''
}
}
},
},
created
()
{
created
()
{
...
@@ -313,6 +315,19 @@ export default {
...
@@ -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) {
// handleNoPass(row) {
// this.$confirm('确定不通过藏家的开店申请?', '平台开店结果', {
// this.$confirm('确定不通过藏家的开店申请?', '平台开店结果', {
// confirmButtonText: '确定',
// confirmButtonText: '确定',
...
@@ -364,7 +379,6 @@ export default {
...
@@ -364,7 +379,6 @@ export default {
this
.
getList
()
this
.
getList
()
},
},
handlerGetList
()
{
handlerGetList
()
{
this
.
listQuery
.
page
=
1
this
.
listQuery
.
page
=
1
this
.
getList
()
this
.
getList
()
...
@@ -429,14 +443,14 @@ export default {
...
@@ -429,14 +443,14 @@ export default {
* 详情
* 详情
* @param item
* @param item
*/
*/
handleToDetail
(
item
)
{
handleToDetail
(
item
)
{
this
.
$router
.
push
({
path
:
'
/shop/shopManagerDetail
'
,
query
:
{
openShopApplyOrderId
:
item
.
openShopApplyOrderId
}})
this
.
$router
.
push
({
path
:
'
/shop/shopManagerDetail
'
,
query
:
{
openShopApplyOrderId
:
item
.
openShopApplyOrderId
}})
},
},
/**
/**
* 订单状态切换
* 订单状态切换
* @param value
* @param value
*/
*/
handleMenuSelect
(
value
)
{
handleMenuSelect
(
value
)
{
console
.
log
(
'
=====tab切换=
'
,
value
)
console
.
log
(
'
=====tab切换=
'
,
value
)
this
.
activeIndex
=
value
this
.
activeIndex
=
value
this
.
handleReset
()
this
.
handleReset
()
...
@@ -444,16 +458,10 @@ export default {
...
@@ -444,16 +458,10 @@ export default {
/**
/**
* 不通过
* 不通过
*/
*/
handleNoPass
()
{
handleNoPass
(
item
)
{
this
.
currentApplyId
=
item
.
openShopApplyOrderId
this
.
showNoPassIdentifyDialog
=
true
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