Admin
2022-08-22 de56d4ec94969775c9eed6ce65f45ab908068fc9
src/views/specialWorkSystem/workTicket/myJobApply/index.vue
@@ -73,7 +73,7 @@
                      </span>
                    </template>
                </el-dialog>
                <el-dialog v-model="dialogStatus" title="作业申请进度">
                <el-dialog v-model="dialogStatus" title="作业申请进度" width="60%">
                    <el-form v-if="approveInfo.operators.length > 0" style="margin-bottom: 40px">
                        <el-form-item label="申请作业人">
                            <el-input v-model="approveInfo.operators" readonly type="textarea" />
@@ -102,12 +102,13 @@
                                    </div>
                                    <div class="approveItem">
                                        <div class="item-tit">
                                            <span>审批项目</span><span>类型</span>
                                            <span>审批项目</span>
<!--                                            <span>类型</span>-->
                                            <div>措施标准</div>
                                        </div>
                                        <div class="item-cont" v-for="i in item.stepItems">
                                            <span>{{ i.itemName }}</span
                                            ><span>{{ i.typeDesc }}</span>
                                            <span>{{ i.itemName }}</span>
<!--                                            <span>{{ i.typeDesc }}</span>-->
                                            <div v-if="i.measure !== null">
                                                <div>
                                                    <span>作业类型:</span><span>{{ i.measure.workTypeDesc }}</span>
@@ -219,7 +220,6 @@
    details: {};
    statusInfo: {};
    workType: Array<type>;
    depType: Array<type>;
    dialogType: number | null;
    departmentList: Array<any>;
    departmentRecursionList: Array<DepartmentState>;
@@ -282,12 +282,6 @@
                { id: 6, name: '高处作业' },
                { id: 7, name: '临时用电作业' },
                { id: 8, name: '盲板抽堵作业' }
            ],
            depType: [
                { id: 1, name: '部门一' },
                { id: 2, name: '部门二' },
                { id: 3, name: '部门三' },
                { id: 4, name: '部门四' }
            ]
        });
        interface User {
@@ -304,7 +298,7 @@
        // 填写表单
        const toApply = () => {
            router.push({
                path: 'workTicket'
                path: 'workApply'
            });
        };
@@ -318,7 +312,6 @@
            if (res.data.code === '200') {
                state.departmentList = JSON.parse(JSON.stringify(res.data.data))
                recursion(state.departmentList);
                console.log(state.departmentRecursionList,'99999999999')
            } else {
                ElMessage({
                    type: 'warning',
@@ -341,7 +334,7 @@
        // 分页获取工作时间组列表
        const getListByPage = async () => {
            const data = { pageSize: state.pageSize1, pageIndex: state.pageIndex1, searchParams: { workType: state.searchWord } };
            let res = await workApplyApi().getApplyListtPage(data);
            let res = await workApplyApi().getApplyListPage(data);
            if (res.data.code === '200') {
                state.applyData = JSON.parse(JSON.stringify(res.data.data));
                state.applyData = state.applyData.map((item) => {
@@ -656,9 +649,12 @@
                        & > span {
                            flex: 1;
                            &:last-of-type{
                                text-align: center;
                            }
                        }
                        & > div {
                            flex: 2;
                            flex: 1;
                            text-align: center;
                        }
                    }
@@ -672,9 +668,12 @@
                        & > span {
                            flex: 1;
                            &:last-of-type{
                                text-align: center;
                            }
                        }
                        & > div {
                            flex: 2;
                            flex: 1;
                            text-align: center;
                            & > div {
@@ -741,11 +740,12 @@
                                width: 100%;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                align-items: flex-start;
                                margin-bottom: 10px;
                                span {
                                    width: 45%;
                                    width: 50%;
                                    &:first-of-type {
                                        width: 30%;
                                        width: 25%;
                                    }
                                }
                            }