Browse Source

修改页面表单

master
邓宏 2 years ago
parent
commit
d4f5a83ca7
  1. 3
      src/views/info.vue
  2. 56
      src/views/parameter.vue
  3. 1
      vite.config.js

3
src/views/info.vue

@ -41,10 +41,11 @@ import { inject, onMounted, ref } from "vue";
import request from '@/config/request'
var msg=inject("msg")
var router=inject('router')
var formData=ref({})
async function submit(){
var res=await request("/api/cellApi/cellBaseInfoAdd_",{
var res=await request("/api/cellApi/cellBaseInfoAdd",{
method:'post',
data: formData.value,
})

56
src/views/parameter.vue

@ -42,6 +42,7 @@
}
}
}
}
</style>
<template>
@ -58,7 +59,7 @@
</el-col>
<el-col :span="14">
<el-form-item label="核型">
<el-input placeholder="请输入"/>
<el-input placeholder="46,XY(GTG)"/>
</el-form-item>
</el-col>
<el-col :span="24">
@ -78,12 +79,12 @@
</el-col>
<el-col :span="7">
<el-form-item label-width="10px">
<el-input placeholder="请输入"/>
<el-input placeholder="细胞名称"/>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label-width="10px">
<el-input placeholder="请输入"/>
<el-input placeholder="EV分值"/>
</el-form-item>
</el-col>
</el-row>
@ -100,23 +101,7 @@
<el-button>上传文件</el-button>
</template>
</el-input>
<span class="example">示例文件</span>
</el-form-item>
</el-col>
<el-col class="title" :span="24">收获细胞数</el-col>
<el-col :span="10">
<el-form-item label="代数">
<el-select placeholder="请选择" style="width:100%;"></el-select>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="支数">
<el-input placeholder="请输入"/>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="每支细胞数">
<el-input placeholder="请输入"/>
<span class="example">示例表格</span>
</el-form-item>
</el-col>
</el-row>
@ -156,7 +141,10 @@
<el-col class="title" :span="24">骨分化能力</el-col>
<el-col :span="8">
<el-form-item label="茜素红染色值">
<el-input placeholder="请输入"/>
<el-radio-group>
<el-radio label="阴性"/>
<el-radio label="阳性"/>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
@ -178,7 +166,10 @@
<el-col class="title" :span="24">软骨分化能力</el-col>
<el-col :span="8">
<el-form-item label="阿辛蓝染色值">
<el-input placeholder="请输入"/>
<el-radio-group>
<el-radio label="阴性"/>
<el-radio label="阳性"/>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
@ -195,7 +186,10 @@
<el-col class="title" :span="24">脂肪分化能力</el-col>
<el-col :span="8">
<el-form-item label="油红“O”染色值">
<el-input placeholder="请输入"/>
<el-radio-group>
<el-radio label="阴性"/>
<el-radio label="阳性"/>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
@ -211,14 +205,6 @@
</el-row>
</el-form>
</div>
<div class="card">
<div class="title" data-title="杀瘤活性评估" />
<el-form>
<el-form-item label="骨分化特异基因表达量">
<el-input placeholder="待补充"/>
</el-form-item>
</el-form>
</div>
<div class="card">
<div class="title" data-title="免疫调控能力评估" />
<el-form>
@ -254,16 +240,10 @@
<el-input placeholder="请输入"/>
</el-form-item>
</el-col>
<el-col :span="24" class="title">软骨分化能力</el-col>
<el-col :span="24">
<el-form-item label="免疫调节能力">
<el-input placeholder="待补充"/>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<el-button>开始分析</el-button>
</template>
<script setup>

1
vite.config.js

@ -46,6 +46,7 @@ export default defineConfig({
},
server:{
port:8085,
host:"0.0.0.0",
strictPort:false, //端口被占用是不会退出,换新端口
open:true, // 自动打开页面
proxy:{

Loading…
Cancel
Save