Browse Source

质量分析增加功能

master
songguoqiang 12 months ago
parent
commit
30c7993de6
  1. 4
      .env.development
  2. 8
      src/views/tjanalysis/zlanalysis/index.vue

4
.env.development

@ -7,8 +7,8 @@ VITE_DEV=false
VITE_BASE_URL='http://localhost:12080' VITE_BASE_URL='http://localhost:12080'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://localhost:12080/admin-api/spc/template-item-details/upload' #VITE_UPLOAD_URL='http://localhost:12080/admin-api/spc/template-item-details/upload'
#VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH=/dev-api VITE_API_BASEPATH=/dev-api

8
src/views/tjanalysis/zlanalysis/index.vue

@ -59,6 +59,7 @@
placeholder="请选择行号类型" placeholder="请选择行号类型"
clearable clearable
style="width: 100%" style="width: 100%"
@change="lineNumberChange"
> >
<el-option v-for="lines in lineNumberList" :key="lines.lineNumber" :label="lines.name" :value="lines.lineNumber" /> <el-option v-for="lines in lineNumberList" :key="lines.lineNumber" :label="lines.name" :value="lines.lineNumber" />
</el-select> </el-select>
@ -113,8 +114,8 @@
<div class="cpk-item-label"><span>检测内容</span> <span>{{ datas.tzrv != null? datas.tzrv.detectionItemContents : '' }}</span></div> <div class="cpk-item-label"><span>检测内容</span> <span>{{ datas.tzrv != null? datas.tzrv.detectionItemContents : '' }}</span></div>
</div> </div>
<div class="cpk-item-2"> <div class="cpk-item-2">
<div class="cpk-item-label"><span>公差下限</span> <span>{{ datas.tzrv != null? datas.tzrv.detectionItemDownLimt : '' }}</span></div>
<div class="cpk-item-label"><span>公差上限</span> <span>{{ datas.tzrv != null? datas.tzrv.detectionItemUpLimit : '' }}</span></div> <div class="cpk-item-label"><span>公差上限</span> <span>{{ datas.tzrv != null? datas.tzrv.detectionItemUpLimit : '' }}</span></div>
<div class="cpk-item-label"><span>公差下限</span> <span>{{ datas.tzrv != null? datas.tzrv.detectionItemDownLimt : '' }}</span></div>
</div> </div>
<div class="cpk-item-2"> <div class="cpk-item-2">
<div class="cpk-item-label"><span>X中值</span> <span>{{ datas.tzrv != null? datas.tzrv.xavg : '' }}</span></div> <div class="cpk-item-label"><span>X中值</span> <span>{{ datas.tzrv != null? datas.tzrv.xavg : '' }}</span></div>
@ -522,6 +523,11 @@ const deItemChange = async(value)=> {
initData() initData()
} }
const lineNumberChange = async(value)=> {
queryParams.lineNumber = value
initData()
}
const deDateChange = async (value) => { const deDateChange = async (value) => {
initData() initData()
} }

Loading…
Cancel
Save