Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cg_approveApp_2023
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
cg_approveApp_2023
Commits
0b033c9c
Commit
0b033c9c
authored
Dec 06, 2024
by
heduo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(system): 华中阜外实验动物
parent
55d06923
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
src/pages/index.wpy
src/pages/index.wpy
+11
-7
src/pages/sydwApprovePreview.wpy
src/pages/sydwApprovePreview.wpy
+2
-2
No files found.
src/pages/index.wpy
View file @
0b033c9c
...
@@ -138,7 +138,8 @@ wepy.page({
...
@@ -138,7 +138,8 @@ wepy.page({
platformOptions: [],
platformOptions: [],
activeTab: 0,
activeTab: 0,
activeTitle: '',
activeTitle: '',
platform: ''
platform: '',
requestTask: null
},
},
computed: {},
computed: {},
methods: {
methods: {
...
@@ -216,7 +217,7 @@ wepy.page({
...
@@ -216,7 +217,7 @@ wepy.page({
title: '加载中'
title: '加载中'
});
});
const requestURL = wx.getStorageSync('requestURL')
const requestURL = wx.getStorageSync('requestURL')
wx.request({
this.requestTask =
wx.request({
url: `${requestURL}/approveOpera/listUnApprove`,
url: `${requestURL}/approveOpera/listUnApprove`,
method: 'post',
method: 'post',
header: {
header: {
...
@@ -266,7 +267,7 @@ wepy.page({
...
@@ -266,7 +267,7 @@ wepy.page({
title: '加载中'
title: '加载中'
});
});
const requestURL = wx.getStorageSync('requestURL')
const requestURL = wx.getStorageSync('requestURL')
wx.request({
this.requestTask =
wx.request({
url: `${requestURL}/approveOpera/listUnApproveAnm`,
url: `${requestURL}/approveOpera/listUnApproveAnm`,
method: 'post',
method: 'post',
header: {
header: {
...
@@ -309,6 +310,9 @@ wepy.page({
...
@@ -309,6 +310,9 @@ wepy.page({
onChange(event) {
onChange(event) {
this.activeTitle = event.$wx.detail.title
this.activeTitle = event.$wx.detail.title
this.orderList = []
this.orderList = []
if (this.requestTask) {
this.requestTask.abort()
}
if (event.$wx.detail.title === '试剂耗材') {
if (event.$wx.detail.title === '试剂耗材') {
this.getList()
this.getList()
} else if (event.$wx.detail.title === '实验动物') {
} else if (event.$wx.detail.title === '实验动物') {
...
...
src/pages/sydwApprovePreview.wpy
View file @
0b033c9c
...
@@ -116,8 +116,8 @@
...
@@ -116,8 +116,8 @@
<div>商品名称:{{ item.name }}</div>
<div>商品名称:{{ item.name }}</div>
<div>单价:{{ item.price }}元</div>
<div>单价:{{ item.price }}元</div>
</div>
</div>
<div>{{ '品牌: '+ item.brand +';货号:'+ item.goodsNo +';品种:' + item.spec
2
}}</div>
<div>{{ '品牌: '+ item.brand +';货号:'+ item.goodsNo +';品种:' + item.spec }}</div>
<div>{{ '规格: '+ item.spec +';等级:'+ item.grade +';年龄:' + item.old }}</div>
<div>{{ '规格: '+ item.spec
2
+';等级:'+ item.grade +';年龄:' + item.old }}</div>
<div>{{ '体重: '+ item.weight +';性别:'+ item.sex }}</div>
<div>{{ '体重: '+ item.weight +';性别:'+ item.sex }}</div>
</div>
</div>
...
...
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