修改
This commit is contained in:
parent
6fbeaf0cb4
commit
6661b1d2e2
@ -144,7 +144,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
@ -182,7 +182,7 @@ export default {
|
|||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.$refs.DepartmentList.resetQuery()
|
this.$refs.DepartmentList.resetQuery()
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.handleQuery();
|
// this.handleQuery();
|
||||||
},
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
|
|||||||
@ -35,14 +35,7 @@
|
|||||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
||||||
:disabled="queryParams.hospitalAgencyId ? false : true"
|
:disabled="queryParams.hospitalAgencyId ? false : true"
|
||||||
v-hasPermi="['manage:template:add']">新增短信模版</el-button>
|
v-hasPermi="['manage:template:add']">新增短信模版</el-button>
|
||||||
<el-button
|
<el-button type="warning" plain icon="el-icon-upload2" size="mini" @click="handleUpload">导入</el-button>
|
||||||
type="warning"
|
|
||||||
plain
|
|
||||||
icon="el-icon-upload2"
|
|
||||||
size="mini"
|
|
||||||
@click="handleUpload"
|
|
||||||
>导入</el-button
|
|
||||||
>
|
|
||||||
|
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
@ -99,7 +92,7 @@
|
|||||||
<el-form-item label="短信模板名称" prop="textMessageName">
|
<el-form-item label="短信模板名称" prop="textMessageName">
|
||||||
<el-input v-model="form.textMessageName" placeholder="请输入短信模板名称" />
|
<el-input v-model="form.textMessageName" placeholder="请输入短信模板名称" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="短信通道" prop="textMessageChannel">
|
<el-form-item label="短信通道" prop="textMessageChannel">
|
||||||
<el-select v-model="form.textMessageChannel" placeholder="请选择短信通道" style="width:206px">
|
<el-select v-model="form.textMessageChannel" placeholder="请选择短信通道" style="width:206px">
|
||||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
||||||
@ -137,11 +130,10 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="短信排序" prop="textMessageSort">
|
<el-form-item label="短信排序" prop="textMessageSort">
|
||||||
<el-input-number v-model="form.textMessageSort" controls-position="right" :min="0" placeholder="请输入短信排序"
|
<el-input-number v-model="form.textMessageSort" controls-position="right" :min="0" placeholder="请输入短信排序" />
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="适用任务类型" prop="suitTaskTypeIds">
|
<el-form-item label="适用任务类型" prop="suitTaskTypeIds">
|
||||||
<el-select v-model="form.suitTaskTypeIds" placeholder="请选择适用任务类型" multiple style="width:206px">
|
<el-select v-model="form.suitTaskTypeIds" placeholder="请选择适用任务类型" multiple style="width:206px">
|
||||||
<el-option v-for="item in type" :key="item.id" :label="item.dictLabel" :value="item.dictCode">
|
<el-option v-for="item in type" :key="item.id" :label="item.dictLabel" :value="item.dictCode">
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -212,14 +204,8 @@
|
|||||||
<myPagination v-show="diseasetotal > 0" :total="diseasetotal" :pageSize="querydisease.pageSize"
|
<myPagination v-show="diseasetotal > 0" :total="diseasetotal" :pageSize="querydisease.pageSize"
|
||||||
:indexFromWrap="querydisease.pageNum" @updateCPage="updateCPagethree"></myPagination>
|
:indexFromWrap="querydisease.pageNum" @updateCPage="updateCPagethree"></myPagination>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 导入弹框 -->
|
<!-- 导入弹框 -->
|
||||||
<el-dialog
|
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
|
||||||
title=""
|
|
||||||
:visible.sync="innerexport"
|
|
||||||
width="1000px"
|
|
||||||
append-to-body
|
|
||||||
:before-close="exportcancel"
|
|
||||||
>
|
|
||||||
<messageexport @submit="submit" ref="childComponent"></messageexport>
|
<messageexport @submit="submit" ref="childComponent"></messageexport>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="submitexport">确 定</el-button>
|
<el-button type="primary" @click="submitexport">确 定</el-button>
|
||||||
@ -389,8 +375,8 @@ export default {
|
|||||||
if (this.queryParams.departmentId) {
|
if (this.queryParams.departmentId) {
|
||||||
this.innerexport = true
|
this.innerexport = true
|
||||||
if (this.exportlist.length > 0) {
|
if (this.exportlist.length > 0) {
|
||||||
this.$refs.childComponent.resetTable();
|
this.$refs.childComponent.resetTable();
|
||||||
}
|
}
|
||||||
this.Nameinfo = this.departmentName
|
this.Nameinfo = this.departmentName
|
||||||
} else {
|
} else {
|
||||||
this.$modal.msgError("请先选择左侧科室");
|
this.$modal.msgError("请先选择左侧科室");
|
||||||
@ -408,7 +394,7 @@ export default {
|
|||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
@ -670,10 +656,11 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .el-textarea__inner{
|
::v-deep .el-textarea__inner {
|
||||||
width: 533px !important;
|
width: 533px !important;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .el-dialog__body {
|
::v-deep .el-dialog__body {
|
||||||
padding-bottom: 60px !important;
|
padding-bottom: 60px !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1061,7 +1061,7 @@ export default {
|
|||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -507,7 +507,7 @@ export default {
|
|||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -547,7 +547,7 @@ export default {
|
|||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -414,7 +414,7 @@ export default {
|
|||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -366,7 +366,7 @@ export default {
|
|||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
this.informationqueryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -145,7 +145,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -150,7 +150,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -136,7 +136,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -218,7 +218,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -144,7 +144,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -165,7 +165,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.queryParams.departmentName = item.itemName
|
this.queryParams.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -365,7 +365,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.departmentName = item.itemName
|
this.departmentName = item.itemName
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -245,7 +245,7 @@ export default {
|
|||||||
this.queryParams.departmentId = item.itemid
|
this.queryParams.departmentId = item.itemid
|
||||||
this.addDepartmentquery.hospitalAgencyId = item.hospitalAgencyId
|
this.addDepartmentquery.hospitalAgencyId = item.hospitalAgencyId
|
||||||
if (item.hospitalAgencyId) {
|
if (item.hospitalAgencyId) {
|
||||||
this.getList();
|
this.handleQuery();
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user