src/views/quality/teststandard/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/teststandard/standard-form.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
vue.config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/quality/teststandard/index.vue
@@ -501,6 +501,7 @@ if (!this.currentTestStandard) { return true } console.log('99999999999', this.currentTestStandard) if ( this.currentTestStandard.id && this.currentTestStandard.state === '01draft' @@ -866,14 +867,16 @@ dataFormTestStandardParam() { this.isSubmit = true if (this.testStandardParams.length > 0) { this.testStandardParams.map(m=>{ if(m.referenceValue !== undefined) { m.referenceValue = m.referenceValue.replace(',',',').replace('(','(').replace(')',')') return m for(let standardParam in this.testStandardParams) { let value = this.testStandardParams[standardParam].referenceValue if( value !== undefined) { value = value.replace(',',',').replace('(','(').replace(')',')') } else{ this.$message.warning('要求范围没有填写!') this.isSubmit = false return; } }) } addTestStandardParam(this.testStandardParams) .then((response) => { this.$message.success('检测标准参数保存成功') src/views/quality/teststandard/standard-form.vue
@@ -93,12 +93,18 @@ </el-form> <span slot="footer" class="dialog-footer"> <el-button @click="visible = false">取消</el-button> <el-button <!-- <el-button type="primary" :disabled="isSubmit" v-thinclick="`dataFormSubmit`" v-if="editable" >确定</el-button > --> <el-button type="primary" :disabled="isSubmit" v-thinclick="`dataFormSubmit`" >确定</el-button > </span> <operationDialog vue.config.js
@@ -1,3 +1,11 @@ /*** * @Author licp lichunping@guanfang.com.cn * @Date 2024-04-12 14:16:06 * @LastEditors licp lichunping@guanfang.com.cn * @LastEditTime 2024-04-24 18:03:40 * @FilePath \mes-ocea-before\vue.config.js * @Description 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ /** * 配置参考: * https://cli.vuejs.org/zh/config/ @@ -5,8 +13,8 @@ // const url = 'https://ztms-mes.chinaztt.cn/' const url = 'http://localhost:9999' const url = 'https://ztms-mes.chinaztt.cn/' // const url = 'http://localhost:9999' // const url = 'http://192.168.32.45:9999'