|
@@ -319,6 +319,16 @@ const state = reactive({
|
|
|
dialogVisible: false,
|
|
|
});
|
|
|
|
|
|
+// :style="showSty(scope, '_count')"
|
|
|
+// :style="showSty(scope, '_time')"
|
|
|
+
|
|
|
+const showSty = (scope, type) =>{
|
|
|
+ let str = ""
|
|
|
+ let num = (Math.ceil(scope.row[`${item.code}${type}`]) /
|
|
|
+ Math.ceil(scope.column.realWidth))*100
|
|
|
+ return str = "width:" + num + 'px'
|
|
|
+}
|
|
|
+
|
|
|
const changeType = async (value) => {
|
|
|
state.typeVal = value;
|
|
|
state.tHeard = [];
|