licp
2024-12-25 7e15a84f1f30803d32c12afe3f80ac24c12b2e46
修改历史记录按钮权限
已修改5个文件
42 ■■■■ 文件已修改
src/components/view/a7-sample-disposal.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/a7-sample-registration.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/a8-external-document-confirmation-records.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/a8-periodic-document-review-records.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/a7-sample-disposal.vue
@@ -8,7 +8,7 @@
    </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&&currentInfo.examineState!='通过'">新增</el-button>
        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&&currentInfo.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" />
@@ -300,17 +300,11 @@
            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: {},
@@ -336,7 +330,7 @@
      if(val1=='填写'){
        this.componentData0.do.forEach((item)=>{
          item.disabFun = (row, index) => {
            return !this.addPower||this.currentInfo.examineState=='通过'
            return !this.addPower||this.currentInfo.submitState=='已提交'
          }
        })
      }
src/components/view/a7-sample-registration.vue
@@ -5,7 +5,7 @@
    </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&&currentInfo.examineState!='通过'">新增</el-button>
        <el-button size="small" type="primary" @click="handleAdd0" style="margin-left: 20px;" v-if="addPower&&currentInfo.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" />
@@ -326,17 +326,11 @@
            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: {},
@@ -362,7 +356,7 @@
      if(val1=='填写'){
        this.componentData0.do.forEach((item)=>{
          item.disabFun = (row, index) => {
            return !this.addPower||this.currentInfo.examineState=='通过'
            return !this.addPower||this.currentInfo.submitState=='已提交'
          }
        })
      }
src/components/view/a8-external-document-confirmation-records.vue
@@ -142,17 +142,11 @@
            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: {},
src/components/view/a8-periodic-document-review-records.vue
@@ -188,19 +188,13 @@
          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:{
src/main.js
@@ -22,11 +22,11 @@
//本地
// 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";