Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
5c319392
Commit
5c319392
authored
Jul 24, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pp
parent
fe05e49f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
20 deletions
+28
-20
fqboss/app/base/controller/impl/calculatepriceCtl.js
+3
-3
fqboss/app/front/vues/pages/automatictmsubmitedit/automatictmsubmitedit.js
+13
-10
fqboss/app/front/vues/pages/automatictmsubmitinside/automatictmsubmitinside.js
+12
-7
No files found.
fqboss/app/base/controller/impl/calculatepriceCtl.js
View file @
5c319392
...
@@ -77,9 +77,9 @@ class calculatepriceCtl extends CtlBase {
...
@@ -77,9 +77,9 @@ class calculatepriceCtl extends CtlBase {
"tm_name"
:
o
.
tm_name
,
"tm_name"
:
o
.
tm_name
,
"address"
:
o
.
address
,
"address"
:
o
.
address
,
"company"
:
o
.
company
,
"company"
:
o
.
company
,
"contact_person"
:
o
.
contact_person
,
//
"contact_person": o.contact_person,
"contact_phone"
:
o
.
contact_phone
,
//
"contact_phone": o.contact_phone,
"postal_code"
:
o
.
postal_code
//
"postal_code": o.postal_code
};
};
let
url
=
settings
.
apiconfig
.
tmTrust
;
let
url
=
settings
.
apiconfig
.
tmTrust
;
let
rc
=
System
.
getObject
(
"util.execClient"
);
let
rc
=
System
.
getObject
(
"util.execClient"
);
...
...
fqboss/app/front/vues/pages/automatictmsubmitedit/automatictmsubmitedit.js
View file @
5c319392
...
@@ -374,13 +374,8 @@
...
@@ -374,13 +374,8 @@
}
else
if
(
!
this
.
apply
.
customerContact
)
{
}
else
if
(
!
this
.
apply
.
customerContact
)
{
that
.
$message
.
warning
(
"请填写客户联系人"
);
that
.
$message
.
warning
(
"请填写客户联系人"
);
return
;
return
;
}
else
if
(
!
this
.
apply
.
mobile
)
{
that
.
$message
.
warning
(
"请填写联系电话"
);
return
;
}
else
if
(
!
this
.
apply
.
zipCode
)
{
that
.
$message
.
warning
(
"请填写邮政编码"
);
return
;
}
}
that
.
$root
.
showMask
();
that
.
$root
.
showMask
();
var
params
=
this
.
apply
.
type
+
";"
+
this
.
apply
.
applyName
+
";"
+
this
.
apply
.
identityCard
+
";"
+
this
.
form
.
tmFormType
var
params
=
this
.
apply
.
type
+
";"
+
this
.
apply
.
applyName
+
";"
+
this
.
apply
.
identityCard
+
";"
+
this
.
form
.
tmFormType
+
";"
+
this
.
form
.
colorizedPicUrl
+
";"
+
this
.
form
.
picUrl
+
";"
+
this
.
apply
.
applyAddr
;
+
";"
+
this
.
form
.
colorizedPicUrl
+
";"
+
this
.
form
.
picUrl
+
";"
+
this
.
apply
.
applyAddr
;
...
@@ -389,14 +384,22 @@
...
@@ -389,14 +384,22 @@
var
url
=
window
.
location
.
href
.
split
(
"/autosubmitinside"
)[
0
]
+
"/mobile2?"
+
"params="
+
params
+
"#/createwts2"
;
var
url
=
window
.
location
.
href
.
split
(
"/autosubmitinside"
)[
0
]
+
"/mobile2?"
+
"params="
+
params
+
"#/createwts2"
;
console
.
log
(
url
);
console
.
log
(
url
);
let
tm_name
=
""
;
if
(
this
.
form
.
tmFormType
==
3
)
{
tm_name
=
this
.
form
.
tmName
;
}
if
(
this
.
form
.
tmFormType
==
4
||
this
.
form
.
tmFormType
==
7
)
{
tm_name
=
"图形"
;
}
if
(
this
.
form
.
tmFormType
==
5
)
{
tm_name
=
this
.
form
.
tmName
+
"及图"
;
}
if
(
this
.
form
.
tmFormType
)
this
.
$root
.
getReq
(
"/web/calculatepriceCtl/tmtrust"
,
{
this
.
$root
.
getReq
(
"/web/calculatepriceCtl/tmtrust"
,
{
assignor
:
this
.
apply
.
applyName
,
assignor
:
this
.
apply
.
applyName
,
tm_name
:
t
his
.
form
.
tmN
ame
,
tm_name
:
t
m_n
ame
,
address
:
this
.
apply
.
applyAddr
,
address
:
this
.
apply
.
applyAddr
,
company
:
this
.
apply
.
principal
,
company
:
this
.
apply
.
principal
,
contact_person
:
this
.
apply
.
customerContact
,
contact_phone
:
this
.
apply
.
mobile
,
postal_code
:
this
.
apply
.
zipCode
,
}).
then
(
function
(
d
)
{
}).
then
(
function
(
d
)
{
if
(
d
.
data
.
tm_trust_url
!=
""
&&
d
.
data
.
tm_trust_url
!=
null
)
{
if
(
d
.
data
.
tm_trust_url
!=
""
&&
d
.
data
.
tm_trust_url
!=
null
)
{
...
...
fqboss/app/front/vues/pages/automatictmsubmitinside/automatictmsubmitinside.js
View file @
5c319392
...
@@ -1049,9 +1049,6 @@
...
@@ -1049,9 +1049,6 @@
}
else
if
(
!
this
.
apply
.
mobile
)
{
}
else
if
(
!
this
.
apply
.
mobile
)
{
that
.
$message
.
warning
(
"请填写联系电话"
);
that
.
$message
.
warning
(
"请填写联系电话"
);
return
;
return
;
}
else
if
(
!
this
.
apply
.
zipCode
)
{
that
.
$message
.
warning
(
"请填写邮政编码"
);
return
;
}
}
that
.
$root
.
showMask
();
that
.
$root
.
showMask
();
var
params
=
this
.
apply
.
type
+
";"
+
this
.
apply
.
applyName
+
";"
+
this
.
apply
.
identityCard
+
";"
+
this
.
form
.
tmFormType
var
params
=
this
.
apply
.
type
+
";"
+
this
.
apply
.
applyName
+
";"
+
this
.
apply
.
identityCard
+
";"
+
this
.
form
.
tmFormType
...
@@ -1060,14 +1057,22 @@
...
@@ -1060,14 +1057,22 @@
console
.
log
(
params
);
console
.
log
(
params
);
var
url
=
window
.
location
.
href
.
split
(
"/autosubmitinside"
)[
0
]
+
"/mobile2?"
+
"params="
+
params
+
"#/createwts2"
;
var
url
=
window
.
location
.
href
.
split
(
"/autosubmitinside"
)[
0
]
+
"/mobile2?"
+
"params="
+
params
+
"#/createwts2"
;
console
.
log
(
url
);
console
.
log
(
url
);
let
tm_name
=
""
;
if
(
this
.
form
.
tmFormType
==
3
)
{
tm_name
=
this
.
form
.
tmName
;
}
if
(
this
.
form
.
tmFormType
==
4
||
this
.
form
.
tmFormType
==
7
)
{
tm_name
=
"图形"
;
}
if
(
this
.
form
.
tmFormType
==
5
)
{
tm_name
=
this
.
form
.
tmName
+
"及图"
;
}
this
.
$root
.
getReq
(
"/web/calculatepriceCtl/tmtrust"
,
{
this
.
$root
.
getReq
(
"/web/calculatepriceCtl/tmtrust"
,
{
assignor
:
this
.
apply
.
applyName
,
assignor
:
this
.
apply
.
applyName
,
tm_name
:
this
.
form
.
tmName
,
tm_name
:
this
.
form
.
tmName
,
address
:
this
.
apply
.
applyAddr
,
address
:
this
.
apply
.
applyAddr
,
company
:
this
.
apply
.
principal
,
company
:
this
.
apply
.
principal
,
contact_person
:
this
.
apply
.
customerContact
,
contact_phone
:
this
.
apply
.
mobile
,
postal_code
:
this
.
apply
.
zipCode
,
}).
then
(
function
(
d
)
{
}).
then
(
function
(
d
)
{
if
(
d
.
data
.
tm_trust_url
!=
""
&&
d
.
data
.
tm_trust_url
!=
null
)
{
if
(
d
.
data
.
tm_trust_url
!=
""
&&
d
.
data
.
tm_trust_url
!=
null
)
{
...
@@ -1075,7 +1080,7 @@
...
@@ -1075,7 +1080,7 @@
}
else
{
}
else
{
that
.
$message
.
warning
(
`操作失败`
);
that
.
$message
.
warning
(
`操作失败`
);
}
}
that
.
$root
.
hideMask
();
that
.
$root
.
hideMask
();
dd
}).
catch
(
function
(
e
)
{
}).
catch
(
function
(
e
)
{
that
.
$root
.
hideMask
();
that
.
$root
.
hideMask
();
that
.
$message
.
warning
(
`操作失败`
);
that
.
$message
.
warning
(
`操作失败`
);
...
...
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