|
@@ -10,11 +10,16 @@
|
|
|
width: 100%;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
+ .c_red{
|
|
|
+ color: red;
|
|
|
+ font-size: 12px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
.inp_gl{
|
|
|
/deep/.el-select__tags-text {
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
- max-width: 82px !important;
|
|
|
+ max-width: 78px !important;
|
|
|
}
|
|
|
}
|
|
|
.el-form-item.is-success{
|
|
@@ -649,6 +654,33 @@ export default {
|
|
|
this.isRedMsg[index]=false
|
|
|
}
|
|
|
},
|
|
|
+ getStaicTypes(val,row,ind){
|
|
|
+ let param={
|
|
|
+ inputStr: val,
|
|
|
+ types: [9]
|
|
|
+ }
|
|
|
+ if (val == '') {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (val){
|
|
|
+ api.getStaicTypes(param).then((res) => {
|
|
|
+ if (res.data.code == 0) {
|
|
|
+ this.$set(row,'ruleStaticList',res.data.data)
|
|
|
+ this.$forceUpdate()
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ message: res.data.msg,
|
|
|
+ type: "warning",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ changeValue1(val,row,ind){
|
|
|
+ if(row.ruleStatic.length==0){
|
|
|
+ this.$set(row,'ruleStaticList',[])
|
|
|
+ }
|
|
|
+ },
|
|
|
setScrollRight() {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.table.bodyWrapper.scrollLeft =
|