|
@@ -121,9 +121,9 @@
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '加载中'
|
|
title: '加载中'
|
|
});
|
|
});
|
|
- if(store.userInfo.roles.some(item =>item.roleKey != 'factoryInspection')) {
|
|
|
|
- quer.value.creatorId = store.userInfo.userId;
|
|
|
|
- }
|
|
|
|
|
|
+ // if(store.userInfo.roles.some(item =>item.roleKey != 'factoryInspection')) {
|
|
|
|
+ // quer.value.creatorId = store.userInfo.userId;
|
|
|
|
+ // }
|
|
quer.value.startTime = startTime.value;
|
|
quer.value.startTime = startTime.value;
|
|
quer.value.type = "factoryInspection"
|
|
quer.value.type = "factoryInspection"
|
|
getProcessInspecionList(quer.value).then(res => {
|
|
getProcessInspecionList(quer.value).then(res => {
|
|
@@ -136,10 +136,7 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
function delable(item) {
|
|
function delable(item) {
|
|
- if (item.creatorId === store.userInfo.userId) {
|
|
|
|
- return true
|
|
|
|
- }
|
|
|
|
- return false
|
|
|
|
|
|
+ return true
|
|
}
|
|
}
|
|
const changeCheckCarrier = (item) => {
|
|
const changeCheckCarrier = (item) => {
|
|
const openItem = {
|
|
const openItem = {
|