linwe
2024-05-21 5c11e8e607ba9a40f5c3e5ebd4ba14a53eae2226
代码优化
4 files modified
107 ■■■■■ changed files
src/views/property/process/maintenanceFundApply/edit.vue 6 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/SchoolCheckManage.vue 57 ●●●●● patch | view | raw | blame | history
src/views/publicSecurity/campusExclusion.vue 22 ●●●● patch | view | raw | blame | history
src/views/publicSecurity/disputeExclusion.vue 22 ●●●● patch | view | raw | blame | history
src/views/property/process/maintenanceFundApply/edit.vue
@@ -13,8 +13,7 @@
                <div slot="header">
                    <span>审批信息</span>
                </div>
                <avue-form ref="crud" :option="option" v-model="form" @submit="handleSubmit"
                    :upload-exceed="uploadExceed">
        <avue-form ref="crud" :option="option" v-model="form" @submit="handleSubmit" :upload-exceed="uploadExceed">
                    <template slot-scope="{ row, size, index }" slot="vote">
                        <div>{{ topicTitle }}</div>
@@ -49,8 +48,7 @@
                </div>
                <el-row type="flex" class="row-bg">
                    <el-timeline>
                        <el-timeline-item :key="flow.id" :timestamp="flow.createTime" v-for="flow in flowList"
                            placement="top">
            <el-timeline-item :key="flow.id" :timestamp="flow.createTime" v-for="flow in flowList" placement="top">
                            <el-card shadow="hover">
                                <p>{{ flow.assigneeName }} 在 [{{ flow.createTime }}] 开始处理 [{{ flow.historyActivityName
                                    }}] 环节</p>
src/views/publicSecurity/SchoolCheckManage.vue
@@ -48,18 +48,18 @@
      custom-class="flow-design-dialog" :before-close="handleClose">
      <audit-base @handleSubmit="submitAudit"></audit-base>
    </el-dialog>
    <el-drawer title="消防自查详情" :visible.sync="isDetail" :append-to-body="true" size="40%" direction="rtl">
    <el-drawer title="校园安全检查详情" :visible.sync="isDetail" :append-to-body="true" size="40%" direction="rtl">
      <div class="title">
        <div class="icon">{{ refreshNum }}</div>
        基础信息
      </div>
      <div class="basic-info" v-loading="drawerLoading">
        <div class="info-item">
          <div class="info-name">场所名称</div>
          <div class="info-name">校园名称</div>
          <div class="info-value">{{ rowDetail.placeName }}</div>
        </div>
        <!-- <div class="info-item">
          <div class="info-name">场所类别</div>
          <div class="info-name">校园类别</div>
          <div class="info-value">{{ rowDetail.nineTypeName }}</div>
        </div> -->
        <div class="info-item">
@@ -91,25 +91,8 @@
              <el-radio v-model="radio" label="2" disabled>否</el-radio>
            </div>
          </div>
          <!-- <div class="yh-pic-box">
            <div class="yh-pic-name">
              隐患图片
            </div>
            <div class="yh-pic-list">
              <div class="pic-item" v-for="pic in item.imageUrlsList">
                <el-image style="width: 100px; height: 100px" :src="pic" :fit="fit"></el-image>
              </div>
            </div>
          </div>
          <div class="yh-remark">
            <div class="yh-remark-name">
              隐患描述
            </div>
            <div class="yh-remark-value">
              {{ item.remark }}
            </div>
          </div> -->
          <div class="yh-pic-box">
            <div class="yh-pic-name">
              整改后图片
            </div>
@@ -118,15 +101,15 @@
                <el-image style="width: 100px; height: 100px" :src="pic" :fit="fit"></el-image>
              </div>
            </div>
          </div>
          <div class="yh-remark">
          </div> -->
          <!-- <div class="yh-remark">
            <div class="yh-remark-name">
              整改后描述
            </div>
            <div class="yh-remark-value">
              {{ item.rectificationRemark }}
            </div>
          </div>
          </div> -->
        </div>
      </div>
    </el-drawer>
@@ -240,7 +223,7 @@
          columnBtn: false,
          dialogClickModal: false,
          column: [{
              label: "场所名称",
              label: "校园名称",
              prop: "placeName",
              span: 24,
              row: true,
@@ -249,7 +232,7 @@
              align: 'center'
            },
            {
              label: "场所地址",
              label: "校园地址",
              prop: "location",
              span: 24,
              row: true,
@@ -286,17 +269,17 @@
              search: true,
              align: 'center'
            },
            // {
            //   label: "校园隐患",
            //   prop: "remark",
            //   span: 24,
            //   row: true,
            //   searchSpan: 4,
            //   align: 'center',
            //   width: 90,
            // },
            {
              label: "场所隐患",
              prop: "remark",
              span: 24,
              row: true,
              searchSpan: 4,
              align: 'center',
              width: 90,
            },
            {
              label: "场所负责人",
              label: "校园负责人",
              prop: "principal",
              span: 24,
              row: true,
@@ -305,7 +288,7 @@
              align: 'center'
            },
            {
              label: "场所负责人电话",
              label: "校园负责人电话",
              prop: "principalPhone",
              span: 24,
              row: true,
src/views/publicSecurity/campusExclusion.vue
@@ -224,7 +224,7 @@
            }, {
              width: 110,
              span: 12,
              label: "场所名称",
              label: "校园名称",
              prop: "placeName",
              searchSpan: 4,
              searchLabelWidth: 100,
@@ -232,16 +232,16 @@
              align: 'center',
              labelWidth: 110,
            },
            {
              label: "类型",
              prop: "type",
              align: 'center',
              dicUrl: "/api/blade-system/dict-biz/tree?code=xyaqyw",
              props: {
                label: "title",
                value: "key",
              },
            },
            // {
            //   label: "类型",
            //   prop: "type",
            //   align: 'center',
            //   dicUrl: "/api/blade-system/dict-biz/tree?code=xyaqyw",
            //   props: {
            //     label: "title",
            //     value: "key",
            //   },
            // },
            {
              width: 120,
              span: 12,
src/views/publicSecurity/disputeExclusion.vue
@@ -224,7 +224,7 @@
            }, {
              width: 110,
              span: 12,
              label: "场所名称",
              label: "校园名称",
              prop: "placeName",
              searchSpan: 4,
              searchLabelWidth: 100,
@@ -232,16 +232,16 @@
              align: 'center',
              labelWidth: 110,
            },
            {
              label: "类型",
              prop: "type",
              align: 'center',
              dicUrl: "/api/blade-system/dict-biz/tree?code=xyaqyw",
              props: {
                label: "title",
                value: "key",
              },
            },
            // {
            //   label: "类型",
            //   prop: "type",
            //   align: 'center',
            //   dicUrl: "/api/blade-system/dict-biz/tree?code=xyaqyw",
            //   props: {
            //     label: "title",
            //     value: "key",
            //   },
            // },
            {
              width: 120,
              span: 12,