coys 1 an în urmă
părinte
comite
a6f782f85a

+ 2 - 2
.env.development

@@ -15,9 +15,9 @@ ENV = 'development'
 #VUE_APP_BASE_API = 'http://10.87.11.94:8080'
 #景远超
 # VUE_APP_BASE_API = 'http://10.87.11.173:8080'
-VUE_APP_BASE_API = 'http://localhost:8080'
+# VUE_APP_BASE_API = 'http://localhost:8080'
 # 55环境
-# VUE_APP_BASE_API = 'http://10.87.21.103:8080'
+VUE_APP_BASE_API = 'http://10.87.21.103:8080'
 
 # 路由懒加载
 VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 0 - 35
build/index.js

@@ -1,35 +0,0 @@
-const { run } = require('runjs')
-const chalk = require('chalk')
-const config = require('../vue.config.js')
-const rawArgv = process.argv.slice(2)
-const args = rawArgv.join(' ')
-
-if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
-  const report = rawArgv.includes('--report')
-
-  run(`vue-cli-service build ${args}`)
-
-  const port = 8080
-  const publicPath = config.publicPath
-
-  var connect = require('connect')
-  var serveStatic = require('serve-static')
-  const app = connect()
-
-  app.use(
-    publicPath,
-    serveStatic('./dist', {
-      index: ['index.html', '/']
-    })
-  )
-
-  app.listen(port, function () {
-    console.log(chalk.green(`> Preview at  http://localhost:${port}${publicPath}`))
-    if (report) {
-      console.log(chalk.green(`> Report at  http://localhost:${port}${publicPath}report.html`))
-    }
-
-  })
-} else {
-  run(`vue-cli-service build ${args}`)
-}

+ 1 - 1
src/views/evaluationRule/editEvaluationRuleDialog.vue

@@ -5,7 +5,7 @@
       :title="`${id ? '编辑' : '新增'}评价规则`"
       :visible.sync="isShow"
       width="900px"
-      destroy-on-close
+   
     >
       <div class="page-body">
         <el-form

+ 1 - 1
src/views/resumptionEvaluate/evaluate/addEvaluate.vue

@@ -28,7 +28,7 @@
           </el-select>
         </el-form-item>
         <el-form-item label="编号" prop="code">
-          <el-input v-model.number="ruleForm.code"></el-input>
+          <el-input v-model.number="ruleForm.code" maxlength="15"></el-input>
         </el-form-item>
         <el-form-item label="评价内容" prop="content">
           <el-input type="textarea" v-model="ruleForm.content"></el-input>

+ 2 - 1
src/views/resumptionEvaluate/evaluate/editDialog.vue

@@ -5,6 +5,7 @@
       :title="`${id ? '编辑' : '新增'}外包履职评价计划`"
       :visible.sync="isShow"
       width="1500px"
+     
     >
       <div class="page-body">
         <el-form
@@ -223,7 +224,7 @@ export default {
     onSelect(form) {
       let isAdd = false;
       let falg = false;
-      this.tableData?.forEach((item) => {
+      this.tableData.forEach((item) => {
         if (item.uid == form.uid) {
           Object.assign(item, form);
         } else {