Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d5a3307d
authored
Dec 14, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉打印log
1 parent
449fbd1f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
19 additions
and
23 deletions
run.js
src/components/down-menu/select-input.vue
src/components/glsx-table/index.vue
src/components/select-muti-pro/index.vue
src/setup/qiankun.js
src/views/beforeSale/editEquity.vue
src/views/beforeSale/equityList.vue
src/views/inSale/notOpenCon.vue
run.js
View file @
d5a3307
var
express
=
require
(
'express'
)
// var history = require('connect-history-api-fallback')
// var history = require('connect-history-api-fallback')
var
cors
=
require
(
'cors'
)
var
app
=
express
()
// app.use(history())
// app.use(history())
app
.
use
(
cors
())
app
.
use
(
express
.
static
(
'./dist'
))
app
.
get
(
'/'
,
function
(
req
,
res
)
{
...
...
@@ -11,4 +11,4 @@ app.get('/', function(req, res) {
const
port
=
6652
app
.
listen
(
port
)
console
.
log
(
`服务已运行:\r\n http://127.0.0.1:
${
port
}
`
)
//
console.log(`服务已运行:\r\n http://127.0.0.1:${port}`)
\ No newline at end of file
src/components/down-menu/select-input.vue
View file @
d5a3307
...
...
@@ -25,7 +25,6 @@ export default {
this
.
$emit
(
'getValue'
,
e
)
},
inputChange
(
e
)
{
console
.
log
(
e
)
this
.
$emit
(
'getInputValue'
,
e
)
}
}
...
...
src/components/glsx-table/index.vue
View file @
d5a3307
...
...
@@ -388,7 +388,6 @@ export default {
}
this
.
getListApi
(
params
)
.
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
data
=
this
.
findVal
(
res
,
this
.
tableParams
.
listName
);
this
.
total
=
this
.
findVal
(
res
,
this
.
pageConf
.
totalCount
);
this
.
loading
=
false
;
...
...
@@ -414,7 +413,6 @@ export default {
// 每页条数
handleSizeChange
(
value
)
{
let
offsettop
=
document
.
getElementById
(
"initTable"
).
offsetTop
;
console
.
log
(
"表格距离顶部1"
,
offsettop
);
this
.
page
[
this
.
pageConf
.
pageSize
]
=
value
;
this
.
getListApi
...
...
src/components/select-muti-pro/index.vue
View file @
d5a3307
...
...
@@ -122,7 +122,6 @@ export default {
},
handleMutiSelectConfirm
()
{
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
console
.
log
(
selectedData
)
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
},
handleMutiSelectClose
()
{
...
...
src/setup/qiankun.js
View file @
d5a3307
...
...
@@ -43,6 +43,6 @@ export async function unmount() {
function
subscribe
({
messenger
})
{
messenger
.
subscribe
(
v
=>
{
console
.
log
(
`监听到子应用
${
v
.
from
}
发来消息:`
,
v
)
//
console.log(`监听到子应用${v.from}发来消息:`, v)
})
}
\ No newline at end of file
src/views/beforeSale/editEquity.vue
View file @
d5a3307
...
...
@@ -210,8 +210,8 @@ export default {
valueFormat
:
'yyyy-MM-dd'
,
pickerOptions
:
'beforeRangePickerOptions'
,
handleDateChange
:
(
value
,
targetItem
)
=>
{
console
.
log
(
value
)
console
.
log
(
targetItem
)
//
console.log(value)
//
console.log(targetItem)
}
},
{
...
...
@@ -473,7 +473,7 @@ export default {
this
.
disabled
&&
this
.
setDisabled
()
this
.
successDisable
&&
this
.
setDisabled
([
'invoicePrice'
,
'billingDate'
,
'packageCode'
,
'actualSalesPrice'
,
'servicePeriod'
,
'effectiveDate'
])
// this.title = this.titleObj[this.routeInfo.addOrEdit]
console
.
log
(
this
.
routeInfo
,
'-------------'
)
//
console.log(this.routeInfo, '-------------')
// 获取套餐列表
this
.
getPackageList
()
},
...
...
@@ -498,7 +498,7 @@ export default {
handleCancelBubble
(
e
)
{
},
getInfo
()
{
this
.
$apis
.
beforeSale
.
getEquityApi
({
contractNo
:
this
.
routeInfo
.
contractNo
}).
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
this
.
editForm
=
{
...
res
}
...
...
@@ -596,7 +596,7 @@ export default {
})
this
.
$set
(
this
.
editFormPro
,
hashObj
[
item
.
attributeName
]
!=
1
?
(
item
.
attributeName
+
item
.
sort
)
:
item
.
attributeName
,
item
.
attributeValue
)
})
console
.
log
(
this
.
editFormPro
)
//
console.log(this.editFormPro)
},
autoGenerate
()
{
var
tempList
=
[]
...
...
@@ -654,7 +654,7 @@ export default {
editFormData
:
this
.
$common
.
utils
.
deepClone
(
tempList
)
})
})
console
.
log
(
this
.
editFormDataPro
)
//
console.log(this.editFormDataPro)
this
.
routeInfo
.
addOrEdit
!=
'1'
?
this
.
getInfo
()
:
''
},
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
...
...
@@ -791,7 +791,7 @@ export default {
}
})
}
console
.
log
(
params
)
//
console.log(params)
return
params
},
handleDraft
()
{
...
...
@@ -806,7 +806,7 @@ export default {
this
.
updateEquity
(
params
)
}
else
{
this
.
$apis
.
beforeSale
.
createCodeApi
({}).
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
params
.
contractNo
=
res
this
.
submit
=
false
this
.
updateEquity
(
params
)
...
...
@@ -869,7 +869,7 @@ export default {
this
.
updateEquity
(
params
)
}
else
{
this
.
$apis
.
beforeSale
.
createCodeApi
({}).
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
params
.
contractNo
=
res
this
.
submit
=
false
this
.
updateEquity
(
params
)
...
...
src/views/beforeSale/equityList.vue
View file @
d5a3307
...
...
@@ -124,7 +124,7 @@ export default {
optionsName
:
'merchantList'
,
isHide
:
true
,
changeAttr
:
val
=>
{
console
.
log
(
val
)
//
console.log(val)
var
idx
=
this
.
searchFormData
.
findIndex
(
item
=>
item
.
name
==
this
.
levelToShow
[
'2'
])
this
.
searchFormData
[
idx
].
isHide
=
false
this
.
getMerchantList
(
val
,
2
,
this
.
searchFormData
[
idx
].
name
,
this
.
searchFormData
[
idx
].
optionsName
)
...
...
@@ -528,7 +528,7 @@ export default {
this
.
isFileVisible
=
!
this
.
isFileVisible
},
handleUpload
(
row
)
{
console
.
log
(
row
)
//
console.log(row)
this
.
$apis
.
beforeSale
.
getOrderAttrApi
({
packageCode
:
row
.
packageCode
}).
then
(
res
=>
{
this
.
packageList
=
res
this
.
uploadForm
.
contractNo
=
row
.
contractNo
...
...
@@ -543,7 +543,7 @@ export default {
// 退保
handleBack
(
row
)
{
console
.
log
(
this
.
userInfo
)
//
console.log(this.userInfo)
if
(
!
this
.
userInfo
.
admin
&&
new
Date
(
new
Date
().
setDate
(
new
Date
().
getDate
()
-
7
))
>
new
Date
(
row
.
successDate
))
{
const
h
=
this
.
$createElement
this
.
$message
({
...
...
src/views/inSale/notOpenCon.vue
View file @
d5a3307
...
...
@@ -121,7 +121,7 @@ export default {
}
.header_widget
{
width
:
100%
;
height
:
360px
;
//
height
:
360px
;
background
:
#ffffff
;
box-shadow
:
0px
10px
20px
0px
rgba
(
88
,
80
,
255
,
0.1
);
margin-top
:
17px
;
...
...
@@ -130,11 +130,11 @@ export default {
align-items
:
center
;
justify-content
:
space-between
;
box-sizing
:
border-box
;
padding
:
0
50px
0
50px
;
padding
:
45px
50px
45px
50px
;
.posi_wrap_one
{
height
:
100%
;
box-sizing
:
border-box
;
padding-top
:
52
px
;
padding-top
:
10
px
;
overflow
:
hidden
;
.video_wrapper
{
margin-top
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment