Commit a689ad3c by 前端

第二轮测试BUG修复

1 parent 2632f3d8
...@@ -24,6 +24,7 @@ Vue.prototype.defaultLabelWidth = '154px' ...@@ -24,6 +24,7 @@ Vue.prototype.defaultLabelWidth = '154px'
start() start()
export { bootstrap, mount, unmount } from '@/setup' export { bootstrap, mount, unmount } from '@/setup'
export const http = params => Vue.prototype.$http(params) export const http = params => Vue.prototype.$http(params)
export const http2 = params => Vue.prototype.$http2(params)
export const http_common = params => Vue.prototype.$http_common(params) export const http_common = params => Vue.prototype.$http_common(params)
export const http_tag = params => Vue.prototype.$http_tag(params) export const http_tag = params => Vue.prototype.$http_tag(params)
export const http_merchant = params => Vue.prototype.$http_merchant(params) export const http_merchant = params => Vue.prototype.$http_merchant(params)
...@@ -20,7 +20,7 @@ let instance = null ...@@ -20,7 +20,7 @@ let instance = null
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(GLTable) Vue.use(GLTable)
export async function bootstrap({ history, common, messenger, globalState, routerBase }) { export async function bootstrap({ history, common, messenger, globalState, routerBase }) {
const { response, request, sign, secret, sign_common, request_common, request_merchant, merchantId } = await fetchConfig(common) const { response, request, request2, sign, secret, sign_common, request_common, request_merchant, merchantId } = await fetchConfig(common)
Vue.prototype.$history = history Vue.prototype.$history = history
Vue.prototype.$messenger = messenger Vue.prototype.$messenger = messenger
Vue.prototype.$globalState = globalState Vue.prototype.$globalState = globalState
...@@ -37,6 +37,14 @@ export async function bootstrap({ history, common, messenger, globalState, route ...@@ -37,6 +37,14 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: ElementUI.Message.error, headers: { token: globalState.session.token } }) Vue.prototype.$http_merchant = new common.Http({ response, request: request_merchant, sign, secret, alert: ElementUI.Message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState // Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] }) // Vue.use(GLButton, { permissions: globalState.permissions || ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
Vue.prototype.$http2 = new common.Http({
response,
request: request2,
sign,
secret,
alert: message.error,
headers: { token: globalState.session.token }
})
const routesData = common.utils.deepClone(globalState.routers) const routesData = common.utils.deepClone(globalState.routers)
routes = getRoutes(routesData) routes = getRoutes(routesData)
subscribe({ messenger }) subscribe({ messenger })
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
fn="新增众筹" fn="新增众筹"
mode="el-button" mode="el-button"
>新建众筹</GLButton> --> >新建众筹</GLButton> -->
<el-button :size="size" <!-- <el-button :size="size"
type="default" type="default"
class="default-blue-btn" class="default-blue-btn"
@click="handleJump">订单管理</el-button> @click="handleJump">订单管理</el-button> -->
</div> </div>
<div class="container"> <div class="container">
<GLCombiForm ref="showSearch" <GLCombiForm ref="showSearch"
......
...@@ -351,7 +351,11 @@ export default { ...@@ -351,7 +351,11 @@ export default {
// addOrEdit:1-新增;2-编辑;3-查看 // addOrEdit:1-新增;2-编辑;3-查看
handleEdit(addOrEdit, row) { handleEdit(addOrEdit, row) {
this.$router.push('/seckillActivity/editActivity/' + addOrEdit + '/' + row.id) var html = ''
if (addOrEdit == 3) {
html += '?$title=查看秒杀活动'
}
this.$router.push('/seckillActivity/editActivity/' + addOrEdit + '/' + row.id + html)
}, },
handleShare(row) { handleShare(row) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!