123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722 |
- <template>
-
- <div class="prescriptionTable">
- <el-table v-if="prescription.advices && prescription.advices.length > 0" :data="prescription.advices" border
- style="width: 99%;" :row-style="{ color: '#303133' }"
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
- <el-table-column align="center" width="50" label="序号">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.groupno" placeholder=""></el-input>
- </div>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="drug_name" label="名称" width="297" v-if="$store.getters.xt_user.org_id != 10206 && $store.getters.xt_user.org_id != 0 " >
- <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}</span>
- </template>
- </el-table-column>
-
- <el-table-column align="center" prop="drug_name" label="名称" width="297" v-if="$store.getters.xt_user.org_id == 10206 || $store.getters.xt_user.org_id == 0">
- <template slot-scope="scope"><span :title="scope.row.drug_name">{{ scope.row.drug_name }}{{scope.row.drug.number}}</span>
- </template>
- </el-table-column>
-
- <el-table-column align="center" prop="single_dose" width="150" label="单次用量">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.single_dose" @input="getAllChange(scope)"
- style="width:50%;"></el-input>
- {{scope.row.single_dose_unit}}
- <el-select v-model="scope.row.single_dose_unit" placeholder="请选择" style="width:50%;"
- @change="getAllChange(scope)">
- <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
- <el-option :label="scope.row.drug.dose_unit"
- v-if="scope.row.drug.dose_unit != scope.row.drug.min_unit"
- :value="scope.row.drug.dose_unit"></el-option>
- </el-select>
- </div>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="delivery_way" width="110" label="用法">
- <template slot-scope="scope">
- <el-select v-model="scope.row.delivery_way" placeholder="请选择">
- <el-option
- v-for="(item,index) in drugways"
- :key="index"
- :label="item.name"
- :value="item.name">
- </el-option>
- </el-select>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="execution_frequency" width="110" label="频率">
- <template slot-scope="scope">
- <el-select v-model="scope.row.execution_frequency" placehold er="请选择" @change="getAllChange(scope)">
- <el-option
- v-for="item,index in efs"
- :key="index"
- :label="item.name"
- :value="item.name">
- </el-option>
- </el-select>
- </template>
- </el-table-column>
-
-
- <el-table-column align="center" prop="day" width="90" label="天数">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.day" @input="getAllChange(scope)" placeholder=""></el-input>
- {{'天'}}
- </div>
- </template>
- </el-table-column>
-
- <el-table-column align="center" prop="prescribing_number" width="120" label="总量">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.prescribing_number" style="width:50%"
- @input="changePrescribingNumber(scope)" placeholder=""></el-input>
- {{scope.row.prescribing_number_unit}}
- <el-select v-model="scope.row.prescribing_number_unit" placeholder="请选择" style="width:50%;"
- @change="getAllChange(scope)">
- <el-option :label="scope.row.drug.min_unit" :value="scope.row.drug.min_unit"></el-option>
- <el-option :label="scope.row.drug.max_unit"
- v-if="scope.row.drug.min_unit != scope.row.drug.max_unit"
- :value="scope.row.drug.max_unit"></el-option>
- </el-select>
- </div>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="retail_price" width="100" label="单价">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
- <div>{{'元'}}</div>
- </div>
-
- </template>
- </el-table-column>
- <el-table-column align="center" prop="remark" width="100" label="备注">
- <template slot-scope="scope">
- <el-input v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
- </template>
- </el-table-column>
-
- <el-table-column align="center" prop="remark" width="80" label="推送频率">
- <template slot-scope="scope">
- <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
- <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>
- <div v-if="scope.row.frequency_type == 3">{{scope.row.week_day}}</div>
-
- </template>
- </el-table-column>
-
-
- <el-table-column align="center" width="140" prop="name" label="操作">
- <template slot-scope="scope">
-
- <el-button size="mini" type="primary" @click="handleEdit(scope.row,scope.$index)">推送</el-button>
- <el-button size="mini" type="danger" @click="deleteDrug(scope.row,scope.$index)">删除</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <el-table v-if="prescription.project &&prescription.project.length > 0" :data="prescription.project" border
- style="width: 99%;" :row-style="{ color: '#303133' }"
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
- <el-table-column align="center" width="40" label="序号">
- <template slot-scope="scope">
- {{scope.$index+1}}
- </template>
- </el-table-column>
- <el-table-column align="center" prop="project_name" label="名称" v-if="$store.getters.xt_user.org_id != 10206 && $store.getters.xt_user.org_id != 0">
- <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}</span>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="project_name" label="名称" v-if="$store.getters.xt_user.org_id == 10206 || $store.getters.xt_user.org_id == 0">
- <template slot-scope="scope"><span :title="scope.row.project_name">{{ scope.row.project_name }}{{scope.row.number}}</span>
- </template>
- </el-table-column>
-
- <el-table-column align="center" prop="statistical_classification" width="100" label="组">
- <template slot-scope="scope">{{scope.row.type ==
- 2?getGroup(scope.row.statistical_classification):'耗材'}}
- </template>
- </el-table-column>
- <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)"
- placeholder=""></el-input>
- <div>{{scope.row.unit}}</div>
- <div v-if="scope.row.unit == ''">{{scope.row.good_info.default_count_unit}}</div>
- </div>
-
- </template>
- </el-table-column>
- <el-table-column align="center" prop="delivery_way" width="80" label="用法">
- <template slot-scope="scope">
- <el-autocomplete
- style="width:100%;"
- class="inline-input"
- v-model="scope.row.delivery_way"
- :fetch-suggestions="querySearch2"
- placeholder="请输入内容"
- ></el-autocomplete>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="execution_frequency" width="80" label="频率">
- <template slot-scope="scope">
- <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="number_days" width="70" label="天数">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.number_days" @input="getProjectDay(scope)"
- placeholder=""></el-input>
- <div>{{'天'}}</div>
- </div>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="total" width="70" label="总量">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.total" style="width:60%" placeholder=""></el-input>
- <div>{{scope.row.unit}}</div>
- <div v-if="scope.row.unit == ''">{{scope.row.good_info.default_count_unit}}</div>
- </div>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="name" width="70" label="单价">
- <template slot-scope="scope">
- <div style="display:flex;align-items:center;">
- <el-input v-model="scope.row.price" placeholder="" readonly></el-input>
- <div>{{'元'}}</div>
- </div>
-
- </template>
- </el-table-column>
- <el-table-column align="center" prop="name" width="50" label="备注">
- <template slot-scope="scope">
- <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
- </template>
- </el-table-column>
- <el-table-column align="center" prop="remark" width="70" label="推送频率">
- <template slot-scope="scope">
- <div v-if="scope.row.frequency_type == 1">{{'每次必推'}}</div>
- <div v-if="scope.row.frequency_type == 2">{{scope.row.day_count}}天/次</div>
- <div v-if="scope.row.frequency_type == 3">{{scope.row.week_day}}</div>
-
- </template>
- </el-table-column>
- <el-table-column align="center" width="140" prop="name" label="操作">
- <template slot-scope="scope">
- <el-button size="mini" type="primary" @click="handleEdit(scope.row,scope.$index)">推送</el-button>
- <el-button size="mini" type="danger" @click="deleteProject(scope.row,scope.$index)">删除
- </el-button>
-
-
-
- </template>
- </el-table-column>
- </el-table>
-
- <div class="additionalBox">
- <div class="additionalOne" v-for="(item,index) in prescription.addition" :key="index">
- <span :title="item.item_name">{{item.item_name}}</span>
- <el-input v-model="item.price" placeholder="" style="width:50px;"></el-input>
- 共
- <el-input v-model="item.count" placeholder="" style="width:50px;"></el-input>
- 次
- <i class="el-icon-delete deleteIcon" @click="delAddition(index,item)"></i>
- </div>
- </div>
-
-
- <div>
- <el-dialog title="推送频率设置" :visible.sync="templateFormVisible" width="854px">
- <el-form
- ref="templateForm"
- label-width="90px"
- >
- <el-row>
- <el-col :span="24" >
- <el-form-item label="周期提醒 :">
- <el-radio-group v-model="frequency_type">
- <el-radio :label="1">每次必推</el-radio>
- <el-radio :label="2">天数频率</el-radio>
- <el-radio :label="3">星期频率</el-radio>
- </el-radio-group>
- </el-form-item>
- </el-col>
-
-
- <el-col :span="12" v-if="frequency_type == 2">
- <el-form-item prop="day_count">
- <el-input style="width: 50px" v-model="day_count"></el-input>
- 天/一次
- </el-form-item>
- </el-col>
-
- <el-col :span="24" v-if="frequency_type == 3">
- <el-form-item prop="weekday">
- <el-checkbox-group v-model="week_days">
- <el-checkbox label="周一" name="周一" key="1">周一</el-checkbox>
- <el-checkbox label="周二" name="周二" key="2">周二</el-checkbox>
- <el-checkbox label="周三" name="周三" key="3">周三</el-checkbox>
- <el-checkbox label="周四" name="周四" key="4">周四</el-checkbox>
- <el-checkbox label="周五" name="周五" key="5">周五</el-checkbox>
- <el-checkbox label="周六" name="周六" key="6">周六</el-checkbox>
- <el-checkbox label="周日" name="周日" key="7">周日</el-checkbox>
- </el-checkbox-group>
- </el-form-item>
- </el-col>
-
- </el-row>
- </el-form>
- <div slot="footer" class="dialog-footer">
- <el-button @click="templateFormVisible = false">取消</el-button>
- <el-button type="primary" @click="submitTemplate()">保 存</el-button>
- </div>
- </el-dialog>
- </div>
-
-
- </div>
- </template>
-
- <script>
- import { getDictionaryDataConfig } from '@/utils/data'
- import { delHisAddition, delHisAdvice, delHisProject, getInitData } from '@/api/his/his'
- import { delHisPrescriptionAdviceTemplate, delHisPrescriptionProjectTemplate } from '@/api/his/his_config'
-
- export default {
- props: {
- preDrugs: Array,
- activeType: Number,
- addtions_charge: Array,
- prescription: {
- type: Object,
- default: function() {
- return {
- name: '',
- advices: [],
- project: [],
- drugways: [],
- efs: []
- }
- }
- }
- },
- data() {
- return {
- week_days: [],
-
- current_row: null,
- current_index: 0,
- templateFormVisible: false,
- frequency_type: 1,
- day_count: 0,
- advices: [],
- tableData: [],
- newoptions: [{
- value: '1',
- label: '1'
- }, {
- value: '2',
- label: '2'
- }, {
- value: '3',
- label: '3'
- }, {
- value: '4',
- label: '4'
- }, {
- value: '5',
- label: '5'
- }],
- value: '1',
- input: 1
- }
- },
-
- methods: {
- submitTemplate() {
- console.log(this.current_index)
-
- console.log( this.prescription.project[this.current_index])
- if (this.prescription.advices && this.prescription.advices.length > 0 && this.prescription.project && this.prescription.project.length == 0) {
- this.prescription.advices[this.current_index].frequency_type = this.frequency_type
- this.prescription.advices[this.current_index].day_count = this.day_count
- this.prescription.advices[this.current_index].week_day = this.week_days.join(",")
-
- }
-
- if (this.prescription.advices && this.prescription.advices.length == 0 && this.prescription.project && this.prescription.project.length > 0) {
- this.prescription.project[this.current_index].frequency_type = this.frequency_type
- this.prescription.project[this.current_index].day_count = this.day_count
- this.prescription.project[this.current_index].week_day =this.week_days.join(",")
- }
- this.templateFormVisible = false
- },
- handleEdit(row, index) {
- this.current_row = row
- this.current_index = index
- this.frequency_type = this.current_row.frequency_type
- this.day_count = this.current_row.day_count
- this.week_days = this.current_row.week_day.split(",")
- this.templateFormVisible = true
-
-
- },
- lili(data){
- console.log("data",this.prescription)
-
- },
- createFilter(queryString) {
- return (restaurant) => {
- return (restaurant.name.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
- }
- },
- querySearch2(queryString, cb) {
- var restaurants = this.getDictionaryDataConfig('system', 'project_use')
- restaurants.map(item => {
- item.value = item.name
- })
- var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants
-
- cb(results)
- },
- delAddition(index, addition) {
- this.$confirm('附加费删除后不可恢复,是否确认删除', '删除', {
- confirmButtonText: '确 定',
- cancelButtonText: '取 消',
- type: 'warning'
- }).then(() => {
- this.$nextTick(function() {
- if (addition.id == 0) {
- this.prescription.addition.splice(index, 1)
- } else {
- let params = {
- 'id': addition.id
- }
- delHisAddition(params).then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- var temp2 = this.deepClone(this.prescription.addition)
- temp2.splice(index, 1)
- this.prescription.addition = temp2
- this.$message.success(response.data.data.msg)
- }
- })
- }
- })
-
- })
- .catch(() => {
- })
-
- },
- getInitData() {
- getInitData().then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- this.drugways = response.data.data.drugways
- this.efs = response.data.data.efs
- }
- })
-
- },
- deleteDrug: function(row, index) {
-
- this.$confirm('药品删除后不可恢复,是否确认删除', '删除', {
- confirmButtonText: '确 定',
- cancelButtonText: '取 消',
- type: 'warning'
- }).then(() => {
- this.$nextTick(function() {
- if (row.advice_id == 0) {
- this.prescription.advices.splice(index, 1)
- } else {
- let params = {
- 'id': row.advice_id
- }
- console.log(row)
-
- console.log(params)
- delHisPrescriptionAdviceTemplate(params).then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- var temp2 = this.deepClone(this.prescription.advices)
- temp2.splice(index, 1)
- this.prescription.advices = temp2
- this.$message.success(response.data.data.msg)
- }
- })
-
- }
-
- })
-
- })
- .catch(() => {
- })
-
- }, deepClone(source) {
- if (!source && typeof source !== 'object') {
- throw new Error('error arguments', 'shallowClone')
- }
- const targetObj = source.constructor === Array ? [] : {}
- Object.keys(source).forEach((keys) => {
- if (source[keys] && typeof source[keys] === 'object') {
- targetObj[keys] = this.deepClone(source[keys])
- } else {
- targetObj[keys] = source[keys]
- }
- })
- return targetObj
- },
-
- setNewData: function(data) {
- this.prescription = data
-
-
- },
- getDictionaryDataConfig(module, filed_name) {
- return getDictionaryDataConfig(module, filed_name)
- },
- getGroup(id) {
- var name = ''
- var statistics_category = getDictionaryDataConfig('system', 'statistics_category')
- console.log('2235', statistics_category)
- for (let i = 0; i < statistics_category.length; i++) {
- if (id == statistics_category[i].id) {
- name = statistics_category[i].name
- }
- }
- return name
- },
- deleteProject(row, i) {
- if (this.prescription.order_status == 2) {
- this.$message.error('该处方已经结算,无法删除')
- return
- }
- this.$confirm('项目删除后不可恢复,是否确认删除', '删除', {
- confirmButtonText: '确 定',
- cancelButtonText: '取 消',
- type: 'warning'
- }).then(() => {
- if (row.id == 0) {
- this.prescription.project.splice(i, 1)
-
- } else {
- let params = {
- 'id': row.id
- }
- delHisPrescriptionProjectTemplate(params).then(response => {
- if (response.data.state == 0) {
- this.$message.error(response.data.msg)
- return false
- } else {
- for (let i = 0; i < this.prescription.project.length; i++) {
- if (this.prescription.project[i].id == row.id) {
- this.prescription.project.splice(i, 1)
- }
- }
- this.$message.success(response.data.data.msg)
- }
- })
- }
- })
- .catch(() => {
- })
-
- },
- getAllChange(scope) {
- if (scope.row.drug.min_unit == scope.row.single_dose_unit) {
- if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
- console.log(1)
- scope.row.prescribing_number = scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day
- } else {
- console.log(12)
- scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency)) * scope.row.day / scope.row.drug.min_number)
- }
- } else {
- if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
- console.log(123)
- scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose)
- } else {
- console.log(1234)
- scope.row.prescribing_number = Math.ceil((scope.row.single_dose * this.getNum(scope.row.execution_frequency) * scope.row.day) / scope.row.drug.dose / scope.row.drug.min_number)
- }
- }
- if (scope.row.prescribing_number == 0) {
- scope.row.prescribing_number = 1
- }
-
-
-
-
-
-
-
-
-
-
-
-
- },
- changePrescribingNumber(scope) {
-
-
-
-
-
-
-
-
-
- }, getAllChange(scope) {
- if (scope.row.drug.min_unit == scope.row.single_dose_unit) {
- if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
- console.log(1)
- scope.row.prescribing_number = scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)
- } else {
- console.log(12)
- scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1)) * (scope.row.day ? scope.row.day : 1) / scope.row.drug.min_number)
- }
- } else {
- if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
- console.log(123)
- scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose)
- } else {
- console.log(1234)
- scope.row.prescribing_number = Math.ceil((scope.row.single_dose * (scope.row.execution_frequency ? this.getNum(scope.row.execution_frequency) : 1) * (scope.row.day ? scope.row.day : 1)) / scope.row.drug.dose / scope.row.drug.min_number)
- }
- }
- if (scope.row.prescribing_number == 0) {
- scope.row.prescribing_number = 1
- }
- if (scope.row.prescribing_number_unit == scope.row.drug.min_unit) {
-
- if (scope.row.prescribing_number > scope.row.drug.total) {
- if(this.$store.getters.xt_user.org_id != 10206) {
- this.$message.error(scope.row.drug_name + '库存不足')
- }
- }
- } else {
- if ((parseInt(scope.row.prescribing_number) * scope.row.drug.min_number) > scope.row.drug.total) {
- if(this.$store.getters.xt_user.org_id != 10206) {
- this.$message.error(scope.row.drug_name + '库存不足')
- }
- }
-
- }
-
- },
-
- getSingleDose(scope) {
- this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
- },
- getDay(scope) {
- this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
- },
- getProjectSingleDose(scope) {
- this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
- if (this.prescription.project[scope.$index].total == 0) {
- this.prescription.project[scope.$index].total = 1
- }
- },
- getProjectDay(scope) {
- this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
- if (this.prescription.project[scope.$index].total == 0) {
- this.prescription.project[scope.$index].total = 1
- }
- }
- }, mounted() {
- this.getInitData()
-
- },
- watch: {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
-
- }
- </script>
-
- <style lang="scss">
- .prescriptionTable {
-
- .el-input__inner {
- padding: 0 5px;
- }
-
- .additionalBox {
- margin-top: 20px;
- display: flex;
- flex-wrap: wrap;
-
- .additionalOne {
- margin-right: 20px;
- margin-bottom: 10px;
- display: flex;
- align-items: center;
-
- > span {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 80px;
- display: inline-block;
- font-size: 14px;
- }
-
- }
- .deleteIcon {
- color: red;
- margin-left: 5px;
- }
-
- }
- .el-table th .cell, .el-table td .cell {
- padding: 0 2px;
- white-space: pre-line;
- }
-
- .el-icon-delete {
- color: red;
- }
-
- }
- </style>
|