|
@@ -1,4 +1,4 @@
|
|
|
-import { Button, Cell, Dialog, Grid, GridItem, Sticky } from 'vant'
|
|
|
+import { Button, Cell, Dialog, Grid, GridItem, showConfirmDialog, Sticky } from 'vant'
|
|
|
import { defineComponent, onMounted, reactive, ref } from 'vue'
|
|
|
import styles from '../index.module.less'
|
|
|
import iconA from '../images/icon-photo.png'
|
|
@@ -69,13 +69,19 @@ export default defineComponent({
|
|
|
})
|
|
|
/**确认补助 */
|
|
|
const sendConfirm = () => {
|
|
|
- request
|
|
|
- .post(`${state.platformApi}/schoolWeekSalaryRecord/manageConfirmed/${route.query.salaryId}`)
|
|
|
- .then((res: any) => {
|
|
|
- if (res?.code == 200) {
|
|
|
- router.back()
|
|
|
- }
|
|
|
- })
|
|
|
+ showConfirmDialog({
|
|
|
+ message: '是否确认无误?'
|
|
|
+ }).then(() => {
|
|
|
+ request
|
|
|
+ .post(
|
|
|
+ `${state.platformApi}/schoolWeekSalaryRecord/manageConfirmed/${route.query.salaryId}`
|
|
|
+ )
|
|
|
+ .then((res: any) => {
|
|
|
+ if (res?.code == 200) {
|
|
|
+ router.back()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
}
|
|
|
return () => (
|
|
|
<div>
|
|
@@ -145,8 +151,8 @@ export default defineComponent({
|
|
|
<Cell
|
|
|
style={{ '--van-cell-value-color': '#F44541' }}
|
|
|
center
|
|
|
- value={`${data.manageSalaryInfo.expectPhotoNum || 0}/${
|
|
|
- data.manageSalaryInfo.photoNum || 0
|
|
|
+ value={`训练照片${data.manageSalaryInfo.photoNum || 0}/${
|
|
|
+ data.manageSalaryInfo.expectPhotoNum || 0
|
|
|
}`}
|
|
|
isLink
|
|
|
to={`/subsidy-grant-detail?id=${recordId.value}`}
|