| | |
| | | > |
| | | <span class="custom-tree-node" slot-scope="{ node, data }"> |
| | | <span>{{ node.label }}</span> |
| | | <span> |
| | | <span v-if="data.id > 0"> |
| | | <el-button |
| | | type="text" |
| | | icon="el-icon-delete" |
| | |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="适用科室" prop="sickness"> |
| | | <el-form-item label="适用科室" prop="region"> |
| | | <el-cascader |
| | | v-model="queryParams.sickness" |
| | | :options="optionss" |
| | | :props="propss" |
| | | v-model="queryParams.administrative" |
| | | :options="deptList" |
| | | :props="props" |
| | | :show-all-levels="false" |
| | | clearable |
| | | ></el-cascader> |
| | | > |
| | | <template slot-scope="{ node, data }"> |
| | | <span>{{ data.deptName }}</span> |
| | | <span v-if="!node.isLeaf"> |
| | | ({{ data.children.length }}) |
| | | </span> |
| | | </template> |
| | | </el-cascader> |
| | | </el-form-item> |
| | | <el-form-item label="通知内容" prop="userName"> |
| | | <el-input |
| | |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="(item, index) in editableTabs" |
| | | :key="index++" |
| | | :label="item.title" |
| | | :value="index++" |
| | | v-for="(item, index) in editabshape" |
| | | :key="item.label" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in qyoptions" |
| | | v-for="item in usable" |
| | | :key="item.value" |
| | | :label="item.value" |
| | | :value="item.label" |
| | |
| | | <el-table-column |
| | | label="标题" |
| | | align="center" |
| | | key="extName" |
| | | prop="extName" |
| | | key="preachname" |
| | | prop="preachname" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | <el-table-column |
| | | label="主要内容(缺)" |
| | | label="主要内容" |
| | | align="center" |
| | | key="userNamevalue" |
| | | prop="userNamevalue" |
| | | key="preachcontent" |
| | | prop="preachcontent" |
| | | :show-overflow-tooltip="true" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="适用疾病(缺)" |
| | | label="适用疾病" |
| | | align="center" |
| | | key="aphonenumber" |
| | | prop="aphonenumber" |
| | |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="适用科室(缺)" |
| | | label="标签" |
| | | align="center" |
| | | key="bphonenumber" |
| | | prop="bphonenumber" |
| | | width="120" |
| | | /> |
| | | <el-table-column |
| | | label="标签(缺)" |
| | | align="center" |
| | | key="tagList" |
| | | prop="tagList" |
| | | key="labelInfo" |
| | | prop="labelInfo" |
| | | width="160" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-for="item in scope.row.tagList">{{ item }} </span> |
| | | <span v-for="item in scope.row.labelInfo.split(',')" |
| | | >{{ item }}、 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="宣教方式(缺)" |
| | | label="适用方式" |
| | | align="center" |
| | | key="cphonenumber" |
| | | prop="cphonenumber" |
| | | key="suitway" |
| | | prop="suitway" |
| | | width="120" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-for="item in scope.row.suitway.split(',')" |
| | | >{{ item }}、 |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="资料形式(缺)" |
| | | label="内容形式" |
| | | align="center" |
| | | key="cphonenumbers" |
| | | prop="cphonenumbers" |
| | | key="preachform" |
| | | prop="preachform" |
| | | width="120" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag |
| | | :options="editabshape" |
| | | :value="scope.row.preachform" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="最近修改" |
| | | align="center" |
| | |
| | | <el-table-column |
| | | label="是否可用" |
| | | align="center" |
| | | key="isEnable" |
| | | prop="isEnable" |
| | | key="isavailable" |
| | | prop="isavailable" |
| | | width="120" |
| | | /> |
| | | > |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="usable" :value="scope.row.isavailable" /> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | label="操作" |
| | |
| | | illnesslistget, |
| | | getillness, |
| | | } from "@/api/AiCentre/index"; |
| | | import { listDept } from "@/api/system/dept"; |
| | | import { getToken } from "@/utils/auth"; |
| | | import store from "@/store"; |
| | | |
| | |
| | | optionss: [], |
| | | mode: [], |
| | | languagelist: [], |
| | | qyoptions: [], |
| | | editabshape: [], |
| | | usable: [], |
| | | precedencetype: [], |
| | | xjxsoptions: [], |
| | | deptList: [], |
| | | props: { multiple: true, value: "deptId", label: "deptName" }, |
| | | |
| | | //类别列表 |
| | | editableTabs: [], |
| | |
| | | queryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | isavailable: "", |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | this.getDeptTree(); |
| | | this.mode = store.getters.mode; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.qyoptions = store.getters.usable; |
| | | this.usable = store.getters.usable; |
| | | this.precedencetype = store.getters.precedencetype; |
| | | this.editabshape = store.getters.editabshape; |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | getlibrarylist(this.queryParams).then((response) => { |
| | | console.log(response); |
| | | this.userList = response.rows; |
| | | }); |
| | | listDept(this.queryParams).then((response) => { |
| | | this.deptList = this.handleTree(response.data, "deptId"); |
| | | }); |
| | | }, |
| | | |
| | |
| | | this.getDeptTree(); |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.classifyform = {}; |
| | | this.dialogFormVisible = false; |
| | | }); |
| | | }, |
| | | remove(a, b) { |