123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608 |
- <template>
- <el-scrollbar style="height: 100%" ref="elscrollbar" id="message-container">
- <div class="NoiseTemplateWrapper TemplateWrapper knowledgeWrapper">
- <crumbs
- <<<<<<< HEAD
- :title="'医学术语静态知识维护-'+title"
- =======
- :title="'医学术语静态知识维护-' + title"
- >>>>>>> parent of e19d1f7 (no message)
- class="topBack"
- :param="$route.params"
- linkTo="StaticInfo"
- ></crumbs>
- <<<<<<< HEAD
- <div class="info-container">
- <el-form :rules="rules" :model="form" label-width="160px" ref="groups">
- <el-form-item v-if="!isEdit" label="选择标准术语:" prop="selectedTerm">
- <el-select
- v-model="form.selectedTerm"
- filterable
- remote
- clearable
- :loading="showDrop"
- loading-text="加载中..."
- @change="changeWord"
- @visible-change="handleVisible"
- value-key="id"
- @clear="handleClear"
- ref="termName"
- placeholder="搜索"
- :remote-method="searchTerms"
- >
- <el-option
- v-for="(term,idx) in terms"
- :key="idx"
- :label="term.name+(term.typeName?'('+term.typeName+')':'')"
- :value="term"
- :title="term.name+(term.typeName?'('+term.typeName+')':'')"
- ></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="已选择标准术语:" label-width="160px">{{form.selectedTermName}}</el-form-item>
- <el-form-item
- v-if="form.selectedTerm&&(form.typeId==1||form.typeId==3||form.typeId==4||form.typeId==5||form.typeId==6)"
- :label="titleChange"
- prop="titleChange"
- label-width="160px"
- >
- <el-input v-model="form.titleChange"></el-input>
- </el-form-item>
- <p class="line"></p>
- <DevInfo
- v-for="(f,i) in form.prags"
- v-if="!upload"
- :key="(i+1)*10000 + showType"
- :data="f"
- :index="i"
- :total="form.prags.length"
- :isEdit="isEdit"
- :isCopy="isCopy"
- ref="subForm"
- @add="addParagraph(i)"
- @del="delParagraph"
- @reOrder="reOrder"
- :showType="showType"
- ></DevInfo>
- <el-form-item v-if="upload" label="标题名称搜索:" prop="fileTitle" label-width="160px">
- <el-input v-model="form.fileTitle"></el-input>
- </el-form-item>
- <el-form-item
- v-if="upload"
- label="上传文件:"
- ref="upload"
- prop="fileList"
- label-width="160px"
- >
- <el-upload
- @mouseenter.native="handleMouseenter"
- @mouseleave.native="handleMouseleave"
- class="upload-demo"
- :action="config.urls.promptServer"
- name="upfile"
- :multiple="false"
- :limit="1"
- :on-preview="handlePreview"
- :on-remove="handleRemove"
- :before-upload="handleBeforeUpLoad"
- :before-remove="beforeRemove"
- :on-change="handleChange"
- :on-success="handleSuccess"
- :show-file-list="showFileList"
- :file-list="form.fileList"
- >
- <el-button size="small" type="primary" v-if="showUpLoad">点击上传</el-button>
- <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
- </el-upload>
- <span class="tipInfo" v-show="isShowTip">{{form.fileList[0]&&form.fileList[0].name}}</span>
- <!-- <el-button size="small" type="primary" >点击上传</el-button> -->
- </el-form-item>
- <el-form-item label-width="160px">
- <div class="uploadInfo" v-if="isSuccessUpload===1">文件上传中,请稍等...</div>
- </el-form-item>
- </el-form>
- <div class="btn">
- <el-button type="primary" :disabled="saveDisable" @click="submitForm">确 定</el-button>
- </div>
- </div>
- =======
- <div class="info-container">
- <el-form :rules="rules1" :model="form" label-width="160px" ref="groups1" size="mini">
- <div class="container_top">
- <div v-if="!isEdit" style="margin-right: 40px">
- <el-form-item label="选择标准术语:" prop="selectedTerm">
- <el-select
- v-model="form.selectedTerm"
- filterable
- remote
- clearable
- :loading="showDrop"
- loading-text="加载中..."
- @change="changeWord"
- @visible-change="handleVisible"
- value-key="id"
- @clear="handleClear"
- ref="termName"
- placeholder="搜索"
- :remote-method="searchTerms"
- >
- <el-option
- v-for="(term, idx) in terms"
- :key="idx"
- :label="
- term.name +
- (term.typeName ? '(' + term.typeName + ')' : '')
- "
- :value="term"
- :title="
- term.name +
- (term.typeName ? '(' + term.typeName + ')' : '')
- "
- ></el-option>
- </el-select>
- </el-form-item>
- </div>
- <el-form-item label="已选择标准术语:" label-width="160px">
- {{
- form.selectedTermName
- }}
- </el-form-item>
- </div>
- </el-form>
- <div class="tabs_box">
- <div class="tabs">
- <div
- class="tabs_pane"
- :style="
- tabActive == 'one'
- ? { color: '#fff', background: '#00c7da' }
- : ''
- "
- @click="tabActiveChange('one')"
- v-if="staticTabShow"
- >
- 静态信息
- <img
- @click.stop="handleStaticTab"
- src="@/images/tab_add.png"
- alt
- v-if="AssesComSHow && !AssesTabSHow"
- />
- <img
- v-if="AssesTabSHow && AssesComSHow"
- @click.stop="closeStaticTab"
- src="@/images/tab_close.png"
- alt
- />
- </div>
- <div
- class="tabs_pane"
- :style="
- tabActive == 'two'
- ? { color: '#fff', background: '#00c7da' }
- : ''
- "
- @click="tabActiveChange('two')"
- v-if="AssesTabSHow && AssesComSHow"
- >
- 评估内容
- <img
- v-if="!staticTabShow"
- @click.stop="handleAssesTab"
- src="@/images/tab_add.png"
- alt
- />
- <img
- v-if="staticTabShow"
- @click.stop="closeAssesTab"
- src="@/images/tab_close.png"
- alt
- />
- </div>
- </div>
- </div>
- <p class="line"></p>
- <div class="tab_box_left" v-show="tabActive == 'one'" v-if="staticTabShow">
- <el-form :rules="rules" :model="form" label-width="160px" ref="groups" size="mini">
- <div
- v-if="
- form.selectedTerm &&
- (form.typeId == 1 ||
- form.typeId == 3 ||
- form.typeId == 4 ||
- form.typeId == 5 ||
- form.typeId == 6)
- "
- >
- <el-form-item
- :label="titleChange"
- prop="titleChange"
- label-width="160px"
- style="margin-bottom: 20px"
- >
- <el-input v-model="form.titleChange"></el-input>
- </el-form-item>
- </div>
- <div v-if="!upload">
- <DevInfo
- v-for="(f, i) in form.prags"
- :key="(i + 1) * 10000 + showType"
- :data="f"
- :index="i"
- :total="form.prags.length"
- :isEdit="isEdit"
- :isCopy="isCopy"
- ref="subForm"
- @add="addParagraph(i)"
- @del="delParagraph"
- @reOrder="reOrder"
- :showType="showType"
- ></DevInfo>
- </div>
- <div v-if="upload">
- <el-form-item label="标题名称搜索:" prop="fileTitle" label-width="160px">
- <el-input v-model="form.fileTitle"></el-input>
- </el-form-item>
- </div>
- <div>
- <el-form-item
- v-if="upload"
- label="上传文件:"
- ref="upload"
- prop="fileList"
- label-width="160px"
- >
- <el-upload
- @mouseenter.native="handleMouseenter"
- @mouseleave.native="handleMouseleave"
- class="upload-demo"
- :action="config.urls.promptServer"
- name="upfile"
- :multiple="false"
- :limit="1"
- :on-preview="handlePreview"
- :on-remove="handleRemove"
- :before-upload="handleBeforeUpLoad"
- :before-remove="beforeRemove"
- :on-change="handleChange"
- :on-success="handleSuccess"
- :show-file-list="showFileList"
- :file-list="form.fileList"
- >
- <el-button size="small" type="primary" v-if="showUpLoad">点击上传</el-button>
- <!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
- </el-upload>
- <span class="tipInfo" v-show="isShowTip">
- {{
- form.fileList[0] && form.fileList[0].name
- }}
- </span>
- <!-- <el-button size="small" type="primary" >点击上传</el-button> -->
- </el-form-item>
- </div>
- <el-form-item label-width="160px">
- <div class="uploadInfo" v-if="isSuccessUpload === 1">文件上传中,请稍等...</div>
- </el-form-item>
- </el-form>
- </div>
- <div v-if="AssesComSHow && AssesTabSHow" v-show="tabActive == 'two'">
- <AddAssess @scrollTo="scrollTo" :childScaleData="scaleData" ref="assessRef" />
- </div>
- </div>
- <div class="btn">
- <el-button type="primary" :disabled="saveDisable" @click="submitForm">确 定</el-button>
- </div>
- >>>>>>> parent of e19d1f7 (no message)
- </div>
- </el-scrollbar>
- </template>
- <script>
- /**
- *
- */
- import api from '@api/knowledgeTree.js';
- import DevInfo from './DevInfo';
- import config from '@api/config';
- import $ from 'jquery';
- <<<<<<< HEAD
- =======
- import AddAssess from './AddAssess';
- >>>>>>> parent of e19d1f7 (no message)
- export default {
- name: 'AddDevKnow',
- components: {
- <<<<<<< HEAD
- DevInfo
- },
- data() {
- return {
- =======
- DevInfo,
- AddAssess
- },
- data() {
- return {
- staticTabShow: true,
- AssesTabSHow: true,
- staticComShow: true,
- AssesComSHow: false,
- toAssesTermId: null,
- scaleData: null,
- >>>>>>> parent of e19d1f7 (no message)
- isFixedTop: true,
- isEdit: false,
- isCopy: false,
- title: '添加',
- termTypes: [],
- terms: [], //术语列表
- form: {
- conceptId: '', //术语id
- isTip: 0, //是否要覆盖,0不覆盖,1覆盖
- selectedTerm: '', //术语标签
- termType: '',
- typeId: '',
- selectedTermName: '',
- selectedTermType: '',
- // titleChange: '',
- fileList: [],
- name: '',
- prags: [
- {
- //单个段落相关
- title: '',
- content: '',
- isReason: 0,
- orderNo: 0,
- position: [],
- text: ''
- }
- ],
- fileTitle: '',
- titleChange: ''
- },
- <<<<<<< HEAD
- rules: {
- selectedTerm: [
- { required: true, message: '请选择标准术语', trigger: 'change' }
- ],
- =======
- rules1: {
- selectedTerm: [
- { required: true, message: '请选择标准术语', trigger: 'change' }
- ]
- },
- rules: {
- >>>>>>> parent of e19d1f7 (no message)
- fileTitle: [
- { required: true, message: '请输入标题名称', trigger: 'change' },
- {
- validator: (rule, value, callback) => {
- if (value.trim().length > 30) {
- callback(new Error('标题名称不能超过30字'));
- } else {
- callback();
- }
- },
- trigger: 'change'
- }
- ],
- fileList: [
- { required: true, message: '请上传文件', trigger: 'change' }
- ],
- titleChange: [
- // {
- // validator: (rule, value, callback) => {
- // if (!value.trim()) {
- // callback(
- // new Error('请输入' + this.titleChange.replace(':', ''))
- // );
- // } else {
- // callback();
- // }
- // },
- // trigger: 'change'
- // },
- { max: 30, message: '标题最多30字', trigger: 'change' }
- ]
- },
- saveDisable: false, //保存按钮禁止点击
- showDrop: false, //下拉框显示文字bug1774
- config: config,
- showUpLoad: true,
- showFileList: false,
- upload: false,
- showConfirm: true,
- isSuccessUpload: 0, //是否上传成功 0: 不在上传 1: 上传过程中 2: 上传成功
- isShowTip: false,
- showType: -1, // 1 诊断 2 药品 3检验套餐 4检验细项 5检查 6检查子 7手术和操作 8量表
- editCount: -1, // 页面会否被编辑 >0被编辑 =0 未编辑
- startCount: -1,
- <<<<<<< HEAD
- isSaveSuccess: false // 是否保存成功
- =======
- isSaveSuccess: false, // 是否保存成功
- tabActive: 'one'
- >>>>>>> parent of e19d1f7 (no message)
- };
- },
- watch: {
- showType: {
- handler(newVal, oldVal) {
- if (newVal !== oldVal) {
- this.form.prags = this.form.prags.map(item => {
- return { ...item, position: [] };
- });
- }
- }
- },
- form: {
- handler(newName, oldName) {
- this.editCount++;
- },
- deep: true,
- immediate: true
- }
- },
- created: function() {
- const { isEdit, data, isCopy } = this.$route.params;
- if (isEdit || isCopy) {
- <<<<<<< HEAD
- =======
- const loading = this.$loading({
- lock: true,
- text: 'Loading',
- spinner: 'el-icon-loading',
- background: 'rgba(0, 0, 0, 0.7)'
- });
- >>>>>>> parent of e19d1f7 (no message)
- this.showType = data.type; // 编辑页确认显示类型
- this.isEdit = isEdit;
- this.isCopy = isCopy;
- this.title = isEdit ? '修改' : isCopy ? '复制' : '添加';
- (isEdit || isCopy) && this.changeWord(data);
- <<<<<<< HEAD
- if (isCopy) {
- const _this = this;
- setTimeout(() => {
- _this.handleClear();
- }, 300);
- }
- api.getBaseRecordById({ id: data.id })
- .then(res => {
- if (res.data.code == '0') {
- const data = res.data.data;
- =======
- api
- .getBaseRecordById({ id: data.id })
- .then(res => {
- if (res.data.code == '0') {
- const data = res.data.data;
- console.log('dwadfesvgeosboau13131213h', data.scale);
- if (data.type === 8) {
- this.AssesComSHow = true;
- if (data.scale) {
- this.scaleData = data.scale;
- this.AssesTabSHow = true;
- } else {
- this.AssesTabSHow = false;
- }
- }
- >>>>>>> parent of e19d1f7 (no message)
- if (this.form.typeId === 82 || this.form.typeId === 83) {
- // console.log('data',data)
- this.form.fileList =
- data &&
- data.map(it => {
- return JSON.parse(it.content);
- });
- this.showFileList = true;
- this.showUpLoad = false;
- } else {
- this.conceptId = data.id;
- this.form.typeId = data.type;
- this.form.name = data.name;
- this.form.titleChange =
- data.type == 1
- ? data.clinicalPathwayName
- : data.type == 3 ||
- data.type == 4 ||
- data.type == 5 ||
- data.type == 6
- ? data.noticeName
- : '';
- this.form.selectedTermName =
- data.name + (data.typeName ? '(' + data.typeName + ')' : '');
- this.form.selectedTerm =
- data.name + (data.typeName ? '(' + data.typeName + ')' : '');
- <<<<<<< HEAD
- this.form.prags =
- data &&
- data.details.map(it => {
- return {
- title: it.title,
- position: this.mapStringToNum(it.contentType),
- content: it.content.replace(
- /{imageUrlPrefix}/g,
- config.imgHost
- ),
- // isReason:it.isReason,
- text: it.text,
- disabled: true
- };
- });
- }
- }
- })
- .catch(error => {
- =======
- if (isCopy) {
- this.handleClear();
- }
- if (data.details.length) {
- this.form.prags =
- data &&
- data.details.map(it => {
- return {
- title: it.title,
- position: (it.contentType||'').split(","),
- content: it.content.replace(
- /{imageUrlPrefix}/g,
- config.imgHost
- ),
- // isReason:it.isReason,
- text: it.text,
- disabled: true
- };
- });
- } else {
- this.staticTabShow = false;
- this.tabActiveChange('two');
- }
- }
- }
- setTimeout(() => {
- loading.close();
- }, 200);
- })
- .catch(error => {
- loading.close();
- >>>>>>> parent of e19d1f7 (no message)
- if (error.code === '900010001') {
- return false;
- }
- console.log(error);
- });
- }
- setTimeout(() => {
- this.startCount = this.editCount;
- }, 500);
- },
- mounted() {},
- beforeRouteLeave(to, from, next) {
- // if (this.isSuccessUpload === 1) {
- // this.$confirm('文件正在上传,是否确定返回?', '提示', {
- // confirmButtonText: '确定',
- // cancelButtonText: '取消',
- // cancelButtonClass: 'cancel',
- // type: 'warning'
- // })
- // .then(() => {
- // next();
- // })
- // .catch(() => {});
- // // this.warning('还有未保存的文件,是否确定返回?');
- // } else if (this.isSuccessUpload === 2) {
- // this.$confirm('还有未保存的文件,是否确定返回?', '提示', {
- // confirmButtonText: '确定',
- // cancelButtonText: '取消',
- // cancelButtonClass: 'cancel',
- // type: 'warning'
- // })
- // .then(() => {
- // next();
- // })
- // .catch(() => {});
- // } else {
- // next();
- // }
- if (this.startCount !== this.editCount && !this.isSaveSuccess) {
- this.$alert('还有未保存的内容,确定要退出当前页面吗?', '提示', {
- confirmButtonText: '确定',
- // cancelButtonText: '取消',
- // cancelButtonClass: 'leaveBtn',
- // customClass: 'leaveBox',
- type: 'warning'
- })
- .then(() => {
- next();
- })
- .catch(() => {});
- } else {
- next();
- }
- },
- methods: {
- <<<<<<< HEAD
- =======
- scrollTo(dom) {
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- if (dom >= 0) {
- div.scrollTop += dom - 120;
- } else {
- div.scrollTop -= Math.abs(dom) + 120;
- }
- },
- handleStaticTab() {
- this.AssesTabSHow = true;
- this.AssesComSHow = true;
- this.tabActiveChange('two');
- },
- handleAssesTab() {
- this.staticTabShow = true;
- this.form.prags = [
- {
- //单个段落相关
- title: '',
- content: '',
- isReason: 0,
- orderNo: 0,
- position: [],
- text: ''
- }
- ];
- this.tabActiveChange('one');
- },
- closeStaticTab() {
- this.$alert('确定要删除该标签?删除后该标签内容将会被清空!', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- // cancelButtonClass: 'leaveBtn',
- // customClass: 'leaveBox',
- type: 'warning'
- })
- .then(() => {
- this.staticTabShow = false;
- this.tabActiveChange('two');
- })
- .catch(() => {});
- },
- closeAssesTab() {
- this.$alert('确定要删除该标签?删除后该标签内容将会被清空!', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- // cancelButtonClass: 'leaveBtn',
- // customClass: 'leaveBox',
- type: 'warning'
- })
- .then(() => {
- this.AssesTabSHow = false;
- // this.AssesComSHow = false;
- this.tabActiveChange('one');
- })
- .catch(() => {});
- },
- tabActiveChange(type) {
- this.tabActive = type;
- if (type == 'two') {
- setTimeout(() => {
- this.$refs.assessRef.resizeTable();
- }, 200);
- }
- },
- >>>>>>> parent of e19d1f7 (no message)
- handleClear() {
- this.form.selectedTermName = '';
- this.form.selectedTerm = '';
- this.form.titleChange = '';
- <<<<<<< HEAD
- // console.log('处理清空的操作');
- =======
- >>>>>>> parent of e19d1f7 (no message)
- },
- handleMouseenter() {
- if (this.form.fileList.length !== 0) {
- this.isShowTip = true;
- }
- },
- handleMouseleave() {
- this.isShowTip = false;
- },
- changeWord(newVal) {
- <<<<<<< HEAD
- // console.log(newVal, '选中');
- =======
- if (newVal.typeName == '量表') {
- this.AssesComSHow = true;
- } else {
- this.staticTabShow = true;
- this.AssesComSHow = false;
- this.tabActive = 'one';
- }
- this.toAssesTermId = newVal.id;
- >>>>>>> parent of e19d1f7 (no message)
- this.showType = newVal.type || -1;
- const name = newVal.name;
- const typeName = newVal.typeName;
- const type = newVal.type;
- <<<<<<< HEAD
- this.form.selectedTermName = name + (typeName ? '(' + typeName + ')' : '');
- =======
- this.form.selectedTermName =
- name + (typeName ? '(' + typeName + ')' : '');
- >>>>>>> parent of e19d1f7 (no message)
- // this.form.selectedTerm = name + (typeName ? '(' + typeName + ')' : '');
- this.form.name = name;
- this.form.fileList = [];
- this.showFileList = false;
- this.form.typeId = type || '';
- this.showUpLoad = true;
- this.titleChange =
- type == 1
- ? '临床路径标题:'
- : type == 3 || type == 4 || type == 5 || type == 6
- ? '注意事项标题:'
- : '';
- this.form.fileTitle = '';
- if (newVal.typeId === 82 || newVal.typeId === 83) {
- this.upload = true;
- this.form.fileTitle = newVal.title;
- } else {
- this.upload = false;
- }
- },
- handleVisible(flag) {
- if (!flag) {
- this.terms = [];
- }
- },
- reOrder(isUp, i) {
- // isUp: 1 上升 0 下降
- let div = this.$refs['elscrollbar'].$refs['wrap'];
- let temp = {},
- it = {};
- if (isUp === 1) {
- if (i === 0) {
- this.warning('已经是第一个,不能再升啦!');
- return;
- }
- temp = Object.assign(this.form.prags[i - 1]);
- it = Object.assign(this.form.prags[i]);
- this.form.prags.splice(i - 1, 2, it, temp);
- this.$nextTick(() => {
- div.scrollTop = this.$refs.subForm[i - 1].$el.offsetTop - 48;
- });
- } else {
- if (i === this.form.prags.length - 1) {
- this.warning('已经是最后一个,不能再降啦!');
- return;
- }
- temp = Object.assign(this.form.prags[i + 1]);
- it = Object.assign(this.form.prags[i]);
- this.form.prags.splice(i, 2, temp, it);
- }
- },
- addParagraph(i) {
- this.form.prags.splice(i + 1, 0, {
- title: '',
- content: '',
- isReason: 0,
- position: [],
- text: ''
- });
- //添加段落光标自动落到新增的段落中
- setTimeout(() => {
- this.$refs.subForm[i + 1].$el
- .getElementsByClassName('el-input__inner')[0]
- .focus();
- });
- },
- delParagraph(i) {
- if (this.form.prags.length == 1) {
- this.warning('只剩一个段落,不能再删啦!');
- return;
- }
- this.showConfirmDialog('确定要删除该段落?', () => {
- this.form.prags.splice(i, 1);
- });
- },
- back() {
- this.$router.go(-1);
- },
- searchTerms(query) {
- if (!query.trim()) {
- this.form.terms = [];
- return;
- }
- //搜索术语列表
- this.showDrop = true;
- <<<<<<< HEAD
- api.staticKnowledgeBaseInfo({ inputStr: query.trim(), types: [0] }).then(res => {
- this.showDrop = false;
- if (res.data.code === '0') {
- this.terms = res.data.data;
- } else {
- this.warning('数据获取失败');
- }
- });
- =======
- api
- .staticKnowledgeBaseInfo({ inputStr: query.trim(), types: [0] })
- .then(res => {
- this.showDrop = false;
- if (res.data.code === '0') {
- this.terms = res.data.data;
- } else {
- this.warning('数据获取失败');
- }
- });
- >>>>>>> parent of e19d1f7 (no message)
- },
- mapStringToNum(str) {
- return str.split(',').map(it => {
- return +it;
- });
- },
- <<<<<<< HEAD
- =======
- >>>>>>> parent of e19d1f7 (no message)
- // 额外的表单检验
- formVal() {
- let positiontemp = this.form.prags.map(item => {
- return [...item.position];
- });
- let positionArr = positiontemp.reduce(function(a, b) {
- return a.concat(b);
- }); // 所有被选中的值集合
- <<<<<<< HEAD
- console.log(positionArr, 'positionArr');
- console.log(this.showType, '当前页的显示类型');
- let isVisFlag = positionArr.some(item => item === 2);
- let isDiagFlag = positionArr.some(item => item === 3);
- console.log(isVisFlag, 'isVisFlag是否显示');
- =======
- // console.log(positionArr, "positionArr");
- // console.log(this.showType, "当前页的显示类型");
- let isVisFlag = positionArr.some(item => item === 2);
- let isDiagFlag = positionArr.some(item => item === 3);
- // console.log(isVisFlag, "isVisFlag是否显示");
- >>>>>>> parent of e19d1f7 (no message)
- if (
- (this.showType == 3 ||
- this.showType == 4 ||
- this.showType == 5 ||
- this.showType == 6) &&
- isVisFlag
- ) {
- <<<<<<< HEAD
- console.log('进入校验');
- //若医学术语为检验/检查,且内容类型选择了注意事项,此时“注意事项标题”是必填项
- this.$refs.groups.clearValidate();
- =======
- // console.log("进入校验");
- //若医学术语为检验/检查,且内容类型选择了注意事项,此时“注意事项标题”是必填项
- this.$refs.groups && this.$refs.groups.clearValidate();
- >>>>>>> parent of e19d1f7 (no message)
- this.rules.titleChange.push({
- required: true,
- message: '请输入注意事项标题',
- trigger: 'change'
- });
- <<<<<<< HEAD
- this.$refs.groups.validateField('titleChange');
- this.$refs.groups.validateField('selectedTerm');
- =======
- this.$refs.groups && this.$refs.groups.validateField('titleChange');
- this.$refs.groups && this.$refs.groups.validateField('selectedTerm');
- >>>>>>> parent of e19d1f7 (no message)
- this.rules.titleChange = this.rules.titleChange.slice(0, 1);
- if (this.form.titleChange.trim() !== '') {
- // console.log('内容不为空');
- return true;
- } else {
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- this.$nextTick(() => {
- div.scrollTop = 0;
- });
- return false;
- }
- // return;
- } else if (isDiagFlag && this.showType == 1) {
- // 若医学术语为诊断,且内容类型选择了临床路径,此时“临床路径标题”是必填项
- <<<<<<< HEAD
- this.$refs.groups.clearValidate();
- =======
- this.$refs.groups && this.$refs.groups.clearValidate();
- >>>>>>> parent of e19d1f7 (no message)
- this.rules.titleChange.push({
- required: true,
- message: '请输入临床路径标题',
- trigger: 'change'
- });
- <<<<<<< HEAD
- this.$refs.groups.validateField('titleChange');
- this.$refs.groups.validateField('selectedTerm');
- =======
- this.$refs.groups && this.$refs.groups.validateField('titleChange');
- this.$refs.groups && this.$refs.groups.validateField('selectedTerm');
- >>>>>>> parent of e19d1f7 (no message)
- this.rules.titleChange = this.rules.titleChange.slice(0, 1);
- if (this.form.titleChange.trim() !== '') {
- // console.log('内容不为空');
- return true;
- } else {
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- this.$nextTick(() => {
- div.scrollTop = 0;
- });
- return false;
- }
- }
- },
- <<<<<<< HEAD
- submitForm() {
- if (this.isSuccessUpload === 1) {
- this.warning('文件上传中,请稍等');
- return;
- }
- let flagVal = this.formVal(); // 额外的表单校验
- if (flagVal === false) return;
- //验证外层表单
- let goOn = true,
- it = null;
- let outIsVia = true; // 外层验证是否通过
- this.$refs.groups.validate(valid => {
- if (!valid) {
- goOn = false;
- outIsVia = false;
- return false;
- }
- });
- //验证段落表单
- let viewHeight = 0; // 定位到表单校验的高度
- let viewHeightArr = []; // 表单校验出错高度的所有数组
- if (this.form.typeId !== 82 && this.form.typeId !== 83) {
- for (let i = 0; i < this.$refs.subForm.length; i++) {
- it = this.$refs.subForm[i];
- viewHeight += it.$el.offsetHeight;
- it.$refs.form.validate(valid => {
- if (!valid) {
- goOn = false;
- viewHeightArr.push(viewHeight);
- }
- });
- }
- }
- // console.log(viewHeightArr,'viewHeightArr');
- if (!goOn) {
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- if (outIsVia) {
- // 外层校验通过,跳转至下层校验具体位置
- this.$nextTick(() => {
- div.scrollTop = +viewHeightArr[0] - 150;
- });
- } else {
- // 外层校验没通过,页面滚动到顶部
- this.$nextTick(() => {
- div.scrollTop = 0;
- });
- }
- return;
- }
- //通过必填验证,提交保存
- const item = this.form.prags;
- let param = [];
- =======
- async submitForm() {
- let all = [];
- let goOn = true,
- it = null;
- let assessRule = false;
- let viewHeight = 0; // 定位到表单校验的高度
- let viewHeightArr = []; // 表单校验出错高度的所有数组
- let outIsVia = true; // 外层验证是否通过
- let fvalidate1 = new Promise((resolve, reject) => {
- //wanglei 添加promise
- this.$refs.groups1.validate((valid, object) => {
- if (valid) {
- resolve(true);
- } else {
- reject('top', object);
- return false;
- }
- });
- });
- all.push(fvalidate1);
- if (this.staticTabShow) {
- if (this.isSuccessUpload === 1) {
- this.warning('文件上传中,请稍等');
- return;
- }
- let flagVal = this.formVal(); // 额外的表单校验
- if (flagVal === false) return;
- //验证外层表单
- let fvalidate = new Promise((resolve, reject) => {
- //wanglei 添加promise
- this.$refs.groups &&
- this.$refs.groups.validate((valid, object) => {
- if (valid) {
- resolve(true);
- } else {
- reject('f', object);
- return false;
- }
- });
- });
- // end....
- //验证段落表单
- // return;
- all.push(fvalidate);
- if (this.form.typeId !== 82 && this.form.typeId !== 83) {
- for (let i = 0; i < this.$refs.subForm.length; i++) {
- all.push(
- new Promise((resolve, reject) => {
- it = this.$refs.subForm[i];
- // viewHeight += it.$el.getBoundingClientRect().top;
- it.$refs.form.validate((valid, object) => {
- if (!valid) {
- reject('f', object);
- goOn = false;
- viewHeightArr.push(it.$el);
- } else {
- resolve(true);
- }
- });
- })
- );
- }
- }
- }
- // 表单验证
- if (this.$refs.assessRef) {
- all.push(...this.$refs.assessRef.assessCommit());
- }
- // 批量处理Promise返回
- let transferedPromises = promises => {
- // 返回一个处理之后的promise数组
- return promises.map(promise => {
- return promise.then(res => res).catch(err => err);
- });
- };
- let promiseArr = transferedPromises(all);
- await Promise.all(promiseArr).then(resArr => {
- let cErrIndex = resArr.findIndex(item => item.type == 'c');
- let fErrIndex = resArr.findIndex(item => item == 'f');
- let topErrIndex = resArr.findIndex(item => item == 'top');
- if (topErrIndex != -1) {
- outIsVia = false;
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- this.$nextTick(() => {
- div.scrollTop = 0;
- });
- } else if (cErrIndex != -1 && fErrIndex != -1) {
- if (this.staticTabShow) {
- goOn = false;
- }
- this.tabActive = 'one';
- this.$message({
- showClose: true,
- message: `"静态信息"和"评估内容"标签内有未填写项目,请填写完整或者删除该标签!`,
- type: 'warning'
- });
- } else if (cErrIndex != -1 && fErrIndex == -1) {
- this.tabActive = 'two';
- this.$message({
- showClose: true,
- message: `"评估内容"标签内有未填写项目,请填写完整或者删除该标签!`,
- type: 'warning'
- });
- let cErrArr = resArr.filter(item => item.type == 'c');
- if (cErrArr) {
- cErrArr = Object.keys(cErrArr[0].object);
- }
- this.$nextTick(() => {
- setTimeout(() => {
- let domTop = this.$refs.assessRef.getDom(cErrArr[0]);
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- if (domTop >= 0) {
- div.scrollTop += domTop - 120;
- } else {
- div.scrollTop -= Math.abs(domTop) + 120;
- }
- }, 100);
- });
- } else if (cErrIndex == -1 && fErrIndex != -1) {
- this.tabActive = 'one';
- this.$message({
- showClose: true,
- message: `"静态信息"标签内有未填写项目,请填写完整或者删除该标签!`,
- type: 'warning'
- });
- } else {
- assessRule = true;
- }
- });
- if (this.staticTabShow && !goOn) {
- setTimeout(() => {
- var div = this.$refs['elscrollbar'].$refs['wrap'];
- if (outIsVia) {
- // 外层校验通过,跳转至下层校验具体位置
- let sTop = viewHeightArr[0].getBoundingClientRect().top;
- this.$nextTick(() => {
- if (sTop >= 0) {
- div.scrollTop += sTop - 120;
- } else {
- div.scrollTop -= Math.abs(sTop) + 120;
- }
- });
- } else {
- // 外层校验没通过,页面滚动到顶部
- this.$nextTick(() => {
- div.scrollTop = 0;
- });
- }
- }, 200);
- return;
- }
- if (!assessRule) return;
- //通过必填验证,提交保存
- let param = [];
- // const item = this.form.prags;
- >>>>>>> parent of e19d1f7 (no message)
- if (this.form.typeId === 82 || this.form.typeId === 83) {
- if (this.form.fileList.length === 0) {
- this.warning('文件未上传,不存储数据');
- return;
- }
- param.push(
- Object.assign(
- {},
- {
- position: this.form.typeId === 82 ? '8' : '9',
- conceptId: this.form.conceptId,
- title: this.form.fileTitle,
- orderNo: 0,
- content: JSON.stringify(this.form.fileList[0])
- }
- )
- );
- } else {
- <<<<<<< HEAD
- =======
- // if (this.staticTabShow) {
- // }
- >>>>>>> parent of e19d1f7 (no message)
- let data = this.form.prags,
- tempArr = [],
- paramsAll = {},
- types = this.form.typeId;
- for (let i = 0; i < data.length; i++) {
- let obj = {};
- obj.content = data[i].content;
- obj.text = data[i].text;
- obj.conceptId = data[i].conceptId;
- obj.orderNo = i;
- obj.title = data[i].title;
- obj.contentType = data[i].position.join(',');
- tempArr.push(obj);
- }
- paramsAll.clinicalPathwayName = types == 1 ? this.form.titleChange : '';
- paramsAll.id = this.conceptId;
- paramsAll.name = this.form.name;
- paramsAll.noticeName =
- types == 3 || types == 4 || types == 5 || types == 6
- ? this.form.titleChange
- : '';
- paramsAll.type = this.form.typeId;
- <<<<<<< HEAD
- paramsAll.details = tempArr;
- param = paramsAll;
- }
- // this.showSaveDialog(param,'是否'+(this.isEdit?'修改':'保存')+'该静态知识?');
- =======
- if (this.staticTabShow) {
- paramsAll.details = tempArr;
- } else {
- paramsAll.details = null;
- }
- param = paramsAll;
- if (!param.details) param.details = [];
- param.details.forEach(item => {
- let regExp = new RegExp(config.imgHost, 'g');
- item.content = item.content.replace(regExp, '{imageUrlPrefix}');
- });
- // 评估内容的数据
- param.scale = {};
- console.log(
- 'this.AssesComSHow',
- this.AssesComSHow,
- 'AssesTabSHow',
- this.AssesTabSHow
- );
- if (this.AssesComSHow && this.AssesTabSHow) {
- const assessParam = this.$refs.assessRef.formtParams();
- param.scale = assessParam;
- param.scale.conceptId = this.toAssesTermId;
- const userInfo = localStorage.getItem('userLoginDTO');
- param.scale.modifier = userInfo.linkman;
- }
- }
- // return;
- // this.showSaveDialog(param,'是否'+(this.isEdit?'修改':'保存')+'该静态知识?');
- console.log('param-------');
- console.dir(param);
- // return;
- >>>>>>> parent of e19d1f7 (no message)
- if (!this.isEdit) {
- // 新增页面
- this.saveDisable = true;
- this.sendSaveOrEdit(param);
- return;
- }
- this.showSaveDialog(
- param,
- '<div><p style="color: #333333">确定保存修改内容?</p><p style="color: #D70A25">保存后将覆盖原有数据,且原有数据无法恢复。</p></div>'
- );
- },
- showSaveDialog(param, msg) {
- this.showConfirmDialog(msg, () => {
- this.saveDisable = true; //提交保存按钮不可点击,返回结果时才可点击,防止频繁发送请求
- this.sendSaveOrEdit(param);
- });
- },
- //保存编辑 接口
- sendSaveOrEdit(param) {
- this.isCopy && (param.id = undefined);
- <<<<<<< HEAD
- api.saveBaseOrUpdateRecord(param)
- =======
- param.source = 1; //0:医院端 1:云平台
- api
- .saveBaseOrUpdateRecord(param)
- >>>>>>> parent of e19d1f7 (no message)
- .then(res => {
- if (res.data.code === '0') {
- this.isSuccessUpload = 0; // 修改文件上传状态为0
- this.warning(res.data.msg || '保存成功', 'success');
- this.isSaveSuccess = true; // 保存成功,可正常退出
- //返回带搜索条件的首页
- this.$router.push({
- name: 'StaticInfo',
- params: Object.assign({}, this.$route.params, {
- currentPage: 1
- })
- });
- } else {
- this.warning(res.data.msg);
- }
- this.saveDisable = false;
- })
- .catch(err => {
- if (err.code === '900010001') {
- return false;
- }
- this.saveDisable = false;
- this.warning(err);
- });
- },
- // 弹出窗
- showConfirmDialog(msg, resolve) {
- this.$alert(msg, '提示', {
- confirmButtonText: '确定',
- // cancelButtonText: '取消',
- // cancelButtonClass: 'cancel',
- // confirmButtonClass: 'confirmBtn',
- dangerouslyUseHTMLString: true,
- type: 'warning'
- })
- .then(() => {
- resolve();
- })
- .catch(() => {});
- },
- warning(msg, type) {
- this.$message({
- showClose: true,
- message: msg,
- <<<<<<< HEAD
- type: type || 'warning'
- =======
- type: type || 'warning',
- duration:1000
- >>>>>>> parent of e19d1f7 (no message)
- });
- },
- handleChange(file, fileList) {
- // if(fileList&&fileList[0]&&fileList[0].response&&fileList[0].response.code==='0'){
- // this.showUpLoad = false
- // this.showFileList = true
- // }else{
- // this.showUpLoad = true
- // this.showFileList = false
- // }
- // console.log(fileList,this.form.fileList,'aa')
- },
- handleSuccess(response, file, fileList) {
- if (response.code == '0') {
- this.showFileList = true;
- this.form.fileList = [];
- this.form.fileList.push({
- name: response.data.title,
- url: response.data.url,
- size: response.data.size
- });
- this.showUpLoad = false;
- if (!this.form.fileTitle) {
- this.form.fileTitle = response.data.title;
- }
- this.isSuccessUpload = 2; // 上传成功状态
- this.$refs.upload && this.$refs.upload.clearValidate(); // 清除校验
- } else {
- this.warning(response.msg || '上传失败');
- // this.form.fileList = []
- this.showUpLoad = true;
- this.showFileList = false;
- this.form.fileList = [];
- }
- },
- handleRemove(file, fileList) {
- this.showUpLoad = true;
- this.form.fileList = [];
- this.isSuccessUpload = 0;
- },
- handleBeforeUpLoad(file) {
- // 上传过程中 上传按钮 隐藏
- this.isSuccessUpload = 1; // 上传过程中
- this.showFileList = true; // 新增 进度条 显示
- this.$refs.upload && this.$refs.upload.clearValidate(); // 清除校验
- this.showUpLoad = false;
- if (file.size / 1024 / 1024 >= 500) {
- this.warning('文件上传失败,超出大小限制500MB');
- this.form.fileList = [];
- this.showConfirm = false;
- return false;
- } else {
- this.showConfirm = true;
- }
- },
- handlePreview(file) {},
- beforeRemove(file, fileList) {
- if (this.showConfirm) {
- return this.$alert(`确定移除 ${file.name}?`, '', {
- cancelButtonClass: 'cacelBtn'
- });
- }
- }
- }
- };
- </script>
- <style lang="less" scoped>
- @import '../../less/common.less';
- .cell .el-button.delete:focus {
- color: red !important;
- }
- .topBack {
- top: 0;
- }
- .info-container {
- <<<<<<< HEAD
- background: #fff;
- padding: 20px;
- margin: 70px 20px -20px 20px;
- =======
- // background: #fff;
- // padding: 20px 0;
- margin: 60px 20px -20px 20px;
- min-width: 960px;
- >>>>>>> parent of e19d1f7 (no message)
- .el-input__inner {
- width: 200px;
- }
- .el-form-item__label {
- text-align: left;
- }
- .add-prg .el-form-item {
- margin-bottom: 20px;
- }
- <<<<<<< HEAD
- .el-form-item {
- margin-bottom: 8px !important;
- }
- =======
- // .el-form-item {
- // margin-bottom: 8px !important;
- // }
- >>>>>>> parent of e19d1f7 (no message)
- }
- // .cancel span {
- // color: #22ccc8;
- // }
- .line {
- <<<<<<< HEAD
- border-top: 1px #dcdfe6 solid;
- margin-bottom: 25px;
- margin-top: 25px;
- =======
- // border-top: 1px #dcdfe6 solid;
- background: #dcdfe6;
- height: 12px;
- >>>>>>> parent of e19d1f7 (no message)
- }
- .NoiseTemplateWrapper .info-container .el-input__inner {
- width: 250px;
- }
- // .NoiseTemplateWrapper .el-select .el-input .el-icon-circle-close{
- // display: inherit!important;
- // }
- .cacelBtn {
- color: #22ccc8 !important;
- }
- .upload-demo {
- width: 300px;
- /deep/.el-upload-list__item .el-icon-close-tip {
- display: none !important;
- }
- /deep/.el-upload-list__item .el-upload-list__item-name {
- max-width: 250px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /deep/ .focusing {
- // border: 1px solid transparent !important;
- outline: transparent !important;
- }
- }
- .uploadInfo {
- margin-top: -20px;
- color: #606266;
- }
- .tipInfo {
- position: absolute;
- // position: relative;
- line-height: 24px;
- top: -56px;
- left: 20px;
- // background-color: transparent;
- // color: #606266;
- padding: 3px 10px;
- border-radius: 4px;
- margin: 100px auto;
- background-color: #4d4d4d;
- text-align: center;
- color: #fff;
- font-size: 14px;
- }
- .tipInfo:before {
- content: '';
- display: block;
- position: absolute;
- // bottom: 9px;
- top: -10px;
- left: 18px;
- border-bottom: 6px solid #4d4d4d;
- border-top: 6px solid transparent;
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- // border-right: 6px solid #4D4D4D;
- }
- .btn {
- text-align: right;
- <<<<<<< HEAD
- padding-right: 20px;
- =======
- margin: 10px 20px;
- padding: 30px;
- background: #fff;
- >>>>>>> parent of e19d1f7 (no message)
- }
- .el-message-box {
- /deep/ .el-icon-warning {
- background-color: transparent !important;
- // display: none;
- }
- /deep/ .el-message-box__message {
- margin: 24px 0px;
- }
- // /deep/ .confirmBtn {
- // // position: relative;
- // // right: 240px !important;
- // // top: 0px;
- // background-color: #fff !important;
- // span {
- // color: #48c5d7 !important;
- // }
- // }
- /deep/ .cancel {
- background-color: #d7d7d7;
- border-color: transparent !important;
- span {
- color: #fff;
- }
- }
- }
- <<<<<<< HEAD
- =======
- /deep/ .el-tabs__header {
- padding: 0 10px !important;
- }
- .container_top {
- display: flex;
- padding: 20px 30px;
- }
- .tabs_box {
- display: flex;
- align-items: center;
- }
- .tabs {
- display: flex;
- margin: 0px 30px;
- font-size: 14px;
- height: 31px;
- .tabs_pane {
- position: relative;
- width: 92px;
- height: 32px;
- border-radius: 6px 6px 0px 0px;
- border: 1px solid #00c7da;
- text-align: center;
- line-height: 32px;
- margin-right: 32px;
- box-sizing: border-box;
- color: #00c7da;
- cursor: pointer;
- img {
- position: absolute;
- right: -18px;
- bottom: 0;
- width: 18px;
- height: 18px;
- }
- }
- }
- .tab_box_left {
- padding: 30px;
- }
- /deep/ .el-form-item.is-success .el-input__inner,
- .el-form-item.is-success .el-textarea__inner {
- border-color: #c9c9c9 !important;
- }
- /deep/ .el-form-item.is-success .el-textarea__inner {
- border-color: #c9c9c9 !important;
- }
- /deep/ .el-form-item.is-success .el-textarea__inner {
- border-color: #c9c9c9 !important;
- }
- >>>>>>> parent of e19d1f7 (no message)
- </style>
|