Ver código fonte

添加字典,功能修改

lucw 8 meses atrás
pai
commit
201c326e14

+ 3 - 1
src/enum/dict.js

@@ -90,7 +90,9 @@ export default {
   商品价格类型: 'goods_price_type',
   文档类型: 'doc_type',
   物品机型: 'product_model_key',
-  物品颜色: 'product_color_key'
+  物品颜色: 'product_color_key',
+  检查有效期单位: 'validity_unit',
+  记录规则类型: 'record_sheet'
 };
 
 export const numberList = [

+ 2 - 1
src/views/bpm/handleTask/components/mesBatchRecordManage/detailDialog.vue

@@ -1,5 +1,5 @@
 <template>
-  <div style="margin-top: 20px">
+  <div style="margin-top: 10px; padding: 0 20px">
     <el-form
       v-if="details"
       ref="formRef"
@@ -515,6 +515,7 @@
           this.loading = true;
           const data = await getById(id);
           console.log('data 详情数据', data);
+          data.recordRulesClassify = data.recordRulesClassify + '';
           this.details = data;
           this.loading = false;
         } catch (error) {

+ 2 - 2
vue.config.js

@@ -40,9 +40,9 @@ module.exports = {
         // target: 'http://192.168.1.105:18086',
 
         // target: 'http://192.168.1.251:18186',
-        target: 'http://192.168.1.125:18086',
+        // target: 'http://192.168.1.125:18086',
 
-        // target: 'http://192.168.1.251:18086',
+        target: 'http://192.168.1.251:18086',
 
         changeOrigin: true, // 只有这个值为true的情况下 s才表示开启跨域
         pathRewrite: {