Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
8db2aefb
Commit
8db2aefb
authored
Apr 06, 2021
by
wcmoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改 api 请求地址;修改部署脚本;修改文件验真链接
parent
461da88c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
25 deletions
+12
-25
.env.czt_prod_build
.env.czt_prod_build
+1
-1
czt.sh
czt.sh
+3
-3
UrlPrefix.js
src/config/UrlPrefix.js
+5
-5
MainMenu.vue
src/entry/czt/components/MainMenu.vue
+1
-1
Index.vue
src/entry/czt/components/category/Index.vue
+1
-1
ProductList.vue
src/entry/czt/components/category/ProductList.vue
+0
-0
editTemplate.vue
src/entry/czt/views/template/editTemplate.vue
+1
-14
No files found.
.env.czt_prod_build
View file @
8db2aefb
NODE_ENV = 'production'
NODE_ENV = 'production'
VUE_APP_CURRENTMODE = '
sy
_prod'
VUE_APP_CURRENTMODE = '
czt
_prod'
VUE_APP_VERSION = '0'
VUE_APP_VERSION = '0'
czt.sh
View file @
8db2aefb
rm
-rf
czt
rm
-rf
czt
mv
dist czt
mv
dist czt
tar
-czf
czt.tar czt
tar
-czf
czt.tar czt
scp czt.tar root@12
0.26.174.69:/usr/share/nginx
/html/czt.tar
scp czt.tar root@12
4.71.144.118:/root/wcy
/html/czt.tar
rm
-rf
czt.tar
rm
-rf
czt.tar
ssh root@12
0.26.174.69
'cd /usr/share/nginx
/html && rm -rf czt && tar -xzf czt.tar && rm -rf czt.tar'
ssh root@12
4.71.144.118
'cd /root/wcy
/html && rm -rf czt && tar -xzf czt.tar && rm -rf czt.tar'
echo
'done. 👉 http://12
0.26.174.69/czt/
'
echo
'done. 👉 http://12
4.71.144.118:8889/czt
'
src/config/UrlPrefix.js
View file @
8db2aefb
...
@@ -166,19 +166,19 @@ const configModules = {
...
@@ -166,19 +166,19 @@ const configModules = {
}
}
},
},
// 财政厅项目
// 财政厅项目
// todo 待修改接口链接
"czt_test"
:
{
"czt_test"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'http://120.26.174.69:
9032
/'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://120.26.174.69:
8997
/'
,
INERFACE_URL_PREFIX
:
'http://1
72.16.101.87
:46789'
,
INERFACE_URL_PREFIX
:
'http://1
24.71.144.118
:46789'
,
INDEX
:
{
INDEX
:
{
entry
:
'./src/entry/czt/main.ts'
,
entry
:
'./src/entry/czt/main.ts'
,
template
:
'./public/czt/index.html'
,
template
:
'./public/czt/index.html'
,
filename
:
'index.html'
filename
:
'index.html'
}
}
},
},
// todo 待修改接口链接
"czt_prod"
:
{
"czt_prod"
:
{
CHAIN_BROWSER_URL_PREFIX
:
'http://
25.215.128.192:9010
/'
,
CHAIN_BROWSER_URL_PREFIX
:
'http://
120.26.174.69:8997
/'
,
INERFACE_URL_PREFIX
:
'http://
25.215.128.2
8:46789'
,
INERFACE_URL_PREFIX
:
'http://
124.71.144.11
8:46789'
,
INDEX
:
{
INDEX
:
{
entry
:
'./src/entry/czt/main.ts'
,
entry
:
'./src/entry/czt/main.ts'
,
template
:
'./public/czt/index.html'
,
template
:
'./public/czt/index.html'
,
...
...
src/entry/czt/components/MainMenu.vue
View file @
8db2aefb
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<div
class=
"menu-item_product-icon"
>
<div
class=
"menu-item_product-icon"
>
<i
class=
"iconfont"
>

</i>
<i
class=
"iconfont"
>

</i>
</div>
</div>
<div
class=
"menu-item-label"
>
溯源
</div>
<div
class=
"menu-item-label"
>
文件验真
</div>
<div
class=
"menu-item-active_border"
></div>
<div
class=
"menu-item-active_border"
></div>
</div>
</div>
</nav>
</nav>
...
...
src/entry/czt/components/category/Index.vue
View file @
8db2aefb
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
import
{
Component
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
// 右侧存证部分
// 右侧存证部分
import
newProductList
from
"
@/components/category
/ProductList.vue"
;
import
newProductList
from
"
.
/ProductList.vue"
;
//删除页
//删除页
import
deleted
from
"@/views/category/deleted.vue"
;
import
deleted
from
"@/views/category/deleted.vue"
;
// 引导页
// 引导页
...
...
src/entry/czt/components/category/ProductList.vue
0 → 100644
View file @
8db2aefb
This diff is collapsed.
Click to expand it.
src/entry/czt/views/template/editTemplate.vue
View file @
8db2aefb
...
@@ -778,20 +778,7 @@ export default class editTemplate extends Vue {
...
@@ -778,20 +778,7 @@ export default class editTemplate extends Vue {
}
}
// 上链
// 上链
async
UpperChain
()
{
async
UpperChain
()
{
const
res
=
await
this
.
$ajax
({
this
.
isShowToChainDialog
=
true
;
type
:
"get"
,
url
:
GO_URLS
.
user
+
`/`
+
JSON
.
parse
(
String
(
sessionStorage
.
getItem
(
"user"
))).
id
,
});
if
(
res
)
{
if
(
res
.
data
.
auth_suc
===
1
)
{
this
.
isShowToChainDialog
=
true
;
}
else
{
this
.
showUncertified
=
true
;
}
}
}
}
// 跳转个人中心
// 跳转个人中心
UncertifiedConfirm
()
{
UncertifiedConfirm
()
{
...
...
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