| | |
| | | :total-count="total" |
| | | @search="onSearch" |
| | | :extraHeight="tabsHeaderHeight" |
| | | :defaultPageSize="10" |
| | | > |
| | | <!-- <template #options> </template> |
| | | <template #buttons> </template> --> |
| | | <template #options> |
| | | <FYOptionLocation |
| | | :disabled="true" |
| | | :checkStrictly="false" |
| | | :initValue="false" |
| | | :allOption="false" |
| | | :level="3" |
| | | v-model:value="formSearch._locations" |
| | | ></FYOptionLocation> |
| | | </template> |
| | | <!-- <template #buttons> </template> --> |
| | | <template #table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | |
| | | /> |
| | | <el-table-column prop="ncPerson" label="申请人" width="110" /> |
| | | <el-table-column prop="ncApplyContent" label="申请内容" width="110" /> |
| | | <el-table-column prop="ncStartDate" label="申请时间" width="110"> |
| | | <template #default="{ row }"> |
| | | {{ $fm.formatYMD(row.ncCreateTime) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="ncStartDate" label="工期开始" width="110"> |
| | | <template #default="{ row }"> |
| | | {{ $fm.formatYMD(row.ncStartDate) }} |
| | |
| | | /> |
| | | <template #footer> |
| | | <el-button @click="dialog = false">取消</el-button> |
| | | <el-button type="primary" @click="submit" :disabled="!selectedSVUser" |
| | | <el-button type="primary" @click="submit" :disabled="!selectedSVUser?.svUserId" |
| | | >确定</el-button |
| | | > |
| | | </template> |
| | |
| | | |
| | | const tabsHeaderHeight = inject('tabsHeaderHeight', 0); |
| | | |
| | | const formSearch = ref({ |
| | | _locations: { |
| | | pCode: '31', |
| | | pName: '上海市', |
| | | cCode: '3100', |
| | | cName: '上海市', |
| | | dCode: '310106', |
| | | dName: '静安区' |
| | | } |
| | | }); |
| | | // 夜间施工记录及总数 |
| | | const data = ref([]); |
| | | const total = ref(0); |
| | |
| | | |
| | | function itemEdit(row) { |
| | | selectedRow.value = row; |
| | | selectedSVUser.value = row._user; |
| | | selectedSVUser.value = { |
| | | svUserId: row._user?.guid, |
| | | svUserName: row._user?.realname, |
| | | ...row._user |
| | | }; |
| | | dialog.value = true; |
| | | } |
| | | |