修改
This commit is contained in:
parent
fc3a8207f1
commit
0efcc624da
@ -3,9 +3,8 @@ import request from '@/utils/request'
|
|||||||
// 查询患者列表
|
// 查询患者列表
|
||||||
export function tasklist(query) {
|
export function tasklist(query) {
|
||||||
return request({
|
return request({
|
||||||
url: '/manage/signnode/tasklist',
|
url: '/manage/signRecord/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: query
|
params: query
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -44,11 +44,12 @@ import VueMeta from 'vue-meta'
|
|||||||
// 字典数据组件
|
// 字典数据组件
|
||||||
import DictData from '@/components/DictData'
|
import DictData from '@/components/DictData'
|
||||||
import echarts from "echarts";
|
import echarts from "echarts";
|
||||||
library.add(fas,far, fab)
|
library.add(fas, far, fab)
|
||||||
import { getBoxPadding, getBoxHeight } from "@/utils/getMaxTableHeight";
|
import { getBoxPadding, getBoxHeight } from "@/utils/getMaxTableHeight";
|
||||||
Vue.prototype.getBoxPadding = getBoxPadding
|
Vue.prototype.getBoxPadding = getBoxPadding
|
||||||
Vue.prototype.getBoxHeight = getBoxHeight
|
Vue.prototype.getBoxHeight = getBoxHeight
|
||||||
Vue.prototype.$echarts = echarts;
|
Vue.prototype.$echarts = echarts;
|
||||||
|
|
||||||
// 全局方法挂载
|
// 全局方法挂载
|
||||||
Vue.prototype.getDicts = getDicts
|
Vue.prototype.getDicts = getDicts
|
||||||
Vue.prototype.getConfigKey = getConfigKey
|
Vue.prototype.getConfigKey = getConfigKey
|
||||||
@ -61,6 +62,7 @@ Vue.prototype.download = download
|
|||||||
Vue.prototype.handleTree = handleTree
|
Vue.prototype.handleTree = handleTree
|
||||||
|
|
||||||
// 全局组件挂载
|
// 全局组件挂载
|
||||||
|
|
||||||
Vue.component('font-awesome-icon', FontAwesomeIcon)
|
Vue.component('font-awesome-icon', FontAwesomeIcon)
|
||||||
Vue.component('DictTag', DictTag)
|
Vue.component('DictTag', DictTag)
|
||||||
Vue.component('Pagination', Pagination)
|
Vue.component('Pagination', Pagination)
|
||||||
|
|||||||
@ -152,6 +152,7 @@ export default {
|
|||||||
hospitalAgencyId: null,
|
hospitalAgencyId: null,
|
||||||
hospitalAgencyName: null,
|
hospitalAgencyName: null,
|
||||||
campusAgencyId: null,
|
campusAgencyId: null,
|
||||||
|
|
||||||
campusAgencyName: null,
|
campusAgencyName: null,
|
||||||
departmentId: null,
|
departmentId: null,
|
||||||
departmentName: null,
|
departmentName: null,
|
||||||
@ -229,7 +230,7 @@ export default {
|
|||||||
/** 查询患者信息列表 */
|
/** 查询患者信息列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.queryParams.taskCreateType = 'MANUAL_CREATE'
|
// this.queryParams.taskCreateType = 'MANUAL_CREATE's
|
||||||
tasklist(this.queryParams).then(response => {
|
tasklist(this.queryParams).then(response => {
|
||||||
response.rows.forEach(e => {
|
response.rows.forEach(e => {
|
||||||
e.birthDate ? e.age = getAge(e.birthDate) : ''
|
e.birthDate ? e.age = getAge(e.birthDate) : ''
|
||||||
|
|||||||
@ -53,35 +53,6 @@
|
|||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
>
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
<!-- <span class="icon"> -->
|
|
||||||
<!-- <el-button
|
|
||||||
type="danger"
|
|
||||||
class="el-icon-remove-outline"
|
|
||||||
plain
|
|
||||||
@click="delitemlist(index)"
|
|
||||||
v-if="index != 0"
|
|
||||||
></el-button> -->
|
|
||||||
|
|
||||||
<!-- <i
|
|
||||||
class="el-icon-delete"
|
|
||||||
@click="delitem(index)"
|
|
||||||
v-if="index != 0"
|
|
||||||
></i> -->
|
|
||||||
<!-- <i
|
|
||||||
v-if="index == 0"
|
|
||||||
class="el-icon-circle-plus-outline"
|
|
||||||
@click="addtriggerCondition(index)"
|
|
||||||
>添加触发条件</i
|
|
||||||
> -->
|
|
||||||
<!-- <el-button
|
|
||||||
type="primary"
|
|
||||||
plain
|
|
||||||
class="el-icon-circle-plus-outline"
|
|
||||||
@click="addtriggerConditionlist(index)"
|
|
||||||
v-if="index == 0"
|
|
||||||
>添加属性</el-button
|
|
||||||
> -->
|
|
||||||
<!-- </span> -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 二级 -->
|
<!-- 二级 -->
|
||||||
<div v-show="show3 == true">
|
<div v-show="show3 == true">
|
||||||
@ -182,13 +153,6 @@
|
|||||||
>
|
>
|
||||||
<i @click="addlistname()" class="el-icon-arrow-up" v-else>关闭</i>
|
<i @click="addlistname()" class="el-icon-arrow-up" v-else>关闭</i>
|
||||||
</span>
|
</span>
|
||||||
<!-- <i
|
|
||||||
@click="addlistname()"
|
|
||||||
class="el-icon-arrow-down"
|
|
||||||
v-if="show3 == false&&updatalist.length>0"
|
|
||||||
>展开</i
|
|
||||||
>
|
|
||||||
<i @click="addlistname()" class="el-icon-arrow-up" v-else>关闭</i> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="list">
|
<div class="list">
|
||||||
@ -379,14 +343,6 @@
|
|||||||
</el-switch>
|
</el-switch>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="flextwo">
|
|
||||||
<div class="text">短信预览:</div>
|
|
||||||
<el-input
|
|
||||||
style="border: none"
|
|
||||||
class="textarea"
|
|
||||||
v-model="form.messagePreview"
|
|
||||||
></el-input>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="card"
|
class="card"
|
||||||
@ -418,15 +374,6 @@
|
|||||||
</el-switch>
|
</el-switch>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="flextwo">
|
|
||||||
<div class="text">提醒内容:</div>
|
|
||||||
<el-input
|
|
||||||
v-model="form.officialRemindContent"
|
|
||||||
placeholder=""
|
|
||||||
class="textarea"
|
|
||||||
style="border: none"
|
|
||||||
></el-input>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="card"
|
class="card"
|
||||||
@ -458,24 +405,6 @@
|
|||||||
</el-switch>
|
</el-switch>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="flextwo">
|
|
||||||
<div class="text">提醒内容:</div>
|
|
||||||
<el-input
|
|
||||||
v-model="form.input"
|
|
||||||
placeholder=""
|
|
||||||
class="textarea"
|
|
||||||
style="border: none"
|
|
||||||
></el-input>
|
|
||||||
</div>
|
|
||||||
<div class="flextwo">
|
|
||||||
<div class="text">提示说明:</div>
|
|
||||||
<el-input
|
|
||||||
v-model="form.input"
|
|
||||||
placeholder=""
|
|
||||||
class="textarea"
|
|
||||||
style="border: none"
|
|
||||||
></el-input>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="card"
|
class="card"
|
||||||
@ -531,13 +460,6 @@
|
|||||||
oninput="value=value.replace(/[^\d]/g,'')"
|
oninput="value=value.replace(/[^\d]/g,'')"
|
||||||
style="width: 100px"
|
style="width: 100px"
|
||||||
>
|
>
|
||||||
<!-- <el-option
|
|
||||||
v-for="item in optionslistS"
|
|
||||||
:key="item.dictValue"
|
|
||||||
:label="item.dictLabel"
|
|
||||||
:value="item.dictValue"
|
|
||||||
>
|
|
||||||
</el-option> -->
|
|
||||||
</el-input>
|
</el-input>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -1111,13 +1033,9 @@ export default {
|
|||||||
)?.dictCode;
|
)?.dictCode;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.changelisy();
|
this.changelisy();
|
||||||
}, 30);
|
}, 1000);
|
||||||
this.itemlist.specialDiseaseRouteId = this.$route.query.id;
|
this.itemlist.specialDiseaseRouteId = this.$route.query.id;
|
||||||
this.itemlist.routeName = Cookies.get("routeName");
|
this.itemlist.routeName = Cookies.get("routeName");
|
||||||
console.log(this.itemlist.routeName, " this.itemlist.routeName");
|
|
||||||
// Cookies.remove("routeName");
|
|
||||||
|
|
||||||
// this.itemlist.routeName = this.$route.query.routeName;
|
|
||||||
selectSpecialDisease(this.$route.query.id).then((res) => {
|
selectSpecialDisease(this.$route.query.id).then((res) => {
|
||||||
loading.close();
|
loading.close();
|
||||||
this.agreeNumber = res.data.agreeNumber;
|
this.agreeNumber = res.data.agreeNumber;
|
||||||
@ -1268,7 +1186,6 @@ export default {
|
|||||||
triggerConditionList(this.routeId).then((res) => {
|
triggerConditionList(this.routeId).then((res) => {
|
||||||
this.openlist.triggerConditionList = res.data;
|
this.openlist.triggerConditionList = res.data;
|
||||||
this.$set(this.updata, "suitRange", this.openlist.suitRange);
|
this.$set(this.updata, "suitRange", this.openlist.suitRange);
|
||||||
console.log(this.updata.suitRange, "updatabianji");
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
|
|||||||
@ -626,7 +626,6 @@ export default {
|
|||||||
e.routeId = this.$route.query.id;
|
e.routeId = this.$route.query.id;
|
||||||
e.routeName = this.$route.query.routeName;
|
e.routeName = this.$route.query.routeName;
|
||||||
});
|
});
|
||||||
console.log(this.updata, "(this.updata");
|
|
||||||
triggerConditionadd(this.updata).then((res) => {
|
triggerConditionadd(this.updata).then((res) => {
|
||||||
loading.close();
|
loading.close();
|
||||||
this.$notify({
|
this.$notify({
|
||||||
@ -687,7 +686,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//触发条件修改详情
|
//触发条件修改详情
|
||||||
triggerConditionedit(uitem) {
|
triggerConditionedit(uitem) {
|
||||||
console.log(uitem, "uitem");
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/specialdisease/ManageNodeInformation",
|
path: "/specialdisease/ManageNodeInformation",
|
||||||
query: {
|
query: {
|
||||||
@ -716,8 +714,6 @@ export default {
|
|||||||
},
|
},
|
||||||
//删除触发条件
|
//删除触发条件
|
||||||
deltriggerCondition(uitem) {
|
deltriggerCondition(uitem) {
|
||||||
console.log(uitem, "uitem");
|
|
||||||
|
|
||||||
this.$confirm("确定删除此触发条件吗?", "提示", {
|
this.$confirm("确定删除此触发条件吗?", "提示", {
|
||||||
confirmButtonText: "确定",
|
confirmButtonText: "确定",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user