| | |
| | | </el-row> |
| | | <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="tabClick"> |
| | | <el-tab-pane label="填写" name="填写" style="height: 100%;" :key="1"> |
| | | <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&¤tInfo.examineState!='通过'">新增</el-button> |
| | | <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&¤tInfo.submitState!='已提交'">新增</el-button> |
| | | <div class="table" style="height: calc(100% - 200px)" v-if="activeName=='填写'"> |
| | | <ValueTable ref="ValueTable0" :url="$api.processTotaldeal.pageProcessDeal" |
| | | :componentData="componentData0" :key="upIndex0" :delUrl="$api.processTotaldeal.delProcessDeal" /> |
| | |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'handleAdd0', |
| | | disabFun: (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | },{ |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | disabFun: (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | }], |
| | | tagField: {}, |
| | | selectField: {}, |
| | |
| | | if(val1=='填写'){ |
| | | this.componentData0.do.forEach((item)=>{ |
| | | item.disabFun = (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | return !this.addPower||this.currentInfo.submitState=='已提交' |
| | | } |
| | | }) |
| | | } |
| | |
| | | </el-row> |
| | | <el-tabs type="border-card" v-model="activeName" style="height: 100%;" @tab-click="tabClick"> |
| | | <el-tab-pane label="填写" name="填写" style="height: 100%;" :key="1"> |
| | | <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&¤tInfo.examineState!='通过'">新增</el-button> |
| | | <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&¤tInfo.submitState!='已提交'">新增</el-button> |
| | | <div class="table" style="height: calc(100% - 200px)" v-if="activeName=='填写'"> |
| | | <ValueTable ref="ValueTable0" :url="$api.processSample.pageProcessSample" |
| | | :componentData="componentData0" :key="upIndex0" :delUrl="$api.processSample.delProcessSample" /> |
| | |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'handleAdd0', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | },{ |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | } |
| | | }], |
| | | tagField: {}, |
| | | selectField: {}, |
| | |
| | | if(val1=='填写'){ |
| | | this.componentData0.do.forEach((item)=>{ |
| | | item.disabFun = (row, index) => { |
| | | return !this.addPower||this.currentInfo.examineState=='通过' |
| | | return !this.addPower||this.currentInfo.submitState=='已提交' |
| | | } |
| | | }) |
| | | } |
| | |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | },{ |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | }], |
| | | tagField: {}, |
| | | selectField: {}, |
| | |
| | | id: 'delete', |
| | | font: '删除', |
| | | type: 'text', |
| | | method: 'doDiy', |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | method: 'doDiy' |
| | | }, { |
| | | id: 'handleEdit', |
| | | font: '修改', |
| | | type: 'text', |
| | | method: 'handleEdit', |
| | | field:[], |
| | | disabFun:(row, index) => { |
| | | return !this.addPower||!!this.currentInfo.ratifyUserName |
| | | } |
| | | field:[] |
| | | }], |
| | | tagField: { |
| | | // documentType:{ |
| | |
| | | //本地 |
| | | // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; |
| | | // const javaApi = 'http://127.0.0.1:8001'; |
| | | const javaApi = 'http://172.20.10.5:8001'; |
| | | // const javaApi = 'http://172.20.10.5:8001'; |
| | | |
| | | //通信测试库 |
| | | // Vue.prototype.LOCATIONVUE = "http://10.1.13.77:8080"; |
| | | // const javaApi = 'http://10.1.13.77:8001'; |
| | | Vue.prototype.LOCATIONVUE = "http://10.1.13.77:8080"; |
| | | const javaApi = 'http://10.1.13.77:8001'; |
| | | |
| | | // 通信正式库 |
| | | // Vue.prototype.LOCATIONVUE = "https://ztwxlims.ztt.cn:7443"; |