修改服务包
This commit is contained in:
parent
09d8c48339
commit
d07b77ba91
@ -152,30 +152,29 @@
|
||||
<div class="name">
|
||||
服务方式
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
icon="el-icon-circle-plus-outline"
|
||||
size="mini"
|
||||
@click="handleUpdateserve"
|
||||
>新增</el-button
|
||||
>
|
||||
></el-button>
|
||||
|
||||
<el-button
|
||||
v-if="this.itemname"
|
||||
type="success"
|
||||
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
icon="el-icon-s-tools"
|
||||
size="mini"
|
||||
@click="handleedit"
|
||||
>修改</el-button
|
||||
></el-button
|
||||
>
|
||||
<el-button
|
||||
v-if="this.itemname"
|
||||
type="success"
|
||||
|
||||
plain
|
||||
icon="el-icon-delete"
|
||||
size="mini"
|
||||
@click="handledelete"
|
||||
>删除</el-button
|
||||
></el-button
|
||||
>
|
||||
</div>
|
||||
<div>
|
||||
@ -225,7 +224,6 @@
|
||||
label="服务频次"
|
||||
align="center"
|
||||
prop="serviceWayFrequencyList"
|
||||
|
||||
>
|
||||
<!-- <template slot-scope="scope">
|
||||
|
||||
@ -259,29 +257,22 @@
|
||||
|
||||
<!-- </div> -->
|
||||
<!-- </template> -->
|
||||
<template slot-scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<!-- {{ scope.row.serviceFrequencyType }} -->
|
||||
<!-- <div
|
||||
v-for="(item, index) in scope.row"
|
||||
:key="index"
|
||||
> -->
|
||||
<div
|
||||
|
||||
v-if="scope.row.serviceFrequencyType == 'DIGIT'"
|
||||
|
||||
>
|
||||
{{ scope.row.serviceFrequencyStart }}~{{
|
||||
scope.row.serviceFrequencyEnd
|
||||
}}
|
||||
</div>
|
||||
<div
|
||||
v-if="scope.row.serviceFrequencyType == 'TEXT'"
|
||||
|
||||
>
|
||||
{{ scope.row.serviceFrequencyText }}
|
||||
</div>
|
||||
<div v-if="scope.row.serviceFrequencyType == 'DIGIT'">
|
||||
{{ scope.row.serviceFrequencyStart }}~{{
|
||||
scope.row.serviceFrequencyEnd
|
||||
}}
|
||||
</div>
|
||||
<div v-if="scope.row.serviceFrequencyType == 'TEXT'">
|
||||
{{ scope.row.serviceFrequencyText }}
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</template>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column
|
||||
@ -350,7 +341,6 @@
|
||||
<el-form-item label="服务内容" prop="serviceContent" label-width="80">
|
||||
<el-input
|
||||
type="textarea"
|
||||
|
||||
style="width: 400px"
|
||||
placeholder="请输入服务内容"
|
||||
v-model="form.serviceContent"
|
||||
@ -643,15 +633,17 @@ export default {
|
||||
/** 查询服务方式内容列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
this.servicewaycontentList=[]
|
||||
this.servicewaycontentList = [];
|
||||
listServicewaycontent(this.queryParams).then((response) => {
|
||||
// this.servicewaycontentList = response.rows;
|
||||
response.rows.forEach((e) => {
|
||||
e.serviceWayFrequencyList.forEach((el) => {
|
||||
el.serviceContent = e.serviceContent;
|
||||
this.servicewaycontentList.push(el)
|
||||
console.log(this.servicewaycontentList, "this.servicewaycontentList");
|
||||
|
||||
this.servicewaycontentList.push(el);
|
||||
console.log(
|
||||
this.servicewaycontentList,
|
||||
"this.servicewaycontentList"
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user