|
@@ -10,9 +10,9 @@
|
|
|
<el-cascader v-model="form.businessManagementId" :options="options" style="width: 100%;"
|
|
|
:props="{ label: 'businessName', value: 'id',checkStrictly:true }" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="服务时间" prop="businessDuration">
|
|
|
- <el-input v-model="form.businessDuration" placeholder="请输入服务时间" >
|
|
|
- <template #append>小时</template>
|
|
|
+ <el-form-item label="服务时长" prop="businessDuration">
|
|
|
+ <el-input v-model="form.businessDuration" placeholder="请输入服务时长" >
|
|
|
+ <template #append>分钟</template>
|
|
|
</el-input>
|
|
|
|
|
|
</el-form-item>
|
|
@@ -32,7 +32,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { onMounted, ref } from 'vue';
|
|
|
+import { onMounted, ref, render } from 'vue';
|
|
|
import ListPage from '@/views/components/ListPage/index.vue';
|
|
|
import { add, update, list, delPrice, details, getTreeList } from "@/api/staff/price.js";
|
|
|
|
|
@@ -43,24 +43,38 @@ const options = ref([]);
|
|
|
const listPageData = reactive({
|
|
|
tableColumn: [
|
|
|
{
|
|
|
- label: '服务项目',
|
|
|
+ label: '服务层级名称',
|
|
|
prop: 'businessManagementId',
|
|
|
type: 'cascader',
|
|
|
isSearch: true,
|
|
|
- tableProp:'projectName',
|
|
|
+ tableProp:'businessTierName',
|
|
|
options:options,
|
|
|
props: { label: 'businessName', value: 'id', checkStrictly:true },
|
|
|
|
|
|
|
|
|
},
|
|
|
+ // {
|
|
|
+ // label: '项目类别',
|
|
|
+ // prop: 'projectTypeName',
|
|
|
+ // },
|
|
|
{
|
|
|
- label: '项目类别',
|
|
|
- prop: 'projectTypeName',
|
|
|
+ label: '服务时长',
|
|
|
+ prop: 'businessDuration',
|
|
|
+ type:'render',
|
|
|
+ render: (row) => {
|
|
|
+ return row.businessDuration + '分钟'
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
label: '服务价格',
|
|
|
prop: 'businessPrice',
|
|
|
+ type:'render',
|
|
|
+ render: (row) => {
|
|
|
+ return '¥'+row.businessPrice
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
+
|
|
|
],
|
|
|
searchBtns: [
|
|
|
{
|