jiangping
2025-02-26 21ffb032824db3c392f63d318d36efee33326b80
admin/src/views/business/visits.vue
@@ -96,6 +96,7 @@
              icon="el-icon-edit" v-if="row.status == 6">重新下发</el-button>
            <!-- <el-button type="text" @click="$refs.OperaVisitsDesWindow.open('详情', row.id)" icon="el-icon-view">详情</el-button> -->
            <el-button type="text" @click="handleDetail(row)" icon="el-icon-view">详情</el-button>
            <el-button  type="text"  icon="el-icon-delete" @click="deleteById(row)" style="color: red" v-permissions="['business:visits:delete']">删除</el-button>
            <!--                        <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:visits:delete']">查询审批结果</el-button>-->
          </template>
        </el-table-column>
@@ -164,15 +165,16 @@
      })
    },
    departure(id) {
      this.$confirm('确定离厂吗, 是否继续?', '提示', {
      this.$confirm('确定进行离场操作吗,该操作不可逆请谨慎操作, 是否继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        level(id)
        this.api.level(id)
          .then(res => {
            this.$message.success('操作成功')
            this.page = 1
            this.getData()
            this.search()
          })
      }).catch(() => {
@@ -184,10 +186,10 @@
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        visitCancel(id)
        this.api.visitCancel(id)
          .then(res => {
            this.page = 1
            this.getData()
            this.search()
          })
      }).catch(() => {
@@ -202,7 +204,7 @@
        this.api.visitResend(id)
          .then(res => {
            this.page = 1
            this.getData()
            this.search()
          })
      }).catch(() => {