diff --git a/src/views/services/directivePackage/DirectivePackageList.vue b/src/views/services/directivePackage/DirectivePackageList.vue index c0a9db4..a93bfac 100644 --- a/src/views/services/directivePackage/DirectivePackageList.vue +++ b/src/views/services/directivePackage/DirectivePackageList.vue @@ -24,77 +24,40 @@ - - - - -
- -

服务时长:{{directive.totalDuration}} 分钟

-

创建时间:{{directive.createTime.substring(0,10)}}

-

说明:{{directive.description}}

-
+
+ + + + +
+ +

服务时长:{{ directive.totalDuration }} 分钟

+

超时时长:{{ directive.timeoutDuration }} 分钟

+

创建时间:{{ directive.createTime.substring(0, 10) }}

+

+ 说明:{{ directive.description }} +

+
编辑 +
+
+ +
-
- -
-
- - - - + + + +
共 {{ tableData.total }} 条数据 @@ -118,30 +81,30 @@ const registerModal = ref(); const searchForm = ref({}) const tableData = ref({}) const labelCol = reactive({ - xs:24, - sm:6, - xl:6, - xxl:6 - }); - const wrapperCol = reactive({ - xs: 24, - sm: 24, - }); + xs: 24, + sm: 6, + xl: 6, + xxl: 6 +}); +const wrapperCol = reactive({ + xs: 24, + sm: 24, +}); const pageParams = ref({ pageNo: 1, pageSize: 12 }) //启用停用 -function handleChangeIzEnabled(record){ +function handleChangeIzEnabled(record) { var izEnabled = record.izEnabled == 'Y' ? 'N' : 'Y'; - var params = {id:record.id,izEnabled}; + var params = { id: record.id, izEnabled }; defHttp.post({ url: '/services/directivePackage/directivePackage/edit', params }).then((res) => { searchQuery() }); } -function getHHMM(value){ - if(value){ -return dayjs(value).format('HH:mm') - }else{ +function getHHMM(value) { + if (value) { + return dayjs(value).format('HH:mm') + } else { return '未配置' } } @@ -211,7 +174,7 @@ onMounted(() => {