9 changed files with 589 additions and 24 deletions
			
			
		| @ -0,0 +1,198 @@ | |||
| { | |||
|   root: 'E:\\web\\xiangan_pc', | |||
|   registry: 'https://registry.npmmirror.com', | |||
|   pkgs: [ | |||
|     { | |||
|       name: '', | |||
|       version: 'E:\\web\\xiangan_pc\\vue-keyboard\\lib\\keyboard-map', | |||
|       type: 'directory', | |||
|       alias: undefined, | |||
|       arg: [Result] | |||
|     } | |||
|   ], | |||
|   production: false, | |||
|   cacheStrict: false, | |||
|   cacheDir: null, | |||
|   env: { | |||
|     npm_config_registry: 'https://registry.npmmirror.com', | |||
|     npm_config_argv: '{"remain":[],"cooked":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\Bian\\\\.cnpmrc","--disturl=https://npmmirror.com/mirrors/node","--registry=https://registry.npmmirror.com","--save","vue-keyboard/lib/keyboard-map"],"original":["--fix-bug-versions","--china","--userconfig=C:\\\\Users\\\\Bian\\\\.cnpmrc","--disturl=https://npmmirror.com/mirrors/node","--registry=https://registry.npmmirror.com","--save","vue-keyboard/lib/keyboard-map"]}', | |||
|     npm_config_user_agent: 'npminstall/7.5.2 npm/? node/v16.18.0 win32 x64', | |||
|     NODE: 'D:\\node.exe', | |||
|     npm_node_execpath: 'D:\\node.exe', | |||
|     npm_execpath: 'C:\\Users\\Bian\\AppData\\Roaming\\npm\\node_modules\\cnpm\\node_modules\\npminstall\\bin\\install.js', | |||
|     npm_config_userconfig: 'C:\\Users\\Bian\\.cnpmrc', | |||
|     npm_config_disturl: 'https://npmmirror.com/mirrors/node', | |||
|     npm_config_r: 'https://registry.npmmirror.com', | |||
|     COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com', | |||
|     NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', | |||
|     NVM_NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', | |||
|     PHANTOMJS_CDNURL: 'https://cdn.npmmirror.com/binaries/phantomjs', | |||
|     CHROMEDRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/chromedriver', | |||
|     OPERADRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/operadriver', | |||
|     CYPRESS_DOWNLOAD_PATH_TEMPLATE: 'https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip', | |||
|     ELECTRON_MIRROR: 'https://cdn.npmmirror.com/binaries/electron/', | |||
|     ELECTRON_BUILDER_BINARIES_MIRROR: 'https://cdn.npmmirror.com/binaries/electron-builder-binaries/', | |||
|     SASS_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-sass', | |||
|     SWC_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-swc', | |||
|     NWJS_URLBASE: 'https://cdn.npmmirror.com/binaries/nwjs/v', | |||
|     PUPPETEER_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', | |||
|     PUPPETEER_DOWNLOAD_BASE_URL: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', | |||
|     PLAYWRIGHT_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/playwright', | |||
|     SENTRYCLI_CDNURL: 'https://cdn.npmmirror.com/binaries/sentry-cli', | |||
|     SAUCECTL_INSTALL_BINARY_MIRROR: 'https://cdn.npmmirror.com/binaries/saucectl', | |||
|     RE2_DOWNLOAD_MIRROR: 'https://cdn.npmmirror.com/binaries/node-re2', | |||
|     RE2_DOWNLOAD_SKIP_PATH: 'true', | |||
|     npm_config_better_sqlite3_binary_host: 'https://cdn.npmmirror.com/binaries/better-sqlite3', | |||
|     npm_config_keytar_binary_host: 'https://cdn.npmmirror.com/binaries/keytar', | |||
|     npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', | |||
|     npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', | |||
|     npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs', | |||
|     npm_rootpath: 'E:\\web\\xiangan_pc', | |||
|     INIT_CWD: 'E:\\web\\xiangan_pc', | |||
|     npm_config_cache: 'C:\\Users\\Bian\\.npminstall_tarball' | |||
|   }, | |||
|   binaryMirrors: { | |||
|     ENVS: { | |||
|       COREPACK_NPM_REGISTRY: 'https://registry.npmmirror.com', | |||
|       NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', | |||
|       NVM_NODEJS_ORG_MIRROR: 'https://cdn.npmmirror.com/binaries/node', | |||
|       PHANTOMJS_CDNURL: 'https://cdn.npmmirror.com/binaries/phantomjs', | |||
|       CHROMEDRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/chromedriver', | |||
|       OPERADRIVER_CDNURL: 'https://cdn.npmmirror.com/binaries/operadriver', | |||
|       CYPRESS_DOWNLOAD_PATH_TEMPLATE: 'https://cdn.npmmirror.com/binaries/cypress/${version}/${platform}-${arch}/cypress.zip', | |||
|       ELECTRON_MIRROR: 'https://cdn.npmmirror.com/binaries/electron/', | |||
|       ELECTRON_BUILDER_BINARIES_MIRROR: 'https://cdn.npmmirror.com/binaries/electron-builder-binaries/', | |||
|       SASS_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-sass', | |||
|       SWC_BINARY_SITE: 'https://cdn.npmmirror.com/binaries/node-swc', | |||
|       NWJS_URLBASE: 'https://cdn.npmmirror.com/binaries/nwjs/v', | |||
|       PUPPETEER_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', | |||
|       PUPPETEER_DOWNLOAD_BASE_URL: 'https://cdn.npmmirror.com/binaries/chrome-for-testing', | |||
|       PLAYWRIGHT_DOWNLOAD_HOST: 'https://cdn.npmmirror.com/binaries/playwright', | |||
|       SENTRYCLI_CDNURL: 'https://cdn.npmmirror.com/binaries/sentry-cli', | |||
|       SAUCECTL_INSTALL_BINARY_MIRROR: 'https://cdn.npmmirror.com/binaries/saucectl', | |||
|       RE2_DOWNLOAD_MIRROR: 'https://cdn.npmmirror.com/binaries/node-re2', | |||
|       RE2_DOWNLOAD_SKIP_PATH: 'true', | |||
|       npm_config_better_sqlite3_binary_host: 'https://cdn.npmmirror.com/binaries/better-sqlite3', | |||
|       npm_config_keytar_binary_host: 'https://cdn.npmmirror.com/binaries/keytar', | |||
|       npm_config_sharp_binary_host: 'https://cdn.npmmirror.com/binaries/sharp', | |||
|       npm_config_sharp_libvips_binary_host: 'https://cdn.npmmirror.com/binaries/sharp-libvips', | |||
|       npm_config_robotjs_binary_host: 'https://cdn.npmmirror.com/binaries/robotjs' | |||
|     }, | |||
|     '@ali/s2': { host: 'https://cdn.npmmirror.com/binaries/looksgood-s2' }, | |||
|     sharp: { replaceHostFiles: [Array], replaceHostMap: [Object] }, | |||
|     '@tensorflow/tfjs-node': { | |||
|       replaceHostFiles: [Array], | |||
|       replaceHostRegExpMap: [Object], | |||
|       replaceHostMap: [Object] | |||
|     }, | |||
|     cypress: { | |||
|       host: 'https://cdn.npmmirror.com/binaries/cypress', | |||
|       newPlatforms: [Object] | |||
|     }, | |||
|     'utf-8-validate': { | |||
|       host: 'https://cdn.npmmirror.com/binaries/utf-8-validate/v{version}' | |||
|     }, | |||
|     xprofiler: { | |||
|       remote_path: './xprofiler/v{version}/', | |||
|       host: 'https://cdn.npmmirror.com/binaries' | |||
|     }, | |||
|     leveldown: { host: 'https://cdn.npmmirror.com/binaries/leveldown/v{version}' }, | |||
|     couchbase: { host: 'https://cdn.npmmirror.com/binaries/couchbase/v{version}' }, | |||
|     gl: { host: 'https://cdn.npmmirror.com/binaries/gl/v{version}' }, | |||
|     sqlite3: { | |||
|       host: 'https://cdn.npmmirror.com/binaries/sqlite3', | |||
|       remote_path: 'v{version}' | |||
|     }, | |||
|     '@journeyapps/sqlcipher': { host: 'https://cdn.npmmirror.com/binaries' }, | |||
|     grpc: { | |||
|       host: 'https://cdn.npmmirror.com/binaries', | |||
|       remote_path: '{name}/v{version}' | |||
|     }, | |||
|     'grpc-tools': { host: 'https://cdn.npmmirror.com/binaries' }, | |||
|     wrtc: { | |||
|       host: 'https://cdn.npmmirror.com/binaries', | |||
|       remote_path: '{name}/v{version}' | |||
|     }, | |||
|     fsevents: { host: 'https://cdn.npmmirror.com/binaries/fsevents' }, | |||
|     nodejieba: { host: 'https://cdn.npmmirror.com/binaries/nodejieba' }, | |||
|     canvas: { host: 'https://cdn.npmmirror.com/binaries/canvas' }, | |||
|     'skia-canvas': { host: 'https://cdn.npmmirror.com/binaries/skia-canvas' }, | |||
|     'flow-bin': { | |||
|       replaceHost: 'https://github.com/facebook/flow/releases/download/v', | |||
|       host: 'https://cdn.npmmirror.com/binaries/flow/v' | |||
|     }, | |||
|     'jpegtran-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/jpegtran-bin' | |||
|     }, | |||
|     'cwebp-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/cwebp-bin' | |||
|     }, | |||
|     'zopflipng-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/zopflipng-bin' | |||
|     }, | |||
|     'optipng-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/optipng-bin' | |||
|     }, | |||
|     mozjpeg: { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/mozjpeg-bin' | |||
|     }, | |||
|     gifsicle: { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/gifsicle-bin' | |||
|     }, | |||
|     'pngquant-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/pngquant-bin', | |||
|       replaceHostMap: [Object] | |||
|     }, | |||
|     'pngcrush-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/pngcrush-bin' | |||
|     }, | |||
|     'jpeg-recompress-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/jpeg-recompress-bin' | |||
|     }, | |||
|     'advpng-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/advpng-bin' | |||
|     }, | |||
|     'pngout-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/pngout-bin' | |||
|     }, | |||
|     'jpegoptim-bin': { | |||
|       replaceHost: [Array], | |||
|       host: 'https://cdn.npmmirror.com/binaries/jpegoptim-bin' | |||
|     }, | |||
|     argon2: { host: 'https://cdn.npmmirror.com/binaries/argon2' }, | |||
|     'ali-zeromq': { host: 'https://cdn.npmmirror.com/binaries/ali-zeromq' }, | |||
|     'ali-usb_ctl': { host: 'https://cdn.npmmirror.com/binaries/ali-usb_ctl' }, | |||
|     'gdal-async': { host: 'https://cdn.npmmirror.com/binaries/node-gdal-async' } | |||
|   }, | |||
|   forbiddenLicenses: null, | |||
|   flatten: false, | |||
|   proxy: undefined, | |||
|   prune: false, | |||
|   disableFallbackStore: false, | |||
|   workspacesMap: Map(0) {}, | |||
|   enableWorkspace: false, | |||
|   workspaceRoot: 'E:\\web\\xiangan_pc', | |||
|   isWorkspaceRoot: true, | |||
|   isWorkspacePackage: false, | |||
|   strictSSL: true, | |||
|   ignoreScripts: false, | |||
|   ignoreOptionalDependencies: false, | |||
|   detail: false, | |||
|   forceLinkLatest: false, | |||
|   trace: false, | |||
|   engineStrict: false, | |||
|   registryOnly: false, | |||
|   client: false, | |||
|   autoFixVersion: [Function: autoFixVersion] | |||
| } | |||
| @ -0,0 +1,319 @@ | |||
| <template> | |||
|   <div id="operation-record" style=" background: #fff; padding: 10px 20px 50px 20px;page-break-after:always"> | |||
|     <div v-if="!onlyRead && isPlatform" class="btnBox"> | |||
|       <el-button v-print="'#mraFunc'" size="small" @click="handleSaveTable">打印</el-button> | |||
|       <el-button type="primary" size="small" @click="handleSaveTable">保存</el-button> | |||
|       <el-button type="danger" size="small" @click="formDelete">删除</el-button> | |||
|     </div> | |||
|     <div id="mraFunc" style="width: 860px"> | |||
|       <div class="flex j-c"> | |||
|         <img width="450" src="@/assets/img/xianganlogo.png"> | |||
|       </div> | |||
|       <hr> | |||
|       <p style="color:#000000;font-size:32px;margin:0 0 30px 0;text-align:center;"> | |||
|         眼底血管造影患者预约单 | |||
|       </p> | |||
|       <div> | |||
|         眼底血管造影检查准备工作: | |||
|       </div> | |||
|       <table> | |||
|         <tr> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               患者姓名:<el-input v-model="formData.patientName" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               登记号:<el-input v-model="formData.patientId" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               出生日期:<el-input v-model="formData.patientBirthday" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               <div class="flex"> | |||
|                 年龄:<el-input v-model="formData.patientAge" style="flex: 1" /> | |||
|               </div> | |||
|               <div class="flex"> | |||
|                 性别:<el-input v-model="formData.patientSex" style="flex: 1" /> | |||
|               </div> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               造影项目:<el-input v-model="formData.project" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               <div class="flex"> | |||
|                 科室:<el-input v-model="formData.department" style="flex: 1" /> | |||
|               </div> | |||
|               <div class="flex"> | |||
|                 医生:<el-input v-model="formData.doctor" style="flex: 1" /> | |||
|               </div> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               视力: | |||
|               <div class="flex" style="flex: 1"> | |||
|                 VOD:<el-input v-model="formData.eyeVOD" style="flex: 1" /> | |||
|               </div> | |||
|               <div class="flex" style="flex: 1"> | |||
|                 VOS:<el-input v-model="formData.eyeVOS" style="flex: 1" /> | |||
|               </div> | |||
|             </div> | |||
|           </td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               主照眼:<el-input v-model="formData.lightEye" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               联系方式:<el-input v-model="formData.patientPhone" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               备注:<el-input v-model="formData.remark" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td> | |||
|             完善血常规、常规生化全套、心电图等检查 | |||
|             <div class="flex"> | |||
|               <div class="checkBox" @click="formData.yzOpen='Y'"> | |||
|                 <input type="checkbox" :checked="formData.yzOpen==='Y'">已开医嘱 | |||
|               </div> | |||
|               <div style="margin-left: 30px" class="checkBox" @click="formData.yzOpen='N'"> | |||
|                 <input type="checkbox" :checked="formData.yzOpen==='N'">未开医嘱 | |||
|               </div> | |||
|             </div> | |||
|           </td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               <div class="checkBox" @click="formData.isPrint='Y'"> | |||
|                 <input type="checkbox" :checked="formData.isPrint==='Y'">已打印 | |||
|               </div> | |||
|               <div style="margin-left: 30px" class="checkBox" @click="formData.isPrint='N'"> | |||
|                 <input type="checkbox" :checked="formData.isPrint==='N'">未打印 | |||
|               </div> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td> | |||
|             预约眼底血管造影检查时间 | |||
|           </td> | |||
|           <td> | |||
|             <el-date-picker | |||
|               v-model="formData.date" | |||
|               style="width: 100%" | |||
|               type="datetime" | |||
|             /> | |||
|           </td> | |||
|         </tr> | |||
|         <tr> | |||
|           <td>造影检查医嘱</td> | |||
|           <td> | |||
|             <div class="flex"> | |||
|               <div class="checkBox" @click="formData.checkAdvice='Y'"> | |||
|                 <input type="checkbox" :checked="formData.checkAdvice==='Y'">有 | |||
|               </div> | |||
|               <div class="checkBox" style="margin-left: 30px" @click="formData.checkAdvice='N'"> | |||
|                 <input type="checkbox" :checked="formData.checkAdvice==='N'">无 | |||
|               </div> | |||
|             </div> | |||
|             <div v-if="formData.checkAdvice==='Y'" class="flex"> | |||
|               备注:<el-input v-model="formData.docAdvice" style="flex: 1" /> | |||
|             </div> | |||
|           </td> | |||
|         </tr> | |||
|       </table> | |||
|       <div> | |||
|         <div v-for="(item,index) in context" :key="index"> | |||
|           <h4>{{ item.title }}</h4> | |||
|           <p v-for="(det,idx) in item.detail" :key="`${index}_${idx}`" class="context"> | |||
|             {{ `${idx+1}.${det}` }} | |||
|           </p> | |||
|         </div> | |||
|       </div> | |||
|     </div> | |||
|   </div> | |||
| </template> | |||
| 
 | |||
| <script> | |||
| export default { | |||
|   name: 'MraOrder', | |||
|   props: { | |||
|     onlyRead: { | |||
|       type: Boolean, | |||
|       default: false | |||
|     }, | |||
|     isPlatform: { | |||
|       type: Boolean, | |||
|       default: true | |||
|     }, | |||
|     patientDetail: { | |||
|       type: Object | |||
|     }, | |||
|     caseId: { | |||
|       type: String | |||
|     } | |||
|   }, | |||
|   data() { | |||
|     return { | |||
|       origin: '', | |||
|       formData: { | |||
|         patientName: '', | |||
|         patientAge: '', | |||
|         patientSex: '', | |||
|         patientId: '', | |||
|         patientBirthday: '', | |||
|         project: '', | |||
|         department: '', | |||
|         doctor: '', | |||
|         eyeVOD: '', | |||
|         eyeVOS: '', | |||
|         lightEye: '', | |||
|         patientPhone: '', | |||
|         remark: '', | |||
|         yzOpen: '', | |||
|         isPrint: '', | |||
|         date: '', | |||
|         checkAdvice: '', | |||
|         docAdvice: '' | |||
|       }, | |||
|       context: [ | |||
|         { | |||
|           title: '眼底血管造影检查前注意事项(请仔细阅读);', | |||
|           detail: [ | |||
|             '请主动告知医生您的身体情况、过敏史、全身疾病史;', | |||
|             '门诊患者:预约当日检查者可缴纳检查费用、取药且把药品交给护士(药物须避光保存)。预约其他时间检查者,于预约日期当日挂号、缴纳检查费用、取药且把药品交给护士(药物须避光保存);住院患者: 检查时将药品及其他用品带至门诊二楼眼科交给门诊护士(药物须避光保存);', | |||
|             '检查当日需家属陪同;', | |||
|             '避免空腹进行检查,饮食无特殊要求,建议尽量食用易消化的食物;', | |||
|             '检查当日控制全身病的各种药物正常服用;', | |||
|             '请穿着宽松上衣方便静脉注射;', | |||
|             '检查当日需测量血压、血糖、眼压;检查前患者须监测并控制好血糖血压。', | |||
|             '无散瞳禁忌症患者常规散瞳。' | |||
|           ] | |||
|         }, | |||
|         { | |||
|           title: '眼底血管造影检查后注意事项 (请仔细阅读):', | |||
|           detail: [ | |||
|             '检查后至少留观 30 分钟,周三造影,周四出报告;周四造影,下周一出报告。', | |||
|             '检查后当天适当多饮水(荧光素钠约 24 到 36 小时内大部分排空,皮肤、眼睛、尿液等发黄属正常现象,对身体无害);', | |||
|             '检查后当天勿直视强光、勿驾车、勿进行危险和精细作业;', | |||
|             '造影后乳汁颜色可能不发黄,但哺乳期妇女至少停止哺乳 24 小时并将乳汁弃置,如哺乳正接受光疗的新生儿,至少停止哺乳 72 小时 (乳汁的荧光素钠消除半衰期约为 62 小时);', | |||
|             '造影后 24 小时内避免行血清肌、总蛋白、皮质醇、地高辛、奎宁丁和甲状腺素,以及其他比色法测定的实验室检测,以免干扰检测结果;', | |||
|             '门诊患者回家后若出现其他不适症状请就近到医院就诊。' | |||
|           ] | |||
|         } | |||
| 
 | |||
|       ] | |||
|     } | |||
|   }, | |||
|   created() { | |||
|     console.log(this.patientDetail) | |||
|     this.origin = JSON.parse(JSON.stringify(this.formData)) | |||
|     // 患者信息带入 | |||
|     this.formData.patientName = this.patientDetail.patientName | |||
|     this.formData.patientAge = this.patientDetail.patientAge | |||
|     this.formData.patientSex = this.patientDetail.patientSex | |||
|     this.formData.patientId = this.patientDetail.patientId | |||
|     this.formData.patientBirthday = this.patientDetail.patientBirthday | |||
|     this.formData.patientPhone = this.patientDetail.patientPhone | |||
|   }, | |||
|   methods: { | |||
|     handleSaveTable() { | |||
|       this.$emit('handleSaveTable', this.formData) | |||
|     }, | |||
|     formDelete() { | |||
|       this.$confirmFun('确定删除吗?').then(() => { | |||
|         this.$http.post('/case/delete', { | |||
|           id: this.caseId | |||
|         }).then(() => { | |||
|           this.$message.success('删除成功') | |||
|           this.$emit('formDelete', 'del') | |||
|         }) | |||
|       }) | |||
|     } | |||
|   } | |||
| } | |||
| </script> | |||
| 
 | |||
| <style lang="scss" scoped> | |||
| .flex{ | |||
|   display: flex; | |||
| } | |||
| .a-c{ | |||
|   align-items: center; | |||
| } | |||
| .j-c{ | |||
|   justify-content: center; | |||
| } | |||
| .j-b{ | |||
|   justify-content: space-between; | |||
| } | |||
| .j-a{ | |||
|   justify-content: space-around; | |||
| } | |||
| input{ | |||
|   -webkit-appearance: checkbox !important; | |||
|   margin-right: 5px; | |||
| } | |||
| #mraFunc{ | |||
|   font-size: 16px; | |||
|   text-align: left; | |||
|   line-height: 30px; | |||
|   padding: 20px; | |||
| } | |||
| .item{ | |||
|   display: flex; | |||
|   align-items: center; | |||
|   &:not(:last-child){ | |||
|     margin-right: 20px; | |||
|   } | |||
| } | |||
| .context{ | |||
|   text-indent: 2em; | |||
| } | |||
| .btnBox{ | |||
|   display: flex; | |||
|   justify-content: flex-end; | |||
| } | |||
| ::v-deep .el-input__inner { | |||
|   border: none; | |||
|   height: 26px !important; | |||
|   line-height: 26px !important; | |||
|   text-align: center; | |||
|   border-bottom: 1px solid #ccc; | |||
|   border-radius: 0; | |||
|   padding: 0; | |||
| } | |||
| ::v-deep .el-input__prefix { | |||
|   display: none; | |||
| } | |||
| table tr td{ | |||
|   border: 1px solid #ccc; | |||
|   padding: 5px; | |||
| } | |||
| .checkBox{ | |||
|   cursor: pointer; | |||
| } | |||
| </style> | |||
					Loading…
					
					
				
		Reference in new issue