Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
620776519a
@ -41,7 +41,14 @@ export function specialDiseaseRoutedel(id) {
|
|||||||
method: 'delete'
|
method: 'delete'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 克隆
|
||||||
|
export function cloneRoute(id) {
|
||||||
|
return request({
|
||||||
|
url: `system/specialDiseaseRoute/cloneRoute?id=${id}`,
|
||||||
|
method: 'post',
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
// 修改专病路径信息
|
// 修改专病路径信息
|
||||||
export function updateSpecialDiseaseRoute(data) {
|
export function updateSpecialDiseaseRoute(data) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="formitem">医生:{{ item.attendingPhysician }}</div>
|
<div class="formitem">医生:{{ item.attendingPhysicianName }}</div>
|
||||||
<div class="formitem">科室:{{ item.departmentName }}</div>
|
<div class="formitem">科室:{{ item.departmentName }}</div>
|
||||||
<div class="formitem">就诊时间:{{ item.visitDate }}</div>
|
<div class="formitem">就诊时间:{{ item.visitDate }}</div>
|
||||||
<div class="formitem flex">
|
<div class="formitem flex">
|
||||||
@ -47,7 +47,7 @@
|
|||||||
<el-progress v-else :percentage="item.taskFinishRate"></el-progress>
|
<el-progress v-else :percentage="item.taskFinishRate"></el-progress>
|
||||||
<span style="flex: 0.1">({{ item.taskFinishNum }}/{{ item.taskNum }})</span>
|
<span style="flex: 0.1">({{ item.taskFinishNum }}/{{ item.taskNum }})</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="formitem">下次任务:</div>
|
<div class="formitem">下次任务:{{ item.nextTaskName }} - {{ item.nextTaskTime }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -73,7 +73,7 @@
|
|||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['manage:template:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
v-hasPermi="['manage:template:edit']">修改</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['manage:template:remove']">删除</el-button>
|
v-hasPermi="['manage:template:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -258,10 +258,6 @@
|
|||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['manage:propaganda:edit']"
|
v-hasPermi="['manage:propaganda:edit']"
|
||||||
v-if="
|
|
||||||
!scope.row.sourceTemplateId ||
|
|
||||||
scope.row.sourceTemplateId == 0
|
|
||||||
"
|
|
||||||
>修改</el-button
|
>修改</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
@ -1487,6 +1483,7 @@ export default {
|
|||||||
this.form.propagandaContent = this.fn(this.form.propagandaContent)
|
this.form.propagandaContent = this.fn(this.form.propagandaContent)
|
||||||
this.form.hospitalAgencyId = this.queryParams.hospitalAgencyId
|
this.form.hospitalAgencyId = this.queryParams.hospitalAgencyId
|
||||||
this.form.hospitalAgencyName = this.queryParams.hospitalAgencyName
|
this.form.hospitalAgencyName = this.queryParams.hospitalAgencyName
|
||||||
|
this.form.propagandaStatus = 'CREATE_COMPLETE'
|
||||||
if (this.form.propagandaContent && (this.form.propagandaContent.length - 7 > this.maxLength)) {
|
if (this.form.propagandaContent && (this.form.propagandaContent.length - 7 > this.maxLength)) {
|
||||||
// if (this.form.propagandaContent.length - 7 > this.maxLength) {
|
// if (this.form.propagandaContent.length - 7 > this.maxLength) {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|||||||
@ -79,9 +79,9 @@
|
|||||||
<!-- <el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button> -->
|
<!-- <el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button> -->
|
||||||
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="see(scope.row)">话术</el-button>
|
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="see(scope.row)">话术</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-picture-outline"
|
<el-button size="mini" type="text" icon="el-icon-picture-outline"
|
||||||
@click="seescript(scope.row)">话术预览</el-button>
|
@click="seescript(scope.row)">预览</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['manage:script:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
v-hasPermi="['manage:script:edit']">修改</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['manage:script:remove']">删除</el-button>
|
v-hasPermi="['manage:script:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -71,7 +71,7 @@
|
|||||||
v-if="scope.row.whetherRelease == 0">发布</el-button>
|
v-if="scope.row.whetherRelease == 0">发布</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-notebook-2" @click="detail(scope.row)">详情</el-button>
|
<el-button size="mini" type="text" icon="el-icon-notebook-2" @click="detail(scope.row)">详情</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['manage:servicepackage:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
v-hasPermi="['manage:servicepackage:edit']">修改</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['manage:servicepackage:remove']">删除</el-button>
|
v-hasPermi="['manage:servicepackage:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['manage:template:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
v-hasPermi="['manage:template:edit']">修改</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['manage:template:remove']">删除</el-button>
|
v-hasPermi="['manage:template:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['operationInfo:operationInfo:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
v-hasPermi="['operationInfo:operationInfo:edit']">修改</el-button>
|
||||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['operationInfo:operationInfo:remove']">删除</el-button>
|
v-hasPermi="['operationInfo:operationInfo:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
<!-- <el-button size="mini" type="text" @click="handleClassification(scope.row)"
|
<!-- <el-button size="mini" type="text" @click="handleClassification(scope.row)"
|
||||||
v-hasPermi="['system:question:edit']">分类管理</el-button> -->
|
v-hasPermi="['system:question:edit']">分类管理</el-button> -->
|
||||||
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:question:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">编辑</el-button>
|
v-hasPermi="['system:question:edit']">编辑</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:question:remove']">删除</el-button>
|
v-hasPermi="['system:question:remove']">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -76,8 +76,11 @@
|
|||||||
<!-- <el-button size="mini" type="text">复制</el-button> -->
|
<!-- <el-button size="mini" type="text">复制</el-button> -->
|
||||||
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:specialDiseaseRoute:edit']">编辑</el-button>
|
v-hasPermi="['system:specialDiseaseRoute:edit']">编辑</el-button>
|
||||||
|
<el-button size="mini" type="text" @click="handlecopy(scope.row)"
|
||||||
|
>克隆</el-button>
|
||||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:specialDiseaseRoute:remove']">删除</el-button>
|
v-hasPermi="['system:specialDiseaseRoute:remove']">删除</el-button>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -144,7 +147,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
listSpecialDiseaseRoute, getSpecialDiseaseRoute, addSpecialDiseaseRoute, updateSpecialDiseaseRoute,
|
listSpecialDiseaseRoute, getSpecialDiseaseRoute, addSpecialDiseaseRoute, updateSpecialDiseaseRoute,
|
||||||
editReleaseStatus, selectDiseaseCount, getDepartmentList, getdiseaseList, specialDiseaseRoutedel
|
editReleaseStatus, selectDiseaseCount, getDepartmentList, getdiseaseList, specialDiseaseRoutedel,cloneRoute
|
||||||
} from "@/api/system/specialDiseaseRoute";
|
} from "@/api/system/specialDiseaseRoute";
|
||||||
import {
|
import {
|
||||||
servicepackageinfo
|
servicepackageinfo
|
||||||
@ -448,6 +451,20 @@ export default {
|
|||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
/** 克隆按钮操作 */
|
||||||
|
handlecopy(row){
|
||||||
|
this.$confirm('此操作会克隆主路径, 是否继续?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
}).then(() => {
|
||||||
|
cloneRoute(row.id).then(res => {
|
||||||
|
this.getList();
|
||||||
|
this.$modal.msgSuccess("克隆成功");
|
||||||
|
this.$refs.DepartmentList.Departmentlist()
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
},
|
||||||
/** 删除按钮操作 */
|
/** 删除按钮操作 */
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
//删除主路径
|
//删除主路径
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user