Qx
qx
2025-04-21 92907f6f6926077ef2a54cb1d2fbd4538c52b910
Qx
3个文件已修改
22 ■■■■■ 已修改文件
src/main.js 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/order/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js
@@ -98,6 +98,22 @@
Vue.config.productionTip = false;
let lastVersion = localStorage.getItem('appVersion');
const checkVersion = async () => {
  const res = await axios.get('/api/version'); // 返回当前版本号
  if (res.data.version !== lastVersion) {
    localStorage.setItem('appVersion', res.data.version);
    // ElMessageBox.confirm('检测到新版本,是否刷新?', '提示', {
    //   confirmButtonText: '刷新',
    // }).then(() => {
      window.location.reload(true); // 强制刷新
    // });
  }
};
// 定时检查(如每小时一次)
setInterval(checkVersion, 60 * 60 * 1000);
new Vue({
  el: "#app",
  router,
src/views/hosp/order/index.vue
@@ -68,7 +68,7 @@
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport" :disabled="single"
        <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport" :disabled="singles"
          v-hasPermi="['hosp:order:export']">导出</el-button>
      </el-col>
@@ -1039,6 +1039,7 @@
      dataObj: {},
      // 非单个禁用
      single: true,
      singles: false,
      activeNames: "first",
      // 非多个禁用
      multiple: true,
@@ -1636,6 +1637,7 @@
      this.ids = selection.map((item) => item.orderId);
      this.single = selection.length !== 1;
      this.singles= selection.length !== 1;
      this.multiple = !selection.length;
      if (tjNUms.length > 0) {
        shijianzhou(tjNUms).then((res) => {
src/views/system/tijian/index.vue
@@ -2941,7 +2941,7 @@
        if (this.tableData1) {
          this.tableData1.forEach((item) => {
            if (typeof item.nowPrice  === 'number') {
              item.nowPrice  = Number(item.nowPrice.toFixed(2));
              item.nowPrice  = Number(item.nowPrice.toFixed(3));
          }
            if (item.tjCategory != null) {
              this.tjCategory = item.tjCategory;