Browse Source

EAM ——> 点检计划与点检项关联 巡检计划与巡检计划关联 更新

master_hella_20240701
gaojs 5 months ago
parent
commit
bff31380f5
  1. 2
      src/views/eam/inspectionItemSelectSet/inspectionItemSelectSet.data.ts
  2. 21
      src/views/eam/maintenance/audiForm.vue
  3. 2
      src/views/eam/maintenanceItemSelectSet/maintenanceItemSelectSet.data.ts
  4. 21
      src/views/eam/planInspection/audiForm.vue
  5. 22
      src/views/eam/planSpotCheck/audiForm.vue
  6. 2
      src/views/eam/spotCheckSelectSet/spotCheckSelectSet.data.ts

2
src/views/eam/inspectionItemSelectSet/inspectionItemSelectSet.data.ts

@ -14,7 +14,7 @@ export const InspectionItemSelectSet = useCrudSchemas(reactive<CrudSchema[]>([
field: 'id', field: 'id',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isTable: false, isTable: true,
isForm: false, isForm: false,
isDetail:false, isDetail:false,
}, },

21
src/views/eam/maintenance/audiForm.vue

@ -2,26 +2,9 @@
<Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false"> <Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false">
<el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px"> <el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="审核人" prop="approver">
<el-input v-model="formData.approver" placeholder="请输入审核人" :disabled="isDisabled"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="审核内容" prop="approveContent"> <el-form-item label="审核内容" prop="approveContent">
<el-input v-model="formData.approveContent" placeholder="请输入审核内容" /> <el-input type="textarea" :input-style="{height:'200px'}" maxlength="300" v-model="formData.approveContent" placeholder="请输入审核内容" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="审核时间" prop="approveTime">
<el-date-picker
v-model="formData.approveTime"
type="datetime"
value-format="x"
placeholder="选择审核时间">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

2
src/views/eam/maintenanceItemSelectSet/maintenanceItemSelectSet.data.ts

@ -14,7 +14,7 @@ export const BasicMaintenanceItemSelectSet = useCrudSchemas(reactive<CrudSchema[
field: 'id', field: 'id',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isTable: false, isTable: true,
isForm: false, isForm: false,
isDetail:false, isDetail:false,
}, },

21
src/views/eam/planInspection/audiForm.vue

@ -2,26 +2,9 @@
<Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false"> <Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false">
<el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px"> <el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="审核人" prop="approver">
<el-input v-model="formData.approver" placeholder="请输入审核人" :disabled="isDisabled"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="审核内容" prop="approveContent"> <el-form-item label="审核内容" prop="approveContent">
<el-input v-model="formData.approveContent" placeholder="请输入审核内容" /> <el-input type="textarea" :input-style="{height:'200px'}" maxlength="300" v-model="formData.approveContent" placeholder="请输入审核内容" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="审核时间" prop="approveTime">
<el-date-picker
v-model="formData.approveTime"
type="datetime"
value-format="x"
placeholder="选择审核时间">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

22
src/views/eam/planSpotCheck/audiForm.vue

@ -2,26 +2,9 @@
<Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false"> <Dialog v-model="dialogVisible" :title="dialogTitle" :close-on-click-modal="false">
<el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px"> <el-form ref="basicFormRef" v-loading="formLoading" :model="formData" :rules="formRules" label-width="100px">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="24">
<el-form-item label="审核人" prop="approver">
<el-input v-model="formData.approver" placeholder="请输入审核人" :disabled="isDisabled"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="审核内容" prop="approveContent"> <el-form-item label="审核内容" prop="approveContent">
<el-input v-model="formData.approveContent" placeholder="请输入审核内容" /> <el-input type="textarea" :input-style="{height:'200px'}" maxlength="300" v-model="formData.approveContent" placeholder="请输入审核内容" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="审核时间" prop="approveTime">
<el-date-picker
v-model="formData.approveTime"
type="datetime"
value-format="x"
placeholder="选择审核时间">
</el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -31,7 +14,6 @@
<el-button @click="handleClose('close')"> </el-button> <el-button @click="handleClose('close')"> </el-button>
</template> </template>
</Dialog> </Dialog>
<!--添加巡检项弹窗--> <!--添加巡检项弹窗-->
<SearchTable ref="searchTableRef" @searchTableSuccess="searchTableSuccess" /> <SearchTable ref="searchTableRef" @searchTableSuccess="searchTableSuccess" />

2
src/views/eam/spotCheckSelectSet/spotCheckSelectSet.data.ts

@ -14,7 +14,7 @@ export const BasicSpotCheckSelectSet = useCrudSchemas(reactive<CrudSchema[]>([
field: 'id', field: 'id',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isTable: false, isTable: true,
isForm: false, isForm: false,
isDetail:false, isDetail:false,
}, },

Loading…
Cancel
Save