| | |
| | | @click="viewDetail(item,3)"> |
| | | 查看 |
| | | </u-button> |
| | | <u-button type="primary" |
| | | <!-- <u-button type="primary" |
| | | size="small" |
| | | class="action-btn" |
| | | v-if="item.status === 'pending'" |
| | |
| | | v-if="item.status === 'pending'" |
| | | @click="confirmApprove(item,false)"> |
| | | 拒绝 |
| | | </u-button> |
| | | </u-button> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <text>暂无用印记录</text> |
| | | </view> |
| | | <!-- 浮动新增按钮 --> |
| | | <view class="fab-button" |
| | | <!-- <view class="fab-button" |
| | | @click="addVisit"> |
| | | <up-icon name="plus" |
| | | size="24" |
| | | color="#ffffff"></up-icon> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | }; |
| | | listSealApplication(params) |
| | | .then(res => { |
| | | const currentFactoryName = userStore.currentFactoryName; |
| | | if (currentFactoryName) { |
| | | visitList.value = res.data.records.filter( |
| | | item => item.department === currentFactoryName |
| | | ); |
| | | } else { |
| | | visitList.value = res.data.records; |
| | | } |
| | | // const currentFactoryName = userStore.currentFactoryName; |
| | | // if (currentFactoryName) { |
| | | // visitList.value = res.data.records.filter( |
| | | // item => item.department === currentFactoryName |
| | | // ); |
| | | // } else { |
| | | visitList.value = res.data.records; |
| | | // } |
| | | closeToast(); |
| | | }) |
| | | .catch(() => { |