11
heimawl
2023-08-01 40df27ac2743083ed196d4cc91d285716a3fb660
11
已添加1个文件
已修改5个文件
325 ■■■■■ 文件已修改
src/views/followvisit/record/detailpage/index.vue 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/shortmessage/messagebank/index.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/label/index.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/module/Editinterface.vue 255 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tool/module/classifythreea.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/followvisit/record/detailpage/index.vue
@@ -15,7 +15,23 @@
          <span class="mulsz" slot="label"
            ><i class="el-icon-headset"></i> è¯­éŸ³è¯¦æƒ…1</span
          >
          <div class="borderdiv">语音详情1</div>
          <div class="borderdiv">
            <div>
              <div class="leftside">
                <i class="el-icon-phone-outline"></i><span>说撒啊小说</span>
              </div>
              <div class="offside">
                <i class="el-icon-user"></i>
                <div class="offside-value">
                  <el-input v-model="input"></el-input>
                  <el-radio v-model="radio" label="1">备选项</el-radio>
                  <el-radio v-model="radio" label="2">备选项2</el-radio>
                  <el-radio v-model="radio" label="3">备选项3</el-radio>
                  <el-radio v-model="radio" label="4">备选项4</el-radio>
                </div>
              </div>
            </div>
          </div>
        </el-tab-pane>
        <el-tab-pane>
          <span class="mulsz" slot="label"
@@ -56,6 +72,8 @@
    return {
      radio: "1",
      userid: "",
      input: "",
      radio: "2",
    };
  },
@@ -83,6 +101,33 @@
}
.borderdiv {
  min-height: 60vh;
  font-size: 20px;
  padding: 30px;
  .leftside {
    margin-bottom: 30px;
    span {
      width: 400px;
      margin-left: 20px;
      padding: 10px;
      color: #fff;
      background: rgb(110, 196, 247);
      border-radius: 10px;
    }
  }
  .offside {
    display: flex;
    flex-direction: row-reverse;
    .offside-value {
      padding: 10px;
      background: rgb(217, 173, 253);
      border-radius: 10px;
      color: #fff;
      margin-right: 20px;
    }
  }
}
::v-deep.offside-value .el-radio__label {
  color: #fff;
}
.mulsz {
  font-size: 25px;
src/views/shortmessage/messagebank/index.vue
@@ -2,7 +2,9 @@
  <div class="Questionnairemanagement">
    <!-- å·¦ä¾§æ  -->
    <div class="sidecolumn">
      <div class="notebuttom"><i class="el-icon-chat-dot-square" />发短信</div>
      <div class="notebuttom" @click="handleAdd">
        <i class="el-icon-chat-dot-square" />发短信
      </div>
      <el-divider></el-divider>
      <div class="notestate">
        <div class="state-text">短信状态</div>
@@ -17,21 +19,25 @@
          :class="classestag == 2 ? 'state-lines' : 'state-line'"
          @click="succeedfn"
        >
          <div class="value-left"><i class="el-icon-s-claim" />发送成功</div>
          <div class="value-left">
            <i class="el-icon-circle-check" />发送成功
          </div>
          <div class="quantitycg">22</div>
        </div>
        <div
          :class="classestag == 3 ? 'state-lines' : 'state-line'"
          @click="losefn"
        >
          <div class="value-left"><i class="el-icon-warning" />发送失败</div>
          <div class="value-left">
            <i class="el-icon-warning-outline" />发送失败
          </div>
          <div class="quantitysb">22</div>
        </div>
        <div
          :class="classestag == 4 ? 'state-lines' : 'state-line'"
          @click="awaitfn"
        >
          <div class="value-left"><i class="el-icon-s-comment" />待发送</div>
          <div class="value-left"><i class="el-icon-s-help" />待发送</div>
          <div class="quantityd">22</div>
        </div>
      </div>
@@ -651,6 +657,7 @@
        console.log(this.userList);
      });
    },
    // const { pageNum, pageSize, ...params } = this.queryParams;
    submitsidecolumn() {},
    deletefenlei() {},
    // ä¾¿æ·æ ‡ç­¾
@@ -817,6 +824,7 @@
      align-items: center;
      padding: 10px 10px;
      background: #88abfc;
      color: #fff;
      cursor: pointer;
      justify-content: space-between;
    }
src/views/system/label/index.vue
@@ -637,7 +637,7 @@
    // æ ‡ç­¾çŠ¶æ€ä¿®æ”¹
    handleStatusChange(row) {
      console.log(row.isupload);
      let text = row.isupload === "0" ? "启用" : "停用";
      let text = row.isupload == 0 ? "停用" : "启用";
      this.$modal
        .confirm('确认要"' + text + '""' + row.tagname + '"标签吗?')
        .then(function () {
@@ -647,7 +647,7 @@
          this.$modal.msgSuccess(text + "成功");
        })
        .catch(function () {
          row.isupload = row.isupload === "0" ? "1" : "0";
          row.isupload = row.isupload == 0 ? 1 : 0;
        });
    },
    /** æœç´¢æŒ‰é’®æ“ä½œ */
src/views/tool/module/Editinterface.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,255 @@
<template>
  <div class="Questionnairemanagement">
    <!-- å·¦ä¾§æ  -->
    <div class="sidecolumn">
      <el-input placeholder="输入关键字进行过滤" v-model="filterText">
      </el-input>
      <el-tree
        class="filter-tree"
        :data="data"
        :props="defaultProps"
        default-expand-all
        :filter-node-method="filterNode"
        ref="tree"
      >
        <span class="custom-tree-node" slot-scope="{ node, data }">
          <span>{{ node.label }}</span>
          <span>
            <el-button type="text" size="mini" @click="() => append(data)">
              æ–°å¢žå­çº§
            </el-button>
            <el-button
              type="text"
              size="mini"
              @click="() => remove(node, data)"
            >
              åˆ é™¤
            </el-button>
          </span>
        </span>
      </el-tree>
    </div>
    <!-- ä¸­éƒ¨æ•°æ® -->
    <div class="leftvlue">
      <div class="compile" v-for="item in list">
        <div class="compile-title">
          {{ item.name }}: <span>{{ item.uapiurl }}</span>
        </div>
        <div class="compile-value">
          <div class="compile-min" v-for="itea in item.value">
            <div>
              <el-input v-model="itea.value" placeholder="入参注解"></el-input>
            </div>
            <div>
              <el-input v-model="itea.name" placeholder="入参名"></el-input>
            </div>
            <div @click="drawer = true">展开下级</div>
          </div>
        </div>
      </div>
    </div>
    <el-drawer
      title="我是二级"
      direction="btt"
      :visible.sync="drawer"
      :with-header="false"
    >
      <div class="compile-value">
        <div class="compile-min" v-for="itea in 6">
          <div>
            <el-input v-model="input" placeholder="入参注解"></el-input>
          </div>
          <div>
            <el-input v-model="inputs" placeholder="入参名"></el-input>
          </div>
        </div>
      </div>
    </el-drawer>
  </div>
</template>
<script>
let id = 1000;
export default {
  name: "Editinterface",
  watch: {
    filterText(val) {
      this.$refs.tree.filter(val);
    },
  },
  data() {
    const data = [
      {
        id: 1,
        label: "患者服务中心",
        children: [
          {
            id: 4,
            label: "患者列表",
          },
          {
            id: 21,
            label: "患者服务",
          },
        ],
      },
      {
        id: 2,
        label: "一级 2",
        children: [
          {
            id: 5,
            label: "二级 2-1",
          },
          {
            id: 6,
            label: "二级 2-2",
          },
        ],
      },
      {
        id: 3,
        label: "一级 3",
        children: [
          {
            id: 7,
            label: "二级 3-1",
          },
          {
            id: 8,
            label: "二级 3-2",
          },
        ],
      },
    ];
    return {
      drawer: false,
      input: "",
      inputs: "",
      // æŸ¥è¯¢å‚æ•°
      queryParams: {},
      currentRow: null, //选中行数据
      filterText: "",
      data: JSON.parse(JSON.stringify(data)),
      data: JSON.parse(JSON.stringify(data)),
      defaultProps: {
        children: "children",
        label: "label",
      },
      list: [
        {
          id: "23",
          name: "获取患者列表",
          uapiurl: "http://api",
          value: [
            { name: "children", value: "注解" },
            { name: "childrenone", value: "注解一" },
            { name: "childrentwo", value: "注解二" },
            { name: "childrenthree", value: "注解三" },
          ],
        },
        {
          id: "13",
          name: "获取患者详情",
          uapiurl: "http://api/xqq",
          value: [
            { name: "children", value: "注解" },
            { name: "childrenone", value: "注解一" },
            { name: "childrentwo", value: "注解二" },
            { name: "childrenthree", value: "注解三" },
            { name: "childrenthree", value: "注解四" },
          ],
        },
      ],
    };
  },
  watch: {},
  created() {},
  methods: {
    filterNode(value, data) {
      if (!value) return true;
      return data.label.indexOf(value) !== -1;
    },
    append(data) {
      const newChild = { id: id++, label: "子级", children: [] };
      if (!data.children) {
        this.$set(data, "children", []);
      }
      data.children.push(newChild);
    },
    remove(node, data) {
      const parent = node.parent;
      const children = parent.data.children || parent.data;
      const index = children.findIndex((d) => d.id === data.id);
      children.splice(index, 1);
    },
  },
};
</script>
<style lang="scss" scoped>
.Questionnairemanagement {
  display: flex;
}
.sidecolumn {
  width: 300px;
  min-height: 100vh;
  text-align: center;
  //   display: flex;
  margin-top: 20px;
  margin: 20px;
  padding: 10px;
  background: #edf1f7;
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
}
::v-deep .sidecolumn .el-tree {
  margin-top: 30px;
  background: none;
}
.leftvlue {
  //   display: flex;
  //   flex: 1;
  width: 80%;
  margin-top: 20px;
  //   margin: 20px;
  padding: 30px;
  background: #ffff;
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
  .compile {
    border: 1px solid #dcdfe6;
    padding: 15px;
    margin-top: 10px;
  }
}
.compile-value {
  display: flex;
  margin-top: 10px;
  .compile-min {
    border: 1px solid #dcdfe6;
    width: 150px;
    div {
      padding: 5px;
      text-align: center;
    }
  }
}
.compile-min div:nth-child(3) {
  padding: 0;
  margin: 5px;
  background: bisque;
  border-radius: 3px;
}
</style>
src/views/tool/module/classifythreea.vue
@@ -313,6 +313,8 @@
        </el-row>
      </div>
      <el-divider></el-divider>
      <div>
        <h5>二号表</h5>
        <el-row :gutter="10" class="mb8">
vue.config.js
@@ -37,6 +37,7 @@
      [process.env.VUE_APP_BASE_API]: {
        target1: `http://192.168.1.4:8080`,
        target: `http://192.168.1.4:8080`,
        // target: `http://www.hxsoft.com:8080`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''