bug修改
This commit is contained in:
parent
f0cbd6f09c
commit
305a6e239a
|
|
@ -13,7 +13,7 @@
|
||||||
"type" : "uniCloud"
|
"type" : "uniCloud"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"playground" : "custom",
|
"playground" : "standard",
|
||||||
"type" : "uni-app:app-android"
|
"type" : "uni-app:app-android"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,13 @@ class HttpConfig {
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
// baseUrl = "http://112.29.103.165:21624"
|
// baseUrl = "http://112.29.103.165:21624"
|
||||||
baseUrl = "http://192.168.2.152:28080"
|
// baseUrl = "http://192.168.0.14:21624"
|
||||||
// baseUrl = "http://112.29.103.165:21626"
|
// baseUrl = "http://112.29.103.165:21626"
|
||||||
// baseUrl = "http://172.20.10.3:8080"
|
// baseUrl = "http://172.20.10.3:8080"
|
||||||
// baseUrl = "http://10.40.92.8:8080"
|
// baseUrl = "http://10.40.92.8:8080"
|
||||||
// baseUrl = "http://10.40.92.52:28080"
|
// baseUrl = "http://10.40.92.52:28080"
|
||||||
// baseUrl = "http://10.40.92.78:28080"
|
// baseUrl = "http://10.40.92.78:28080"
|
||||||
// baseUrl = "http://192.168.2.167:28080"
|
baseUrl = "http://192.168.2.136:28090"
|
||||||
// baseUrl = "https://z.csgmall.com.cn/gl"
|
// baseUrl = "https://z.csgmall.com.cn/gl"
|
||||||
// baseUrl = "http://10.40.92.141:28080"
|
// baseUrl = "http://10.40.92.141:28080"
|
||||||
// #endif
|
// #endif
|
||||||
|
|
@ -85,6 +85,7 @@ class HttpConfig {
|
||||||
newExitList: '/back_apply/addBackTask', // 新建退料任务单
|
newExitList: '/back_apply/addBackTask', // 新建退料任务单
|
||||||
selectMaterial: '/back_apply/materialList', // 退料物料选择
|
selectMaterial: '/back_apply/materialList', // 退料物料选择
|
||||||
ifAgreement: '/select/getAgreementInfoById', // 单位id和工程id是否匹配
|
ifAgreement: '/select/getAgreementInfoById', // 单位id和工程id是否匹配
|
||||||
|
audit: '/back_apply/audit',//
|
||||||
},
|
},
|
||||||
exitExam: {
|
exitExam: {
|
||||||
exitExamList: '/back_apply/examineList', // 获取退料审核列表
|
exitExamList: '/back_apply/examineList', // 获取退料审核列表
|
||||||
|
|
|
||||||
|
|
@ -156,6 +156,20 @@ import { basePath } from '../../public';
|
||||||
num: subList
|
num: subList
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res);
|
console.log(res);
|
||||||
|
if (res.data.code === 200) {
|
||||||
|
// 使用相同的参数调用审核API
|
||||||
|
that.$api.exitMaterial.audit({
|
||||||
|
typeId: that.typeId,
|
||||||
|
num: subList
|
||||||
|
}).then(auditRes => {
|
||||||
|
console.log(auditRes);
|
||||||
|
// 如果审核成功,可以在这里添加更多的逻辑
|
||||||
|
}).catch(auditErr => {
|
||||||
|
console.error('审核API调用失败', auditErr);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
console.error('提交退料清单失败');
|
||||||
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
style="background-color: #FCA30D;"
|
style="background-color: #FCA30D;"
|
||||||
v-show="fetch.taskStatus == 31 && fetch.leaseApplyInfoList[0].status == 0 && roles.includes('sgb')"
|
v-show="fetch.taskStatus == 31 && roles.includes('picking:auditing:sgb')"
|
||||||
@click="toggleOpenModal(fetch)"
|
@click="toggleOpenModal(fetch)"
|
||||||
>
|
>
|
||||||
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
<uni-icons style="color: #fff;" type="auth"></uni-icons>
|
||||||
|
|
@ -760,6 +760,7 @@ import { basePath } from '../../public'
|
||||||
if (item == 'dm01' || item == 'dm02') item = 'tsfgs'
|
if (item == 'dm01' || item == 'dm02') item = 'tsfgs'
|
||||||
}) */
|
}) */
|
||||||
if (that.roles.includes('admin')) that.roles = ['fgs', 'sgb', 'ajb', 'jjfgs', 'tsfgs', 'admin']
|
if (that.roles.includes('admin')) that.roles = ['fgs', 'sgb', 'ajb', 'jjfgs', 'tsfgs', 'admin']
|
||||||
|
// if (that.roles.includes('sgb')) that.roles = ['sgb']
|
||||||
console.log(that.roles);
|
console.log(that.roles);
|
||||||
that.initFetch()
|
that.initFetch()
|
||||||
// that.getRoles()
|
// that.getRoles()
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@
|
||||||
<h4 class="tit">移动办公</h4>
|
<h4 class="tit">移动办公</h4>
|
||||||
<view class="secs">
|
<view class="secs">
|
||||||
<view
|
<view
|
||||||
v-show="btnIsShow(part)"
|
|
||||||
v-for="(part, index) in benchList"
|
v-for="(part, index) in benchList"
|
||||||
:key="index"
|
:key="index"
|
||||||
@click="jumpUrl(part.url)">
|
@click="jumpUrl(part.url)">
|
||||||
|
|
@ -98,6 +97,7 @@
|
||||||
name: "综合服务中心审核",
|
name: "综合服务中心审核",
|
||||||
pic: "/static/serviceCenterExam.png",
|
pic: "/static/serviceCenterExam.png",
|
||||||
url: "serviceCenterExam",
|
url: "serviceCenterExam",
|
||||||
|
isShow: ["*:*:*"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "新购入库",
|
name: "新购入库",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue